0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
2e
/
d2
/
13
/
[
Home
]
Name File: 2ed21383d8ad4cb613345d3531065bf839726958.file.blockviewed.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:17:41 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/modules/blockviewed/blockviewed.tpl" */ ?> <?php /*%%SmartyHeaderCode:189567867751ee6655643143-12089121%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '2ed21383d8ad4cb613345d3531065bf839726958' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/modules/blockviewed/blockviewed.tpl', 1 => 1369705068, 2 => 'file', ), ), 'nocache_hash' => '189567867751ee6655643143-12089121', 'function' => array ( ), 'variables' => array ( 'productsViewedObj' => 0, 'viewedProduct' => 0, 'link' => 0, 'img_prod_dir' => 0, 'lang_iso' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee6655785369_25435626', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee6655785369_25435626')) {function content_51ee6655785369_25435626($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_escape')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/modifier.escape.php'; ?> <!-- Block Viewed products --> <div id="viewed-products_block_left" class="block products_block"> <p class="title_block"><?php echo smartyTranslate(array('s'=>'Viewed products','mod'=>'blockviewed'),$_smarty_tpl);?> </p> <div class="block_content"> <ul class="products clearfix"> <?php $_smarty_tpl->tpl_vars['viewedProduct'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['viewedProduct']->_loop = false; $_from = $_smarty_tpl->tpl_vars['productsViewedObj']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['viewedProduct']->total= $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['viewedProduct']->iteration=0; $_smarty_tpl->tpl_vars['viewedProduct']->index=-1; foreach ($_from as $_smarty_tpl->tpl_vars['viewedProduct']->key => $_smarty_tpl->tpl_vars['viewedProduct']->value){ $_smarty_tpl->tpl_vars['viewedProduct']->_loop = true; $_smarty_tpl->tpl_vars['viewedProduct']->iteration++; $_smarty_tpl->tpl_vars['viewedProduct']->index++; $_smarty_tpl->tpl_vars['viewedProduct']->first = $_smarty_tpl->tpl_vars['viewedProduct']->index === 0; $_smarty_tpl->tpl_vars['viewedProduct']->last = $_smarty_tpl->tpl_vars['viewedProduct']->iteration === $_smarty_tpl->tpl_vars['viewedProduct']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['myLoop']['first'] = $_smarty_tpl->tpl_vars['viewedProduct']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['myLoop']['last'] = $_smarty_tpl->tpl_vars['viewedProduct']->last; ?> <li class="clearfix<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['last']){?> last_item<?php }elseif($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['first']){?> first_item<?php }else{ ?> item<?php }?>"> <a href="<?php echo $_smarty_tpl->tpl_vars['viewedProduct']->value->product_link;?> " title="<?php echo smartyTranslate(array('s'=>'More about','mod'=>'blockviewed'),$_smarty_tpl);?> <?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['viewedProduct']->value->name, 'html', 'UTF-8');?> " class="content_img"> <img src="<?php if (isset($_smarty_tpl->tpl_vars['viewedProduct']->value->id_image)&&$_smarty_tpl->tpl_vars['viewedProduct']->value->id_image){?><?php echo $_smarty_tpl->tpl_vars['link']->value->getImageLink($_smarty_tpl->tpl_vars['viewedProduct']->value->link_rewrite,$_smarty_tpl->tpl_vars['viewedProduct']->value->cover,'medium_default');?> <?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['img_prod_dir']->value;?> <?php echo $_smarty_tpl->tpl_vars['lang_iso']->value;?> -default-medium_default.jpg<?php }?>" alt="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['viewedProduct']->value->legend, 'html', 'UTF-8');?> " /> </a> <div class="text_desc"> <p class="s_title_block"><a href="<?php echo $_smarty_tpl->tpl_vars['viewedProduct']->value->product_link;?> " title="<?php echo smartyTranslate(array('s'=>'More about','mod'=>'blockviewed'),$_smarty_tpl);?> <?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['viewedProduct']->value->name, 'html', 'UTF-8');?> "><?php echo smarty_modifier_escape($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['viewedProduct']->value->name,14,'...'), 'html', 'UTF-8');?> </a></p> <p><a href="<?php echo $_smarty_tpl->tpl_vars['viewedProduct']->value->product_link;?> " title="<?php echo smartyTranslate(array('s'=>'More about','mod'=>'blockviewed'),$_smarty_tpl);?> <?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['viewedProduct']->value->name, 'html', 'UTF-8');?> "><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate(strip_tags($_smarty_tpl->tpl_vars['viewedProduct']->value->description_short),44);?> </a></p> </div> </li> <?php } ?> </ul> </div> </div> <?php }} ?>
©
2018. | Recode by D7net