PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/smarty_v2/compile/%%0F^0FA^0FA508A9%%sitemap.tpl.php

http://marocmall.googlecode.com/
PHP | 133 lines | 133 code | 0 blank | 0 comment | 23 complexity | 4d933141df6e950a1eac45c24631ff1e MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php /* Smarty version 2.6.20, created on 2011-12-27 13:13:04
  2. compiled from C:%5CD%5Cprestashoplf%5Cprestashop/themes/ling/sitemap.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. 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); ?>
  5. <?php ob_start(); ?><?php echo smartyTranslate(array('s' => 'Sitemap'), $this);?>
  6. <?php $this->_smarty_vars['capture']['path'] = ob_get_contents(); ob_end_clean(); ?>
  7. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  8. $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
  9. $this->_tpl_vars = $_smarty_tpl_vars;
  10. unset($_smarty_tpl_vars);
  11. ?>
  12. <h1><?php echo smartyTranslate(array('s' => 'Sitemap'), $this);?>
  13. </h1>
  14. <div id="sitemap_content">
  15. <div class="sitemap_block">
  16. <h3><?php echo smartyTranslate(array('s' => 'Our offers'), $this);?>
  17. </h3>
  18. <ul>
  19. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('new-products.php'); ?>
  20. "><?php echo smartyTranslate(array('s' => 'New products'), $this);?>
  21. </a></li>
  22. <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?>
  23. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('best-sales.php'); ?>
  24. "><?php echo smartyTranslate(array('s' => 'Top sellers'), $this);?>
  25. </a></li>
  26. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('prices-drop.php'); ?>
  27. "><?php echo smartyTranslate(array('s' => 'Price drop'), $this);?>
  28. </a></li>
  29. <?php endif; ?>
  30. <?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'); ?>
  31. "><?php echo smartyTranslate(array('s' => 'Manufacturers'), $this);?>
  32. </a></li><?php endif; ?>
  33. <?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'); ?>
  34. "><?php echo smartyTranslate(array('s' => 'Suppliers'), $this);?>
  35. </a></li><?php endif; ?>
  36. </ul>
  37. </div>
  38. <div class="sitemap_block">
  39. <h3><?php echo smartyTranslate(array('s' => 'Your Account'), $this);?>
  40. </h3>
  41. <ul>
  42. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?>
  43. "><?php echo smartyTranslate(array('s' => 'Your Account'), $this);?>
  44. </a></li>
  45. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('identity.php',true); ?>
  46. "><?php echo smartyTranslate(array('s' => 'Personal information'), $this);?>
  47. </a></li>
  48. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('addresses.php',true); ?>
  49. "><?php echo smartyTranslate(array('s' => 'Addresses'), $this);?>
  50. </a></li>
  51. <?php if ($this->_tpl_vars['voucherAllowed']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('discount.php',true); ?>
  52. "><?php echo smartyTranslate(array('s' => 'Discounts'), $this);?>
  53. </a></li><?php endif; ?>
  54. <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('history.php',true); ?>
  55. "><?php echo smartyTranslate(array('s' => 'Order history'), $this);?>
  56. </a></li>
  57. </ul>
  58. </div>
  59. <div class="clearblock"></div>
  60. </div>
  61. <div>
  62. <div class="categTree">
  63. <h3><?php echo smartyTranslate(array('s' => 'Categories'), $this);?>
  64. </h3>
  65. <div class="tree_top"><a href="<?php echo $this->_tpl_vars['base_dir_ssl']; ?>
  66. "><?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')); ?>
  67. </a></div>
  68. <ul class="tree">
  69. <?php if (isset ( $this->_tpl_vars['categoriesTree']['children'] )): ?>
  70. <?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);
  71. if ($this->_foreach['sitemapTree']['total'] > 0):
  72. foreach ($_from as $this->_tpl_vars['child']):
  73. $this->_foreach['sitemapTree']['iteration']++;
  74. ?>
  75. <?php if (($this->_foreach['sitemapTree']['iteration'] == $this->_foreach['sitemapTree']['total'])): ?>
  76. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  77. $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')));
  78. $this->_tpl_vars = $_smarty_tpl_vars;
  79. unset($_smarty_tpl_vars);
  80. ?>
  81. <?php else: ?>
  82. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  83. $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'])));
  84. $this->_tpl_vars = $_smarty_tpl_vars;
  85. unset($_smarty_tpl_vars);
  86. ?>
  87. <?php endif; ?>
  88. <?php endforeach; endif; unset($_from); ?>
  89. <?php endif; ?>
  90. </ul>
  91. </div>
  92. <div class="categTree">
  93. <h3><?php echo smartyTranslate(array('s' => 'Pages'), $this);?>
  94. </h3>
  95. <div class="tree_top"><a href="<?php echo $this->_tpl_vars['categoriescmsTree']['link']; ?>
  96. "><?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')); ?>
  97. </a></div>
  98. <ul class="tree">
  99. <?php if (isset ( $this->_tpl_vars['categoriescmsTree']['children'] )): ?>
  100. <?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);
  101. if ($this->_foreach['sitemapCmsTree']['total'] > 0):
  102. foreach ($_from as $this->_tpl_vars['child']):
  103. $this->_foreach['sitemapCmsTree']['iteration']++;
  104. ?>
  105. <?php if (( isset ( $this->_tpl_vars['child']['children'] ) && count($this->_tpl_vars['child']['children']) > 0 ) || count($this->_tpl_vars['child']['cms']) > 0): ?>
  106. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  107. $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'])));
  108. $this->_tpl_vars = $_smarty_tpl_vars;
  109. unset($_smarty_tpl_vars);
  110. ?>
  111. <?php endif; ?>
  112. <?php endforeach; endif; unset($_from); ?>
  113. <?php endif; ?>
  114. <?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);
  115. if ($this->_foreach['cmsTree']['total'] > 0):
  116. foreach ($_from as $this->_tpl_vars['cms']):
  117. $this->_foreach['cmsTree']['iteration']++;
  118. ?>
  119. <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')); ?>
  120. " 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')); ?>
  121. "><?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')); ?>
  122. </a></li>
  123. <?php endforeach; endif; unset($_from); ?>
  124. <?php if ($this->_tpl_vars['display_store']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
  125. " title="<?php echo smartyTranslate(array('s' => 'Our stores'), $this);?>
  126. "><?php echo smartyTranslate(array('s' => 'Our stores'), $this);?>
  127. </a></li><?php endif; ?>
  128. <li class="last"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('contact-form.php',true); ?>
  129. "><?php echo smartyTranslate(array('s' => 'Contact'), $this);?>
  130. </a></li>
  131. </ul>
  132. </div>
  133. </div>