%%ED^ED1^ED19D61C%%articles.tpl.php 5.28 KB
<?php /* Smarty version 2.6.16, created on 2015-07-24 15:16:54
         compiled from articles.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'translit', 'articles.tpl', 6, false),array('modifier', 'escape', 'articles.tpl', 6, false),array('modifier', 'stripslashes', 'articles.tpl', 8, false),array('modifier', 'strip_tags', 'articles.tpl', 8, false),array('modifier', 'truncate', 'articles.tpl', 8, false),array('modifier', 'date_format', 'articles.tpl', 9, false),)), $this); ?>
<h1><?php echo $this->_tpl_vars['rules_info_one']['name']; ?>
</h1>
<div class="box3">
<?php if (count ( $this->_tpl_vars['articlesAllData']['data'] )): ?>
 <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['articlesAllData']['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
      <div class="block_info_item2">
       <?php if ($this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['pic']): ?><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
articles/<?php echo ((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('translit', true, $_tmp) : smarty_modifier_translit($_tmp)); ?>
-<?php echo $this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['id']; ?>
/"><img class="pic right" src="<?php echo @URL; ?>
uploaded/pic/articles/<?php echo $this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['pic']; ?>
" border="0" align="left" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"></a><?php endif; ?>
       <p><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
articles/<?php echo ((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('translit', true, $_tmp) : smarty_modifier_translit($_tmp)); ?>
-<?php echo $this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['id']; ?>
/" class="link4"><strong><?php echo $this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['title']; ?>
</strong></a></p>
       <p><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['text'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp, false) : smarty_modifier_strip_tags($_tmp, false)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 200) : smarty_modifier_truncate($_tmp, 200)); ?>
 <a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
articles/<?php echo ((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('translit', true, $_tmp) : smarty_modifier_translit($_tmp)); ?>
-<?php echo $this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['id']; ?>
/" class="smill">ïîäðîáíåå</a></p>
       <p><span class="date"><?php echo ((is_array($_tmp=$this->_tpl_vars['articlesAllData']['data'][$this->_sections['i']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
</span></p>
       <div class="both"></div>
      </div>
 <?php endfor; endif; ?>

<br />
<?php if ($this->_tpl_vars['articlesAllData']['links']): ?><div class="pager">Ñòðàíèöû: <?php echo $this->_tpl_vars['articlesAllData']['links']; ?>
</div><?php endif;  endif; ?>
</div>