%%E7^E78^E782D433%%catalogs_products_hits.tpl.php 17.6 KB
<?php /* Smarty version 2.6.16, created on 2012-01-27 10:03:29
         compiled from catalogs_products_hits.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'catalogs_products_hits.tpl', 9, false),array('modifier', 'stripslashes', 'catalogs_products_hits.tpl', 10, false),)), $this); ?>
<?php if (count ( $this->_tpl_vars['products_akcii'] )): ?>

<div class="box5 mt">
<div id="SlideItMoo_outer2">
                <div id="SlideItMoo_inner2">
                        <div id="SlideItMoo_items2">
                                <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['products_akcii']) ? 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="SlideItMoo_element2"><div class="row" align="center">
     <a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['rubric_id']; ?>
/t<?php echo $this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['id']; ?>
/"><img src="<?php echo @URL; ?>
uploaded/pic/catalogs/products/a_<?php echo $this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['pic']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['products_akcii'][$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['products_akcii'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" border="0" class="pic" /></a>
      <div class="name2"><a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['rubric_id']; ?>
/t<?php echo $this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['id']; ?>
/"><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
</strong></a></div>
      <div class="cine"><div class="l"><div class="r"><div class="w"><?php echo $this->_tpl_vars['products_akcii'][$this->_sections['i']['index']]['cine']; ?>
 ãðí.</div></div></div></div>

               </div> </div>
                <?php endfor; endif; ?>

                        </div>
                </div>
        </div>
</div>
<?php endif;  if (count ( $this->_tpl_vars['products_hits'] ) > 0): ?>
<div class="box5 mt">
<div id="SlideItMoo_outer2">
                <div id="SlideItMoo_inner2">
                        <div id="SlideItMoo_items2">
                                <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['products_hits']) ? 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="SlideItMoo_element2"><div class="row" align="center">
     <a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['rubric_id']; ?>
/t<?php echo $this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['id']; ?>
/"><img src="<?php echo @URL; ?>
uploaded/pic/catalogs/products/a_<?php echo $this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['pic']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['products_hits'][$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['products_hits'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" border="0" class="pic" /></a>
      <div class="name2"><a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['rubric_id']; ?>
/t<?php echo $this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['id']; ?>
/"><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
</strong></a></div>
      <div class="cine"><div class="l"><div class="r"><div class="w"><?php echo $this->_tpl_vars['products_hits'][$this->_sections['i']['index']]['cine']; ?>
 ãðí.</div></div></div></div>

               </div> </div>
                <?php endfor; endif; ?>


                        </div>
                </div>
        </div>
</div>
<?php endif; ?>

       <div class="rbk mt">
     <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin']) ? 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="row <?php if (! ( $this->_sections['i']['rownum'] % 4 )): ?>n<?php endif; ?>">
      <div class="title2"><div class="l"><div class="r"><a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['r_pid']; ?>
/"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['name']; ?>
</a></div></div></div>
      <div class="box2">
       <img src="<?php echo @URL; ?>
uploaded/pic/catalogs/rubrics/<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['pic']; ?>
" align="left" /> <?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['j']['show'] = true;
$this->_sections['j']['max'] = $this->_sections['j']['loop'];
$this->_sections['j']['step'] = 1;
$this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = $this->_sections['j']['loop'];
    if ($this->_sections['j']['total'] == 0)
        $this->_sections['j']['show'] = false;
} else
    $this->_sections['j']['total'] = 0;
if ($this->_sections['j']['show']):

            for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
                 $this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
                 $this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
$this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
$this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
$this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
$this->_sections['j']['first']      = ($this->_sections['j']['iteration'] == 1);
$this->_sections['j']['last']       = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
?><a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][$this->_sections['j']['index']]['id']; ?>
/"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][$this->_sections['j']['index']]['name']; ?>
</a><?php if ($this->_sections['j']['index'] < count ( $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'] ) -1): ?>, <?php endif;  endfor; endif; ?>
      </div>
     </div><?php if (! ( $this->_sections['i']['rownum'] % 4 )): ?><div class="both"></div><?php endif; ?>
     <?php endfor; endif; ?><div class="both"></div>

    </div>
    
<?php if (count ( $this->_tpl_vars['products_top'] ) > 0): ?>
    <!--box-->
    <div class="title mt"><div class="l"><div class="r">Ïîïóëÿðíûå òîâàðû</div></div></div>
    <div class="box3">

<div id="SlideItMoo_outer">        
                <div id="SlideItMoo_inner">
                        <div id="SlideItMoo_items">
                                <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['products_top']) ? 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="SlideItMoo_element">
       <a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['rubric_id']; ?>
/t<?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['id']; ?>
/"><img src="<?php echo @URL; ?>
uploaded/pic/catalogs/products/<?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['pic']; ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['products_top'][$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['products_top'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" border="0" class="pic" /></a>
       <p class="name1"><a href="<?php echo @URL; ?>
catalogs/<?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['rubric_id']; ?>
/t<?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['id']; ?>
/"><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['products_top'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)); ?>
</strong></a></p>
       <p class="brend1"><?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['brend_name']; ?>
</p>
       <p class="cine2"><?php echo $this->_tpl_vars['products_top'][$this->_sections['i']['index']]['cine']; ?>
 ãðí.</p>
                </div>
                <?php endfor; endif; ?>

                        </div>
                </div>
        </div>
        
        

    </div>
    <!--end box-->
<?php endif; ?>
<div class="title2 mb"><div class="l"><div class="r">Ñòàòüè</div></div></div>
<div class="mt">
       <div class="item_article">
<ul>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['articles_last']) ? 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']);
?>
       <li><a href="<?php echo @URL; ?>
articles/<?php echo $this->_tpl_vars['articles_last'][$this->_sections['i']['index']]['id']; ?>
/" class="link3"><?php echo $this->_tpl_vars['articles_last'][$this->_sections['i']['index']]['title']; ?>
</a></li>
       <?php if (! ( $this->_sections['i']['rownum'] % 8 ) && count ( $this->_tpl_vars['articles_last'] ) -1 > $this->_sections['i']['index']): ?></ul></div><div class="item_article <?php if (! ( $this->_sections['i']['rownum'] % 1 )): ?>imn<?php endif; ?>"><ul><?php endif;  endfor; endif; ?></ul></div><div class="both"></div>
<div class="ct mt"><a href="<?php echo @URL; ?>
articles/" class="smill">Âñå ñòàòüè</a></div>
</div>