PageRenderTime 30ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/tools/smarty_v2/compile/%%80^803^803667BC%%cms.tpl.php

http://marocmall.googlecode.com/
PHP | 79 lines | 76 code | 3 blank | 0 comment | 13 complexity | 1498c10345272bd3c1b6d8a29afa9f27 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/themes/ling/cms.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/cms.tpl', 7, false),array('modifier', 'escape', 'C:\\D\\prestashoplf\\prestashop/themes/ling/cms.tpl', 22, false),)), $this); ?>
  5. <?php if (isset ( $this->_tpl_vars['cms'] ) && $this->_tpl_vars['cms']->id != $this->_tpl_vars['cgv_id']): ?>
  6. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  7. $this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
  8. $this->_tpl_vars = $_smarty_tpl_vars;
  9. unset($_smarty_tpl_vars);
  10. ?>
  11. <?php endif; ?>
  12. <?php if (isset ( $this->_tpl_vars['cms'] ) && ! isset ( $this->_tpl_vars['category'] )): ?>
  13. <?php if (! $this->_tpl_vars['cms']->active): ?>
  14. <div id="admin-action-cms">
  15. <p><?php echo smartyTranslate(array('s' => 'This CMS page is not visible to your customers.'), $this);?>
  16. <input type="hidden" id="admin-action-cms-id" value="<?php echo $this->_tpl_vars['cms']->id; ?>
  17. " />
  18. <input type="submit" value="<?php echo smartyTranslate(array('s' => 'Publish'), $this);?>
  19. " class="exclusive" onclick="submitPublishCMS('<?php echo $this->_tpl_vars['base_dir']; ?>
  20. <?php echo $_GET['ad']; ?>
  21. ', 0)"/>
  22. <input type="submit" value="<?php echo smartyTranslate(array('s' => 'Back'), $this);?>
  23. " class="exclusive" onclick="submitPublishCMS('<?php echo $this->_tpl_vars['base_dir']; ?>
  24. <?php echo $_GET['ad']; ?>
  25. ', 1)"/>
  26. </p>
  27. <div class="clearblock"></div>
  28. <p id="admin-action-result"></p>
  29. </p>
  30. </div>
  31. <?php endif; ?>
  32. <div class="rte<?php if ($this->_tpl_vars['content_only']): ?> content_only<?php endif; ?>">
  33. <?php echo $this->_tpl_vars['cms']->content; ?>
  34. </div>
  35. <?php elseif (isset ( $this->_tpl_vars['category'] )): ?>
  36. <div>
  37. <h1><?php echo ((is_array($_tmp=$this->_tpl_vars['category']->name)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  38. </h1>
  39. <?php if (isset ( $this->_tpl_vars['sub_category'] ) & ! empty ( $this->_tpl_vars['sub_category'] )): ?>
  40. <h4><?php echo smartyTranslate(array('s' => 'List of sub categories in '), $this);?>
  41. <?php echo $this->_tpl_vars['category']->name; ?>
  42. <?php echo smartyTranslate(array('s' => ':'), $this);?>
  43. </h4>
  44. <ul class="bullet">
  45. <?php $_from = $this->_tpl_vars['sub_category']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  46. foreach ($_from as $this->_tpl_vars['subcategory']):
  47. ?>
  48. <li>
  49. <a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getCMSCategoryLink($this->_tpl_vars['subcategory']['id_cms_category'],$this->_tpl_vars['subcategory']['link_rewrite']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  50. "><?php echo ((is_array($_tmp=$this->_tpl_vars['subcategory']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  51. </a>
  52. </li>
  53. <?php endforeach; endif; unset($_from); ?>
  54. </ul>
  55. <?php endif; ?>
  56. <?php if (isset ( $this->_tpl_vars['cms_pages'] ) & ! empty ( $this->_tpl_vars['cms_pages'] )): ?>
  57. <h4><?php echo smartyTranslate(array('s' => 'List of pages in '), $this);?>
  58. <?php echo $this->_tpl_vars['category']->name; ?>
  59. <?php echo smartyTranslate(array('s' => ':'), $this);?>
  60. </h4>
  61. <ul class="bullet">
  62. <?php $_from = $this->_tpl_vars['cms_pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  63. foreach ($_from as $this->_tpl_vars['cmspages']):
  64. ?>
  65. <li>
  66. <a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getCMSLink($this->_tpl_vars['cmspages']['id_cms'],$this->_tpl_vars['cmspages']['link_rewrite']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  67. "><?php echo ((is_array($_tmp=$this->_tpl_vars['cmspages']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  68. </a>
  69. </li>
  70. <?php endforeach; endif; unset($_from); ?>
  71. </ul>
  72. <?php endif; ?>
  73. </div>
  74. <?php else: ?>
  75. <?php echo smartyTranslate(array('s' => 'This page does not exist.'), $this);?>
  76. <?php endif; ?>