}
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
?>

<?php 
$this->_tag_stack[] = array('tabpage', array('id' => 'opt'));
$_block_repeat = true;
smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    echo smarty_function_object(array('obj' => $this->_tpl_vars['optbox']), $this);
    ?>

<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "_footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
            if ($this->_tpl_vars['k'] == 6) {
                $this->assign('k', 0);
            }
            ?>
  <?php 
        }
        ?>
  <?php 
    }
}
?>
  </tr>
</table>
<p class="linebot3"></p>
<?php 
echo smarty_function_object(array('obj' => $this->_tpl_vars['items_pager']), $this);
?>


        
    </div>
</div>       
        


    </div>  
  </div>

  <?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "_footer.tpl", 'smarty_include_vars' => array()));
        ?>
</td>
<?php 
        if ($this->_tpl_vars['form']['seo'] && $this->_tpl_vars['form']['pages'][$this->_sections['i']['index']]['6'] != '&nbsp;') {
            ?>
<td width="25" align="center"><a href="javascript:geturlseoform('<?php 
            echo $this->_tpl_vars['form']['pages'][$this->_sections['i']['index']]['link'];
            ?>
')" title="SEO оптимизация"><img src="/templates/admin/images/addpage.gif" width="16" height="16"></a></td><?php 
        }
        ?>
<td width="25" align="center"><?php 
        echo $this->_tpl_vars['form']['pages'][$this->_sections['i']['index']]['7'];
        ?>
</td>
<td width="25" align="center"><?php 
        echo $this->_tpl_vars['form']['pages'][$this->_sections['i']['index']]['8'];
        ?>
</td>
</tr>
</table>
<?php 
    }
}
?>
</div>
<?php 
echo smarty_function_object(array('obj' => $this->_tpl_vars['form']['pager']), $this);
?>

</div>
		<div class="wrapper">
<div class="left-col">	
<?php 
echo smarty_function_block(array('id' => 'cat_list'), $this);
?>

</div>
<div class="middle-col">
    <div class="right-col">
<div class="zag clearfix">
    <p class="p1"><?php 
echo $this->_tpl_vars['item']['name'];
?>
</p>
   <?php 
echo smarty_function_object(array('obj' => $this->_tpl_vars['navigation']), $this);
?>

</div>        
<table width="100%" border="0">
  <tr>
    <td class="wh1 gallery">
	<?php 
if ($this->_tpl_vars['item']['images'][1]['width'] >= $this->_tpl_vars['item']['images'][1]['height']) {
    ?>
		<?php 
    echo smarty_function_image(array('data' => $this->_tpl_vars['item']['images'][1], 'width' => 373), $this);
    ?>

	<?php 
} else {
<?php

/* Smarty version 2.6.26, created on 2016-01-04 14:13:10
   compiled from files_templates.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'object', 'files_templates.tpl', 3, false))), $this);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "_header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
 

<?php 
echo smarty_function_object(array('obj' => $this->_tpl_vars['fileadmin']), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "_footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>