$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']; ?> <?php echo smarty_function_imagedata(array('var' => 'img', 'id' => $this->_tpl_vars['categories'][$this->_sections['i']['index']]['idimg']), $this); ?> <tr> <td class="leftmen1"><a href="<?php echo $this->_tpl_vars['categories'][$this->_sections['i']['index']]['link']; ?> "><img src="/imgsize4.php?filename=<?php echo $this->_tpl_vars['img']['path']; ?> &width=86&height=68" /></a></td> <td class="leftmen2" ><a href="<?php echo $this->_tpl_vars['categories'][$this->_sections['i']['index']]['link']; ?> " ><div style="width:130px;"><?php echo $this->_tpl_vars['categories'][$this->_sections['i']['index']]['name'];
</p> <?php echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['description']; ?> <p class="p_slide3"><b><?php echo $this->_tpl_vars['valute']; ?> </b><span><?php echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['price']; ?> .- </span></p> </div> <?php echo smarty_function_imagedata(array('var' => 'img', 'id' => $this->_tpl_vars['items'][$this->_sections['i']['index']]['mainfoto']), $this); ?> <a href="<?php echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['link']; ?> "><img src="<?php echo $this->_tpl_vars['img']['path']; ?> " /></a> </li> <?php } } ?> </ul>