/tools/smarty_v2/compile/%%0F^0FA^0FA508A9%%sitemap.tpl.php
PHP | 133 lines | 133 code | 0 blank | 0 comment | 23 complexity | 4d933141df6e950a1eac45c24631ff1e MD5 | raw file
Possible License(s): LGPL-2.1
- <?php /* Smarty version 2.6.20, created on 2011-12-27 13:13:04
- compiled from C:%5CD%5Cprestashoplf%5Cprestashop/themes/ling/sitemap.tpl */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- smarty_core_load_plugins(array('plugins' => array(array('function', 'l', 'C:\\D\\prestashoplf\\prestashop/themes/ling/sitemap.tpl', 1, false),array('modifier', 'escape', 'C:\\D\\prestashoplf\\prestashop/themes/ling/sitemap.tpl', 32, false),array('modifier', 'count', 'C:\\D\\prestashoplf\\prestashop/themes/ling/sitemap.tpl', 51, false),)), $this); ?>
- <?php ob_start(); ?><?php echo smartyTranslate(array('s' => 'Sitemap'), $this);?>
- <?php $this->_smarty_vars['capture']['path'] = ob_get_contents(); ob_end_clean(); ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <h1><?php echo smartyTranslate(array('s' => 'Sitemap'), $this);?>
- </h1>
- <div id="sitemap_content">
- <div class="sitemap_block">
- <h3><?php echo smartyTranslate(array('s' => 'Our offers'), $this);?>
- </h3>
- <ul>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('new-products.php'); ?>
- "><?php echo smartyTranslate(array('s' => 'New products'), $this);?>
- </a></li>
- <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('best-sales.php'); ?>
- "><?php echo smartyTranslate(array('s' => 'Top sellers'), $this);?>
- </a></li>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('prices-drop.php'); ?>
- "><?php echo smartyTranslate(array('s' => 'Price drop'), $this);?>
- </a></li>
- <?php endif; ?>
- <?php if ($this->_tpl_vars['display_manufacturer_link'] || $this->_tpl_vars['PS_DISPLAY_SUPPLIERS']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('manufacturer.php'); ?>
- "><?php echo smartyTranslate(array('s' => 'Manufacturers'), $this);?>
- </a></li><?php endif; ?>
- <?php if ($this->_tpl_vars['display_supplier_link'] || $this->_tpl_vars['PS_DISPLAY_SUPPLIERS']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('supplier.php'); ?>
- "><?php echo smartyTranslate(array('s' => 'Suppliers'), $this);?>
- </a></li><?php endif; ?>
- </ul>
- </div>
- <div class="sitemap_block">
- <h3><?php echo smartyTranslate(array('s' => 'Your Account'), $this);?>
- </h3>
- <ul>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?>
- "><?php echo smartyTranslate(array('s' => 'Your Account'), $this);?>
- </a></li>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('identity.php',true); ?>
- "><?php echo smartyTranslate(array('s' => 'Personal information'), $this);?>
- </a></li>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('addresses.php',true); ?>
- "><?php echo smartyTranslate(array('s' => 'Addresses'), $this);?>
- </a></li>
- <?php if ($this->_tpl_vars['voucherAllowed']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('discount.php',true); ?>
- "><?php echo smartyTranslate(array('s' => 'Discounts'), $this);?>
- </a></li><?php endif; ?>
- <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('history.php',true); ?>
- "><?php echo smartyTranslate(array('s' => 'Order history'), $this);?>
- </a></li>
- </ul>
- </div>
- <div class="clearblock"></div>
- </div>
- <div>
- <div class="categTree">
- <h3><?php echo smartyTranslate(array('s' => 'Categories'), $this);?>
- </h3>
- <div class="tree_top"><a href="<?php echo $this->_tpl_vars['base_dir_ssl']; ?>
- "><?php echo ((is_array($_tmp=$this->_tpl_vars['categoriesTree']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
- </a></div>
- <ul class="tree">
- <?php if (isset ( $this->_tpl_vars['categoriesTree']['children'] )): ?>
- <?php $_from = $this->_tpl_vars['categoriesTree']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['sitemapTree'] = array('total' => count($_from), 'iteration' => 0);
- if ($this->_foreach['sitemapTree']['total'] > 0):
- foreach ($_from as $this->_tpl_vars['child']):
- $this->_foreach['sitemapTree']['iteration']++;
- ?>
- <?php if (($this->_foreach['sitemapTree']['iteration'] == $this->_foreach['sitemapTree']['total'])): ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./category-tree-branch.tpl", 'smarty_include_vars' => array('node' => $this->_tpl_vars['child'],'last' => 'true')));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <?php else: ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./category-tree-branch.tpl", 'smarty_include_vars' => array('node' => $this->_tpl_vars['child'])));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php endif; ?>
- </ul>
- </div>
- <div class="categTree">
- <h3><?php echo smartyTranslate(array('s' => 'Pages'), $this);?>
- </h3>
- <div class="tree_top"><a href="<?php echo $this->_tpl_vars['categoriescmsTree']['link']; ?>
- "><?php echo ((is_array($_tmp=$this->_tpl_vars['categoriescmsTree']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
- </a></div>
- <ul class="tree">
- <?php if (isset ( $this->_tpl_vars['categoriescmsTree']['children'] )): ?>
- <?php $_from = $this->_tpl_vars['categoriescmsTree']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['sitemapCmsTree'] = array('total' => count($_from), 'iteration' => 0);
- if ($this->_foreach['sitemapCmsTree']['total'] > 0):
- foreach ($_from as $this->_tpl_vars['child']):
- $this->_foreach['sitemapCmsTree']['iteration']++;
- ?>
- <?php if (( isset ( $this->_tpl_vars['child']['children'] ) && count($this->_tpl_vars['child']['children']) > 0 ) || count($this->_tpl_vars['child']['cms']) > 0): ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./category-cms-tree-branch.tpl", 'smarty_include_vars' => array('node' => $this->_tpl_vars['child'])));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php endif; ?>
- <?php $_from = $this->_tpl_vars['categoriescmsTree']['cms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['cmsTree'] = array('total' => count($_from), 'iteration' => 0);
- if ($this->_foreach['cmsTree']['total'] > 0):
- foreach ($_from as $this->_tpl_vars['cms']):
- $this->_foreach['cmsTree']['iteration']++;
- ?>
- <li><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['cms']['link'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
- " title="<?php echo ((is_array($_tmp=$this->_tpl_vars['cms']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
- "><?php echo ((is_array($_tmp=$this->_tpl_vars['cms']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
- </a></li>
- <?php endforeach; endif; unset($_from); ?>
- <?php if ($this->_tpl_vars['display_store']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
- " title="<?php echo smartyTranslate(array('s' => 'Our stores'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'Our stores'), $this);?>
- </a></li><?php endif; ?>
- <li class="last"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('contact-form.php',true); ?>
- "><?php echo smartyTranslate(array('s' => 'Contact'), $this);?>
- </a></li>
- </ul>
- </div>
- </div>