/tools/smarty_v2/compile/%%D5^D5A^D5A4A083%%blockcms.tpl.php
PHP | 81 lines | 80 code | 1 blank | 0 comment | 21 complexity | 1166cd14d974f727bd6a260e9d75dd07 MD5 | raw file
Possible License(s): LGPL-2.1
- <?php /* Smarty version 2.6.20, created on 2011-11-28 23:51:31
- compiled from C:%5CD%5Cprestashop/modules/blockcms/blockcms.tpl */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- 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); ?>
- <?php if ($this->_tpl_vars['block'] == 1): ?>
- <!-- Block CMS module -->
- <?php $_from = $this->_tpl_vars['cms_titles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['cms_key'] => $this->_tpl_vars['cms_title']):
- ?>
- <div id="informations_block_left_<?php echo $this->_tpl_vars['cms_key']; ?>
- " class="block informations_block_left">
- <h4><a href="<?php echo $this->_tpl_vars['cms_title']['category_link']; ?>
- "><?php if (! empty ( $this->_tpl_vars['cms_title']['name'] )): ?><?php echo $this->_tpl_vars['cms_title']['name']; ?>
- <?php else: ?><?php echo $this->_tpl_vars['cms_title']['category_name']; ?>
- <?php endif; ?></a></h4>
- <ul class="block_content">
- <?php $_from = $this->_tpl_vars['cms_title']['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['cms_page']):
- ?>
- <?php if (isset ( $this->_tpl_vars['cms_page']['link'] )): ?><li class="bullet"><b style="margin-left:2em;">
- <a href="<?php echo $this->_tpl_vars['cms_page']['link']; ?>
- " 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')); ?>
- "><?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')); ?>
- </a>
- </b></li><?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php $_from = $this->_tpl_vars['cms_title']['cms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['cms_page']):
- ?>
- <?php if (isset ( $this->_tpl_vars['cms_page']['link'] )): ?><li><a href="<?php echo $this->_tpl_vars['cms_page']['link']; ?>
- " 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')); ?>
- "><?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')); ?>
- </a></li><?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php if ($this->_tpl_vars['cms_title']['display_store']): ?><li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
- " title="<?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
- </a></li><?php endif; ?>
- </ul>
- </div>
- <?php endforeach; endif; unset($_from); ?>
- <!-- /Block CMS module -->
- <?php else: ?>
- <!-- MODULE Block footer -->
- <ul class="block_various_links" id="block_various_links_footer">
- <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?><li class="first_item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('prices-drop.php'); ?>
- " title="<?php echo smartyTranslate(array('s' => 'Specials','mod' => 'blockcms'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'Specials','mod' => 'blockcms'), $this);?>
- </a></li><?php endif; ?>
- <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'); ?>
- " title="<?php echo smartyTranslate(array('s' => 'New products','mod' => 'blockcms'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'New products','mod' => 'blockcms'), $this);?>
- </a></li>
- <?php if (! $this->_tpl_vars['PS_CATALOG_MODE']): ?><li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('best-sales.php'); ?>
- " title="<?php echo smartyTranslate(array('s' => 'Top sellers','mod' => 'blockcms'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'Top sellers','mod' => 'blockcms'), $this);?>
- </a></li><?php endif; ?>
- <?php if ($this->_tpl_vars['display_stores_footer']): ?><li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('stores.php'); ?>
- " title="<?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'Our stores','mod' => 'blockcms'), $this);?>
- </a></li><?php endif; ?>
- <li class="item"><a href="<?php echo $this->_tpl_vars['link']->getPageLink('contact-form.php',true); ?>
- " title="<?php echo smartyTranslate(array('s' => 'Contact us','mod' => 'blockcms'), $this);?>
- "><?php echo smartyTranslate(array('s' => 'Contact us','mod' => 'blockcms'), $this);?>
- </a></li>
- <?php $_from = $this->_tpl_vars['cmslinks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['cmslink']):
- ?>
- <?php if ($this->_tpl_vars['cmslink']['meta_title'] != ''): ?>
- <li class="item"><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['cmslink']['link'])) ? $this->_run_mod_handler('addslashes', true, $_tmp) : addslashes($_tmp)); ?>
- " 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')); ?>
- "><?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')); ?>
- </a></li>
- <?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php if ($this->_tpl_vars['display_poweredby']): ?><li class="last_item"><?php echo smartyTranslate(array('s' => 'Powered by','mod' => 'blockcms'), $this);?>
- <a href="http://www.prestashop.com">PrestaShop</a>™</li><?php endif; ?>
- </ul>
- <!-- /MODULE Block footer -->
- <?php endif; ?>