0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
0e
/
6a
/
8d
/
[
Home
]
Name File: 0e6a8d2d66692f721217aaa245a9517d8b76928f.file.scenes.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:18:08 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/scenes.tpl" */ ?> <?php /*%%SmartyHeaderCode:103229854351ee6670224a46-95084619%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '0e6a8d2d66692f721217aaa245a9517d8b76928f' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/scenes.tpl', 1 => 1369705038, 2 => 'file', ), ), 'nocache_hash' => '103229854351ee6670224a46-95084619', 'function' => array ( ), 'variables' => array ( 'thumbSceneImageType' => 0, 'js_dir' => 0, 'scenes' => 0, 'scene' => 0, 'base_dir' => 0, 'largeSceneImageType' => 0, 'product' => 0, 'scene_key' => 0, 'product_key' => 0, 'PS_CATALOG_MODE' => 0, 'priceDisplay' => 0, 'imageIds' => 0, 'link' => 0, 'mediumSize' => 0, 'content_dir' => 0, 'thumbSceneSize' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee667048fb48_89099956', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee667048fb48_89099956')) {function content_51ee667048fb48_89099956($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_escape')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/modifier.escape.php'; if (!is_callable('smarty_function_math')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/function.math.php'; ?> <?php if ('scenes'){?> <script type="text/javascript" src="<?php echo @constant('_PS_JS_DIR_');?> jquery/plugins/cluetip/jquery.cluetip.js"></script> <script type="text/javascript" src="<?php echo @constant('_PS_JS_DIR_');?> jquery/plugins/jquery.scrollTo.js"></script> <script type="text/javascript" src="<?php echo @constant('_PS_JS_DIR_');?> jquery/plugins/jquery.serialScroll.js"></script> <script type="text/javascript">// <![CDATA[ i18n_scene_close = '<?php echo smartyTranslate(array('s'=>'Close','js'=>1),$_smarty_tpl);?> '; $(function () { li_width = parseInt(<?php echo $_smarty_tpl->tpl_vars['thumbSceneImageType']->value['width'];?> + 10); }); //]]></script> <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['js_dir']->value;?> scenes.js"></script> <div id="scenes"> <div> <?php $_smarty_tpl->tpl_vars['scene'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['scene']->_loop = false; $_smarty_tpl->tpl_vars['scene_key'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['scenes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['scene']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['scene']->iteration=0; $_smarty_tpl->tpl_vars['scene']->index=-1; foreach ($_from as $_smarty_tpl->tpl_vars['scene']->key => $_smarty_tpl->tpl_vars['scene']->value){ $_smarty_tpl->tpl_vars['scene']->_loop = true; $_smarty_tpl->tpl_vars['scene_key']->value = $_smarty_tpl->tpl_vars['scene']->key; $_smarty_tpl->tpl_vars['scene']->iteration++; $_smarty_tpl->tpl_vars['scene']->index++; $_smarty_tpl->tpl_vars['scene']->first = $_smarty_tpl->tpl_vars['scene']->index === 0; $_smarty_tpl->tpl_vars['scene']->last = $_smarty_tpl->tpl_vars['scene']->iteration === $_smarty_tpl->tpl_vars['scene']->total; ?> <div class="screen_scene" id="screen_scene_<?php echo $_smarty_tpl->tpl_vars['scene']->value->id;?> " style="background:transparent url(<?php echo $_smarty_tpl->tpl_vars['base_dir']->value;?> img/scenes/<?php echo $_smarty_tpl->tpl_vars['scene']->value->id;?> -scene_default.jpg); height:<?php echo $_smarty_tpl->tpl_vars['largeSceneImageType']->value['height'];?> px; width:<?php echo $_smarty_tpl->tpl_vars['largeSceneImageType']->value['width'];?> px; <?php if (!$_smarty_tpl->tpl_vars['scene']->first){?> display:none;<?php }?>"> <?php $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false; $_smarty_tpl->tpl_vars['product_key'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['scene']->value->products; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value){ $_smarty_tpl->tpl_vars['product']->_loop = true; $_smarty_tpl->tpl_vars['product_key']->value = $_smarty_tpl->tpl_vars['product']->key; ?> <?php $_smarty_tpl->tpl_vars['imageIds'] = new Smarty_variable(((string)$_smarty_tpl->tpl_vars['product']->value['id_product'])."-".((string)$_smarty_tpl->tpl_vars['product']->value['id_image']), null, 0);?> <a href="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['product']->value['link'], 'htmlall', 'UTF-8');?> " accesskey="#scene_products_cluetip_<?php echo $_smarty_tpl->tpl_vars['scene_key']->value;?> _<?php echo $_smarty_tpl->tpl_vars['product_key']->value;?> _<?php echo $_smarty_tpl->tpl_vars['product']->value['id_product'];?> " class="cluetip" style="width:<?php echo $_smarty_tpl->tpl_vars['product']->value['zone_width'];?> px; height:<?php echo $_smarty_tpl->tpl_vars['product']->value['zone_height'];?> px; margin-left:<?php echo $_smarty_tpl->tpl_vars['product']->value['x_axis'];?> px ;margin-top:<?php echo $_smarty_tpl->tpl_vars['product']->value['y_axis'];?> px;"> <span style="margin-top:<?php echo smarty_function_math(array('equation'=>'a/2 -10','a'=>$_smarty_tpl->tpl_vars['product']->value['zone_height']),$_smarty_tpl);?> px; margin-left:<?php echo smarty_function_math(array('equation'=>'a/2 -10','a'=>$_smarty_tpl->tpl_vars['product']->value['zone_width']),$_smarty_tpl);?> px;"> </span> </a> <div id="scene_products_cluetip_<?php echo $_smarty_tpl->tpl_vars['scene_key']->value;?> _<?php echo $_smarty_tpl->tpl_vars['product_key']->value;?> _<?php echo $_smarty_tpl->tpl_vars['product']->value['id_product'];?> " style="display:none;"> <?php if (!$_smarty_tpl->tpl_vars['PS_CATALOG_MODE']->value&&$_smarty_tpl->tpl_vars['product']->value['details']->show_price){?> <div class="prices"> <?php if (isset($_smarty_tpl->tpl_vars['product']->value['details']->new)&&$_smarty_tpl->tpl_vars['product']->value['details']->new){?><span class="new"><?php echo smartyTranslate(array('s'=>'New'),$_smarty_tpl);?> </span><?php }?> <p class="price"><?php if ($_smarty_tpl->tpl_vars['priceDisplay']->value){?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value['details']->getPrice(false,$_smarty_tpl->tpl_vars['product']->value['details']->getDefaultAttribute($_smarty_tpl->tpl_vars['product']->value['id_product']))),$_smarty_tpl);?> <?php }else{ ?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0][0]->convertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value['details']->getPrice(true,$_smarty_tpl->tpl_vars['product']->value['details']->getDefaultAttribute($_smarty_tpl->tpl_vars['product']->value['id_product']))),$_smarty_tpl);?> <?php }?></p> <?php if ($_smarty_tpl->tpl_vars['product']->value['details']->on_sale){?> <span class="on_sale"><?php echo smartyTranslate(array('s'=>'On sale!'),$_smarty_tpl);?> </span> <?php }elseif(isset($_smarty_tpl->tpl_vars['product']->value['reduction'])&&$_smarty_tpl->tpl_vars['product']->value['reduction']){?> <span class="discount"><?php echo smartyTranslate(array('s'=>'Reduced price!'),$_smarty_tpl);?> </span> <?php }?> </div> <?php }?> <img src="<?php echo $_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['product']->value['id_product'],$_smarty_tpl->tpl_vars['imageIds']->value,'medium_default');?> " alt="" width="<?php echo $_smarty_tpl->tpl_vars['mediumSize']->value['width'];?> " height="<?php echo $_smarty_tpl->tpl_vars['mediumSize']->value['height'];?> " /> <p class="title_block"><span class="product_name"><?php echo $_smarty_tpl->tpl_vars['product']->value['details']->name;?> </span></p> <p class="description"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['product']->value['details']->description_short),170,'...');?> </p> </div> <?php } ?> </div> <?php } ?> </div> <?php if (isset($_smarty_tpl->tpl_vars['scenes']->value[1])){?> <div class="thumbs_banner" style="height:<?php echo $_smarty_tpl->tpl_vars['thumbSceneImageType']->value['height'];?> px;"> <span class="space-keeper"> <a class="prev" href="#" style="height:<?php echo smarty_function_math(array('equation'=>'a+2','a'=>$_smarty_tpl->tpl_vars['thumbSceneImageType']->value['height']),$_smarty_tpl);?> px;" onclick="{next_scene_is_at_right = false; $(this).parent().next().trigger('stop').trigger('prev'); return false;}"> </a> </span> <div id="scenes_list"> <ul style="width:<?php echo smarty_function_math(array('equation'=>'(a*b + (a-1)*10)','a'=>count($_smarty_tpl->tpl_vars['scenes']->value),'b'=>$_smarty_tpl->tpl_vars['thumbSceneImageType']->value['width']),$_smarty_tpl);?> px; height:<?php echo $_smarty_tpl->tpl_vars['thumbSceneImageType']->value['height'];?> px;"> <?php $_smarty_tpl->tpl_vars['scene'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['scene']->_loop = false; $_from = $_smarty_tpl->tpl_vars['scenes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['scene']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['scene']->iteration=0; $_smarty_tpl->tpl_vars['scene']->index=-1; foreach ($_from as $_smarty_tpl->tpl_vars['scene']->key => $_smarty_tpl->tpl_vars['scene']->value){ $_smarty_tpl->tpl_vars['scene']->_loop = true; $_smarty_tpl->tpl_vars['scene']->iteration++; $_smarty_tpl->tpl_vars['scene']->index++; $_smarty_tpl->tpl_vars['scene']->first = $_smarty_tpl->tpl_vars['scene']->index === 0; $_smarty_tpl->tpl_vars['scene']->last = $_smarty_tpl->tpl_vars['scene']->iteration === $_smarty_tpl->tpl_vars['scene']->total; ?> <li id="scene_thumb_<?php echo $_smarty_tpl->tpl_vars['scene']->value->id;?> " style="<?php if (!$_smarty_tpl->tpl_vars['scene']->last){?> padding-right:10px;<?php }?>"> <a style="width:<?php echo $_smarty_tpl->tpl_vars['thumbSceneImageType']->value['width'];?> px; height:<?php echo $_smarty_tpl->tpl_vars['thumbSceneImageType']->value['height'];?> px" title="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['scene']->value->name, 'htmlall', 'UTF-8');?> " href="#" rel="<?php echo $_smarty_tpl->tpl_vars['scene']->value->id;?> " onclick="{loadScene(<?php echo $_smarty_tpl->tpl_vars['scene']->value->id;?> );return false;}"> <img alt="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['scene']->value->name, 'htmlall', 'UTF-8');?> " src="<?php echo $_smarty_tpl->tpl_vars['content_dir']->value;?> img/scenes/thumbs/<?php echo $_smarty_tpl->tpl_vars['scene']->value->id;?> -m_scene_default.jpg" width="<?php echo $_smarty_tpl->tpl_vars['thumbSceneSize']->value['width'];?> " height="<?php echo $_smarty_tpl->tpl_vars['thumbSceneSize']->value['height'];?> " /> </a> </li> <?php } ?> </ul> </div> <span class="space-keeper"> <a class="next" href="#" style="height:<?php echo smarty_function_math(array('equation'=>'a+2','a'=>$_smarty_tpl->tpl_vars['thumbSceneImageType']->value['height']),$_smarty_tpl);?> px;" onclick="{next_scene_is_at_right = true; $(this).parent().prev().trigger('stop').trigger('next'); return false;}"> </a> </span> </div> <?php }?> </div> <?php }?> <?php }} ?>
©
2018. | Recode by D7net