<?php

/* Smarty version 2.6.26, created on 2015-12-13 17:19:23
   compiled from module_search.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'tabcontrol', 'module_search.tpl', 3, false), array('function', 'hidden', 'module_search.tpl', 10, false), array('function', 'editbox', 'module_search.tpl', 12, false), array('function', 'html_options', 'module_search.tpl', 15, false), array('function', 'submit', 'module_search.tpl', 17, false), array('function', 'button', 'module_search.tpl', 24, false), array('function', 'image', 'module_search.tpl', 50, false), array('function', 'object', 'module_search.tpl', 64, false), array('block', 'tabpage', 'module_search.tpl', 5, false), array('modifier', 'date_format', 'module_search.tpl', 22, 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_tabcontrol(array('search' => "Поиск", 'opt' => "Настройки"), $this);
?>


<?php 
$this->_tag_stack[] = array('tabpage', array('id' => 'search'));
$_block_repeat = true;
smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
<table class="actiongrid">
<tr>
<td>
<form method="get">
<?php 
    echo smarty_function_hidden(array('name' => 'mode', 'value' => $this->_tpl_vars['system']['mode']), $this);
    ?>
    $_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();
    ?>

<?php 
    echo smarty_function_tabcontrol(array('id' => 'opt', 'opt2' => "Опции", 'fields' => "Редактор&nbsp;полей"), $this);
    ?>


<?php 
    $this->_tag_stack[] = array('tabpage', array('idtab' => 'opt', 'id' => 'opt2'));
    $_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['optbox1']), $this);
        ?>

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

/* Smarty version 2.6.26, created on 2015-10-22 16:39:57
   compiled from plugin_listdata.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'tabcontrol', 'plugin_listdata.tpl', 3, false), array('function', 'cycle', 'plugin_listdata.tpl', 19, false), array('function', 'hidden', 'plugin_listdata.tpl', 44, false), array('function', 'button', 'plugin_listdata.tpl', 50, false), array('function', 'object', 'plugin_listdata.tpl', 59, false), array('block', 'tabpage', 'plugin_listdata.tpl', 5, 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_tabcontrol(array('main' => "Записи", 'fields' => "Редактор полей"), $this);
?>


<?php 
$this->_tag_stack[] = array('tabpage', array('id' => 'main'));
$_block_repeat = true;
smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
<form method="post">
<?php 
    if ($this->_tpl_vars['listdata']) {
        ?>
<table class="grid gridsort" width="100%">
<tr>
<th width="20">&nbsp;</th>
<?php

/* Smarty version 2.6.26, created on 2015-12-13 17:03:27
   compiled from module_feedback.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'tabcontrol', 'module_feedback.tpl', 3, false), array('function', 'button', 'module_feedback.tpl', 14, false), array('function', 'cycle', 'module_feedback.tpl', 36, false), array('function', 'object', 'module_feedback.tpl', 82, false), array('function', 'hidden', 'module_feedback.tpl', 92, false), array('block', 'tabpage', 'module_feedback.tpl', 5, false), array('modifier', 'date_format', 'module_feedback.tpl', 76, false), array('modifier', 'strip_tags', 'module_feedback.tpl', 77, false), array('modifier', 'truncate', 'module_feedback.tpl', 77, 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_tabcontrol(array('page' => "Страница", 'arch' => "Архив сообщений", 'opt' => "Настройки"), $this);
?>


<?php 
$this->_tag_stack[] = array('tabpage', array('id' => 'page'));
$_block_repeat = true;
smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
<h3>Текст:</h3>
<div class="box">
<?php 
    if ($this->_tpl_vars['maincontent']) {
        echo $this->_tpl_vars['maincontent'];
    } else {
        ?>
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'tabcontrol', 'plugin_banners.tpl', 4, false), array('function', 'cycle', 'plugin_banners.tpl', 21, false), array('function', 'button', 'plugin_banners.tpl', 38, false), array('function', 'object', 'plugin_banners.tpl', 99, false), array('function', 'hidden', 'plugin_banners.tpl', 115, false), array('block', 'tabpage', 'plugin_banners.tpl', 9, false), array('modifier', 'date_format', 'plugin_banners.tpl', 60, false), array('modifier', 'escape', 'plugin_banners.tpl', 76, 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 
if ($this->_tpl_vars['category']) {
    echo smarty_function_tabcontrol(array('cat' => "Категории", 'banners' => "Баннеры"), $this);
    ?>

<?php 
} else {
    echo smarty_function_tabcontrol(array('cat' => "Категории"), $this);
    ?>

<?php 
}
?>

<?php 
$this->_tag_stack[] = array('tabpage', array('id' => 'cat'));
$_block_repeat = true;
smarty_block_tabpage($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    if ($this->_tpl_vars['categories']) {
        ?>
<table class="grid gridsort">