function smarty_fun_categoryNode(&$smarty, $params) { $_fun_tpl_vars = $smarty->_tpl_vars; $smarty->assign($params); ?> <?php if ($smarty->_tpl_vars['node']['ParentNode']) { ?> <?php smarty_fun_categoryNode($smarty, array('node' => $smarty->_tpl_vars['node']['ParentNode'])); ?> <?php if ($smarty->_tpl_vars['node']['ParentNode']['ID'] > 1) { ?> ><?php } ?> <a href="<?php echo smarty_function_categoryUrl(array('data' => $smarty->_tpl_vars['node']), $smarty); ?> "><?php echo $smarty->_tpl_vars['node']['name_lang']; ?> </a> <?php } ?> <?php $smarty->_tpl_vars = $_fun_tpl_vars; }
function smarty_fun_dynamicCategoryTree(&$smarty, $params) { $_fun_tpl_vars = $smarty->_tpl_vars; $smarty->assign($params); ?> <?php if ($smarty->_tpl_vars['node']) { ?> <?php $_from = $smarty->_tpl_vars['node']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $smarty->_tpl_vars['category']) { ?> <option value="<?php echo smarty_function_categoryUrl(array('data' => $smarty->_tpl_vars['category']), $smarty); ?> "><?php echo str_repeat(' ', $smarty->_tpl_vars['level']); ?> <?php echo $smarty->_tpl_vars['category']['name_lang']; ?> </option> <?php if ($smarty->_tpl_vars['category']['subCategories']) { ?> <?php smarty_fun_dynamicCategoryTree($smarty, array('node' => $smarty->_tpl_vars['category']['subCategories'], 'level' => $smarty->_tpl_vars['level'] + 1)); ?> <?php } ?> <?php } } unset($_from); ?> <?php } $smarty->_tpl_vars = $_fun_tpl_vars; }
<?php echo $this->_tpl_vars['product']['byHandle']['availability']['value_lang']; ?> </div> </td> </tr> <tr> <td class="param"><?php echo smarty_function_translate(array('text' => '_manufacturer'), $this); ?> :</td> <td class="value"><a href="<?php echo smarty_function_categoryUrl(array('data' => $this->_tpl_vars['product']['Category'], 'addFilter' => $this->_tpl_vars['manufacturerFilter']), $this); ?> "><?php echo $this->_tpl_vars['product']['Manufacturer']['name']; ?> </a></td> </tr> <?php } ?> <?php if ((is_array($_tmp = 'SHOW_PRODUCT_WEIGHT') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) && $this->_tpl_vars['product']['shippingWeight']) { ?> <tr> <td class="param"><?php
<?php /* Smarty version 2.6.26, created on 2015-12-01 10:29:42 compiled from /home/illumin/public_html/application/view///rss/products.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'categoryUrl', '/home/illumin/public_html/application/view///rss/products.tpl', 5, false), array('function', 'productUrl', '/home/illumin/public_html/application/view///rss/products.tpl', 12, false))), $this); ob_end_clean(); ?> <rss version="2.0"> <channel> <title><![CDATA[<?php echo $this->_tpl_vars['category']['name_lang']; ?> ]]></title> <link><![CDATA[<?php echo smarty_function_categoryUrl(array('data' => $this->_tpl_vars['category']), $this); ?> ]]></link> <description><?php echo $this->_tpl_vars['category']['description_lang']; ?> </description> <?php $_from = $this->_tpl_vars['feed']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['product']) { ?>
function smarty_fun_rootdynamicCategoryTree(&$smarty, $params) { $_fun_tpl_vars = $smarty->_tpl_vars; $smarty->assign($params); ?> <?php if ($smarty->_tpl_vars['node']) { ?> <?php $_from = $smarty->_tpl_vars['node']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $smarty->_tpl_vars['category']) { ?> <div class="li <?php if ($smarty->_tpl_vars['category']['parentNodeID'] == 1) { ?> top<?php } ?> <?php if ($smarty->_tpl_vars['category']['lft'] <= $smarty->_tpl_vars['currentCategory']['lft'] && $smarty->_tpl_vars['category']['rgt'] >= $smarty->_tpl_vars['currentCategory']['rgt']) { ?> dynCurrent<?php } if ($smarty->_tpl_vars['category']['subCategories']) { ?> hasSubs<?php } else { ?> noSubs<?php } ?> "> <a href="<?php echo smarty_function_categoryUrl(array('data' => $smarty->_tpl_vars['category'], 'filters' => $smarty->_tpl_vars['category']['filters']), $smarty); ?> "><?php echo $smarty->_tpl_vars['category']['name_lang']; ?> </a> <?php if ($smarty->_tpl_vars['category']['subCategories']) { ?> <div class="wrapper"> <div class="block"><div class="block"> <div class="ul"> <?php smarty_fun_rootdynamicCategoryTree($smarty, array('node' => $smarty->_tpl_vars['category']['subCategories'])); ?> </div> </div></div> </div> <?php } ?> </div> <?php } } unset($_from); ?> <?php } $smarty->_tpl_vars = $_fun_tpl_vars; }
function smarty_fun_categoryTree(&$smarty, $params) { $_fun_tpl_vars = $smarty->_tpl_vars; $smarty->assign($params); ?> <?php if ($smarty->_tpl_vars['node']) { ?> <ul> <?php $_from = $smarty->_tpl_vars['node']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $smarty->_tpl_vars['category']) { ?> <?php if ($smarty->_tpl_vars['category']['ID'] == $smarty->_tpl_vars['currentId']) { ?> <li class="current"> <span class="currentName"><?php echo $smarty->_tpl_vars['category']['name_lang']; ?> </span> <?php } else { ?> <li> <a href="<?php echo smarty_function_categoryUrl(array('data' => $smarty->_tpl_vars['category'], 'filters' => $smarty->_tpl_vars['category']['filters']), $smarty); ?> "><?php echo $smarty->_tpl_vars['category']['name_lang']; ?> </a> <?php } ?> <?php if (is_array($_tmp = 'DISPLAY_NUM_CAT') ? $smarty->_run_mod_handler('config', true, $_tmp) : $smarty->_plugins['modifier']['config'][0][0]->config($_tmp)) { ?> <span class="count">(‏<?php echo $smarty->_tpl_vars['category']['count']; ?> )</span> <?php } ?> <?php if ($smarty->_tpl_vars['category']['subCategories']) { ?> <?php smarty_fun_categoryTree($smarty, array('node' => $smarty->_tpl_vars['category']['subCategories'])); ?> <?php } ?> </li> <?php } } unset($_from); ?> </ul> <?php } $smarty->_tpl_vars = $_fun_tpl_vars; }
$_from = $this->_tpl_vars['sectionFilters']['filters']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $this->_foreach['filters'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['filters']['total'] > 0) { foreach ($_from as $this->_tpl_vars['filter']) { $this->_foreach['filters']['iteration']++; ?> <?php if ($this->_tpl_vars['filter']['count'] && (!$this->_tpl_vars['allLink'] || $this->_tpl_vars['allLink'] && $this->_foreach['filters']['iteration'] - 1 < $this->_tpl_vars['maxFilters'])) { ?> <li> <div> <a href="<?php echo smarty_function_categoryUrl(array('data' => $this->_tpl_vars['category'], 'filters' => $this->_tpl_vars['filters'], 'addFilter' => $this->_tpl_vars['filter'], 'removeFilters' => $this->_tpl_vars['sectionFilters']['filters']), $this); ?> "><?php echo $this->_tpl_vars['filter']['name_lang']; ?> </a> <?php if (is_array($_tmp = 'DISPLAY_NUM_FILTER') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) { ?> <span class="count">(‏<?php echo $this->_tpl_vars['filter']['count']; ?> )</span> <?php } ?>