PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/tools/smarty_v2/compile/%%21^21A^21A8D873%%blockcms.tpl.php

http://marocmall.googlecode.com/
PHP | 82 lines | 80 code | 2 blank | 0 comment | 20 complexity | 73b08ef585494dd05ea91f32a41ab5ea MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php /* Smarty version 2.6.20, created on 2011-12-27 13:13:09
  2. compiled from C:%5CD%5Cprestashoplf%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\\prestashoplf\\prestashop/modules/blockcms/blockcms.tpl', 35, false),array('modifier', 'addslashes', 'C:\\D\\prestashoplf\\prestashop/modules/blockcms/blockcms.tpl', 57, false),array('function', 'l', 'C:\\D\\prestashoplf\\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. <div id="block_various_links_footer">
  46. <ul>
  47. <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?><li class="first_item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('prices-drop.php'); ?>
  48. " title="<?php echo smartyTranslate(array('s' => 'Specials','mod' => 'blockcms'), $this);?>
  49. "><?php echo smartyTranslate(array('s' => 'Specials','mod' => 'blockcms'), $this);?>
  50. </a></li><?php endif; ?>
  51. <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'); ?>
  52. " title="<?php echo smartyTranslate(array('s' => 'New products','mod' => 'blockcms'), $this);?>
  53. "><?php echo smartyTranslate(array('s' => 'New products','mod' => 'blockcms'), $this);?>
  54. </a></li>
  55. <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?><li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('best-sales.php'); ?>
  56. " title="<?php echo smartyTranslate(array('s' => 'Top sellers','mod' => 'blockcms'), $this);?>
  57. "><?php echo smartyTranslate(array('s' => 'Top sellers','mod' => 'blockcms'), $this);?>
  58. </a></li><?php endif; ?>
  59. <?php if ($this->_tpl_vars['display_stores_footer']): ?><li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
  60. " title="<?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
  61. "><?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
  62. </a></li><?php endif; ?>
  63. <li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('contact-form.php',true); ?>
  64. " title="<?php echo smartyTranslate(array('s' => 'Contact us','mod' => 'blockcms'), $this);?>
  65. "><?php echo smartyTranslate(array('s' => 'Contact us','mod' => 'blockcms'), $this);?>
  66. </a></li>
  67. <?php $_from = $this->_tpl_vars['cmslinks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  68. foreach ($_from as $this->_tpl_vars['cmslink']):
  69. ?>
  70. <?php if ($this->_tpl_vars['cmslink']['meta_title'] != ''): ?>
  71. <li class="item"><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['cmslink']['link'])) ? $this->_run_mod_handler('addslashes', true, $_tmp) : addslashes($_tmp)); ?>
  72. " 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')); ?>
  73. "><?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')); ?>
  74. </a></li>
  75. <?php endif; ?>
  76. <?php endforeach; endif; unset($_from); ?>
  77. </ul>
  78. </div>
  79. <!-- /MODULE Block footer -->
  80. <?php endif; ?>