PageRenderTime 44ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/smarty_v2/compile/%%D5^D5A^D5A4A083%%blockcms.tpl.php

http://marocmall.googlecode.com/
PHP | 81 lines | 80 code | 1 blank | 0 comment | 21 complexity | 1166cd14d974f727bd6a260e9d75dd07 MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php /* Smarty version 2.6.20, created on 2011-11-28 23:51:31
  2. compiled from C:%5CD%5Cprestashop/modules/blockcms/blockcms.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\prestashop/modules/blockcms/blockcms.tpl', 35, false),array('modifier', 'addslashes', 'C:\\D\\prestashop/modules/blockcms/blockcms.tpl', 56, false),array('function', 'l', 'C:\\D\\prestashop/modules/blockcms/blockcms.tpl', 41, false),)), $this); ?>
  5. <?php if ($this->_tpl_vars['block'] == 1): ?>
  6. <!-- Block CMS module -->
  7. <?php $_from = $this->_tpl_vars['cms_titles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  8. foreach ($_from as $this->_tpl_vars['cms_key'] => $this->_tpl_vars['cms_title']):
  9. ?>
  10. <div id="informations_block_left_<?php echo $this->_tpl_vars['cms_key']; ?>
  11. " class="block informations_block_left">
  12. <h4><a href="<?php echo $this->_tpl_vars['cms_title']['category_link']; ?>
  13. "><?php if (! empty ( $this->_tpl_vars['cms_title']['name'] )): ?><?php echo $this->_tpl_vars['cms_title']['name']; ?>
  14. <?php else: ?><?php echo $this->_tpl_vars['cms_title']['category_name']; ?>
  15. <?php endif; ?></a></h4>
  16. <ul class="block_content">
  17. <?php $_from = $this->_tpl_vars['cms_title']['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  18. foreach ($_from as $this->_tpl_vars['cms_page']):
  19. ?>
  20. <?php if (isset ( $this->_tpl_vars['cms_page']['link'] )): ?><li class="bullet"><b style="margin-left:2em;">
  21. <a href="<?php echo $this->_tpl_vars['cms_page']['link']; ?>
  22. " title="<?php echo ((is_array($_tmp=$this->_tpl_vars['cms_page']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html', 'UTF-8') : smarty_modifier_escape($_tmp, 'html', 'UTF-8')); ?>
  23. "><?php echo ((is_array($_tmp=$this->_tpl_vars['cms_page']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html', 'UTF-8') : smarty_modifier_escape($_tmp, 'html', 'UTF-8')); ?>
  24. </a>
  25. </b></li><?php endif; ?>
  26. <?php endforeach; endif; unset($_from); ?>
  27. <?php $_from = $this->_tpl_vars['cms_title']['cms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  28. foreach ($_from as $this->_tpl_vars['cms_page']):
  29. ?>
  30. <?php if (isset ( $this->_tpl_vars['cms_page']['link'] )): ?><li><a href="<?php echo $this->_tpl_vars['cms_page']['link']; ?>
  31. " title="<?php echo ((is_array($_tmp=$this->_tpl_vars['cms_page']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html', 'UTF-8') : smarty_modifier_escape($_tmp, 'html', 'UTF-8')); ?>
  32. "><?php echo ((is_array($_tmp=$this->_tpl_vars['cms_page']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html', 'UTF-8') : smarty_modifier_escape($_tmp, 'html', 'UTF-8')); ?>
  33. </a></li><?php endif; ?>
  34. <?php endforeach; endif; unset($_from); ?>
  35. <?php if ($this->_tpl_vars['cms_title']['display_store']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
  36. " title="<?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
  37. "><?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
  38. </a></li><?php endif; ?>
  39. </ul>
  40. </div>
  41. <?php endforeach; endif; unset($_from); ?>
  42. <!-- /Block CMS module -->
  43. <?php else: ?>
  44. <!-- MODULE Block footer -->
  45. <ul class="block_various_links" id="block_various_links_footer">
  46. <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?><li class="first_item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('prices-drop.php'); ?>
  47. " title="<?php echo smartyTranslate(array('s' => 'Specials','mod' => 'blockcms'), $this);?>
  48. "><?php echo smartyTranslate(array('s' => 'Specials','mod' => 'blockcms'), $this);?>
  49. </a></li><?php endif; ?>
  50. <li class="<?php if ($this->_tpl_vars['PS_CATALOG_MODE']): ?>first_<?php endif; ?>item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('new-products.php'); ?>
  51. " title="<?php echo smartyTranslate(array('s' => 'New products','mod' => 'blockcms'), $this);?>
  52. "><?php echo smartyTranslate(array('s' => 'New products','mod' => 'blockcms'), $this);?>
  53. </a></li>
  54. <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?><li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('best-sales.php'); ?>
  55. " title="<?php echo smartyTranslate(array('s' => 'Top sellers','mod' => 'blockcms'), $this);?>
  56. "><?php echo smartyTranslate(array('s' => 'Top sellers','mod' => 'blockcms'), $this);?>
  57. </a></li><?php endif; ?>
  58. <?php if ($this->_tpl_vars['display_stores_footer']): ?><li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
  59. " title="<?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
  60. "><?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
  61. </a></li><?php endif; ?>
  62. <li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('contact-form.php',true); ?>
  63. " title="<?php echo smartyTranslate(array('s' => 'Contact us','mod' => 'blockcms'), $this);?>
  64. "><?php echo smartyTranslate(array('s' => 'Contact us','mod' => 'blockcms'), $this);?>
  65. </a></li>
  66. <?php $_from = $this->_tpl_vars['cmslinks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  67. foreach ($_from as $this->_tpl_vars['cmslink']):
  68. ?>
  69. <?php if ($this->_tpl_vars['cmslink']['meta_title'] != ''): ?>
  70. <li class="item"><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['cmslink']['link'])) ? $this->_run_mod_handler('addslashes', true, $_tmp) : addslashes($_tmp)); ?>
  71. " title="<?php echo ((is_array($_tmp=$this->_tpl_vars['cmslink']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  72. "><?php echo ((is_array($_tmp=$this->_tpl_vars['cmslink']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  73. </a></li>
  74. <?php endif; ?>
  75. <?php endforeach; endif; unset($_from); ?>
  76. <?php if ($this->_tpl_vars['display_poweredby']): ?><li class="last_item"><?php echo smartyTranslate(array('s' => 'Powered by','mod' => 'blockcms'), $this);?>
  77. <a href="http://www.prestashop.com">PrestaShop</a>&trade;</li><?php endif; ?>
  78. </ul>
  79. <!-- /MODULE Block footer -->
  80. <?php endif; ?>