require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'editbox', 'objcomp_categoriestree_add.tpl', 8, false), array('function', 'fckeditor', 'objcomp_categoriestree_add.tpl', 18, false), array('function', 'tags', 'objcomp_categoriestree_add.tpl', 24, false), array('function', 'hidden', 'objcomp_categoriestree_add.tpl', 26, false), array('function', 'submit', 'objcomp_categoriestree_add.tpl', 39, false), array('function', 'button', 'objcomp_categoriestree_add.tpl', 40, false))), $this); ?> <form name="addcatform" method="post" onsubmit="return cat_form(this)" enctype="multipart/form-data"> <table class="invisiblegrid" width="100%"> <tr> <td width="70%">Название:<sup style="color:gray">*</sup></td> <td width="30%"> Идентификатор (URL):</td> </tr> <tr> <td width="70%"><?php echo smarty_function_editbox(array('name' => 'name'), $this); ?> </td> <td width="30%"> <?php echo smarty_function_editbox(array('name' => 'urlname', 'max' => 100, 'width' => "90%"), $this); ?> </td> </tr> </table> <?php if ($this->_tpl_vars['form']['id'] > 0) { ?> <p><label><input type="checkbox" name="subitem" checked> Подуровень</label></p> <?php } ?> <p><a class="cp_link_headding" href="javascript:togglepbox('<?php echo $this->_tpl_vars['system']['item']; ?> _catpbox')">Дополнительно</a></p>
?> style="display:none"<?php } ?> ><td>Логин:</td><td><?php echo smarty_function_editbox(array('name' => 'smtp_login', 'width' => '120', 'text' => $this->_tpl_vars['options']['smtp_login']), $this); ?> </td></tr> <tr id="smtpp"<?php if (!$this->_tpl_vars['options']['smtp_auth']) { ?> style="display:none"<?php } ?> ><td>Пароль:</td><td><?php echo smarty_function_editbox(array('name' => 'smtp_password', 'width' => '120', 'text' => $this->_tpl_vars['options']['smtp_password']), $this); ?> </td></tr> </table> </div> <p><label><input type="radio" name="caching" value="0"<?php if ($this->_tpl_vars['options']['caching'] == 0) { ?> checked<?php } ?> > Без кэширования</label></p> <p><label><input type="radio" name="caching" value="1"<?php if ($this->_tpl_vars['options']['caching'] == 1) { ?> checked<?php
echo smarty_function_editbox(array('name' => 'title'), $this); ?> </p> <p>keywords:</p> <p><?php echo smarty_function_textarea(array('name' => 'keywords', 'rows' => 4), $this); ?> </p> <p>description:</p> <p><?php echo smarty_function_textarea(array('name' => 'description', 'rows' => 4), $this); ?> </p> <p>Перенаправление (301):</p> <p><?php echo smarty_function_editbox(array('name' => 'move'), $this); ?> </p> <?php echo smarty_function_hidden(array('name' => 'mode', 'value' => $this->_tpl_vars['system']['mode']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'item', 'value' => $this->_tpl_vars['system']['item']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'action', 'value' => 'add'), $this); ?> <?php
<?php /* Smarty version 2.6.26, created on 2015-12-13 17:33:59 compiled from block_search_edit.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'hidden', 'block_search_edit.tpl', 1, false), array('function', 'editbox', 'block_search_edit.tpl', 4, false))), $this); echo smarty_function_hidden(array('name' => 'b_idsec', 'value' => $this->_tpl_vars['form']['idsec']), $this); ?> <?php if ($this->_tpl_vars['auth']->isExpert()) { ?> <p>Шаблон:</p> <p><?php echo smarty_function_editbox(array('name' => 'b_template', 'text' => $this->_tpl_vars['form']['template'], 'max' => 50, 'width' => "20%"), $this); ?> </p> <?php } else { echo smarty_function_hidden(array('name' => 'b_template', 'value' => $this->_tpl_vars['form']['template']), $this); ?> <?php }
?> :</p> <p><?php echo smarty_function_editbox(array('name' => $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['field'], 'max' => $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['property'], 'text' => $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['value'], 'width' => "40%"), $this); ?> </p> <?php } elseif ($this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['type'] == 'int' || $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['type'] == 'float') { if ($this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['field'] != 'userid') { ?> <p><?php echo $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['name']; ?> :</p> <p><?php echo smarty_function_editbox(array('name' => $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['field'], 'max' => 10, 'width' => 70, 'text' => $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['value']), $this); ?> </p> <?php } } elseif ($this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['type'] == 'bool') { ?> <p><label><input type="checkbox" name="<?php echo $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['field']; ?> "<?php if ($this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['value'] == 'Y') { ?> checked<?php } ?>
</td> </tr> </table> </p> <?php } } } unset($_from); ?> <table width="100%" border="0" class="tb2"> <tr> <td class="td6"><?php echo smarty_function_editbox(array('name' => 'captcha', 'max' => 4, 'width' => '75px', 'class' => "toggle-inputs", 'id' => 'inp5'), $this); ?> </td> <td class="td7"><?php echo smarty_function_captcha(array('width' => '75', 'height' => '25'), $this); ?> </td> <td>Введите код </td> </tr> </table> <br /> <p><?php echo smarty_function_submit(array('class' => 'inerlink2', 'caption' => "Отправить"), $this); ?> </p>
<?php } else { ?> <h3></h3> <div> <?php } ?> <p>Название на сайте:</p> <p><?php echo smarty_function_editbox(array('name' => $this->_tpl_vars['form']['languages'][$this->_sections['i']['index']]['_caption']['field'], 'text' => $this->_tpl_vars['form']['languages'][$this->_sections['i']['index']]['_caption']['value'], 'max' => 100, 'width' => "40%"), $this); ?> </p> <p>Заголовок (title):</p> <p><?php echo smarty_function_editbox(array('name' => $this->_tpl_vars['form']['languages'][$this->_sections['i']['index']]['_title']['field'], 'text' => $this->_tpl_vars['form']['languages'][$this->_sections['i']['index']]['_title']['value']), $this); ?> </p> </div> </div> <?php } } if ($this->_tpl_vars['auth']->isSuperAdmin()) { ?> <p>Изображение:</p> <?php if ($this->_tpl_vars['form']['idimg'] > 0) { ?> <table width="100%" class="invisiblegrid"> <tr>
<td><?php echo smarty_function_editbox(array('name' => 'mprice9_text'), $this); ?> </td> <td width="80"><?php echo smarty_function_editbox(array('name' => 'mprice9_price'), $this); ?> </td> </tr> <tr> <td><?php echo smarty_function_editbox(array('name' => 'mprice10_text'), $this); ?> </td> <td width="80"><?php echo smarty_function_editbox(array('name' => 'mprice10_price'), $this); ?> </td> </tr> </table> </div> </div> <?php } ?> </td> </tr> </table> </div> <?php $_smarty_tpl_vars = $this->_tpl_vars;
<?php /* Smarty version 2.6.26, created on 2015-12-13 17:32:13 compiled from site_pages_edit.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'editbox', 'site_pages_edit.tpl', 3, false), array('function', 'hidden', 'site_pages_edit.tpl', 4, false), array('function', 'submit', 'site_pages_edit.tpl', 10, false), array('function', 'button', 'site_pages_edit.tpl', 11, false))), $this); ?> <form name="pageeditform" method="post"> <p>Шаблон:<sup style="color:gray">*</sup></p> <p><?php echo smarty_function_editbox(array('name' => 'template', 'width' => "40%", 'text' => $this->_tpl_vars['form']['template']), $this); ?> </p> <?php echo smarty_function_hidden(array('name' => 'id', 'value' => $this->_tpl_vars['form']['id']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'mode', 'value' => $this->_tpl_vars['system']['mode']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'item', 'value' => $this->_tpl_vars['system']['item']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'action', 'value' => 'editpage'), $this); ?> <?php echo smarty_function_hidden(array('name' => 'authcode', 'value' => $this->_tpl_vars['system']['authcode']), $this);
} 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']; ?> <tr> <td><?php echo smarty_function_editbox(array('name' => $this->_tpl_vars['form']['mprices'][$this->_sections['i']['index']]['textname'], 'text' => $this->_tpl_vars['form']['mprices'][$this->_sections['i']['index']]['textvalue']), $this); ?> </td> <td width="80"><?php echo smarty_function_editbox(array('name' => $this->_tpl_vars['form']['mprices'][$this->_sections['i']['index']]['pricename'], 'text' => $this->_tpl_vars['form']['mprices'][$this->_sections['i']['index']]['pricevalue']), $this); ?> </td> </tr> <?php } } ?> </table> </div> </div> <?php } ?> </td> </tr>
} ?> > <p>Высота редактора (пиксели):<sup style="color:gray">*</sup></p> <?php if ($this->_tpl_vars['form']['type'] == 'format') { ?> <p><?php echo smarty_function_editbox(array('name' => 'height', 'width' => '50', 'max' => 3, 'text' => $this->_tpl_vars['form']['property']), $this); ?> </p> <?php } else { ?> <p><?php echo smarty_function_editbox(array('name' => 'height', 'width' => '50', 'max' => 3, 'text' => '200'), $this); ?> </p> <?php } ?> </div> <div id="field_typeselectbox"<?php if ($this->_tpl_vars['form']['type'] != 'select' && $this->_tpl_vars['form']['type'] != 'mselect') { ?> style="display:none"<?php } ?> > <p> <select name="idvar">
>справа</option> <option value="free"<?php if ($this->_tpl_vars['form']['align'] == 'free') { ?> selected<?php } ?> >заданное</option> </select> </td> <td width="150"><?php echo smarty_function_editbox(array('name' => 'name', 'max' => 50, 'text' => $this->_tpl_vars['form']['name']), $this); ?> </td> <td width="150"><?php echo smarty_function_editbox(array('name' => 'frame', 'text' => $this->_tpl_vars['form']['frame'], 'max' => 50), $this); ?> </td> <td width="150"><select name="itemeditor" style="width:100%"><option value="">Не выбрано</option><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['form']['items'], 'selected' => $this->_tpl_vars['form']['itemeditor']), $this); ?> </select></td> <td> <?php if (count($this->_tpl_vars['form']['slanguages']) > 1) { ?> <select name="lang" onchange="sellang(<?php echo $this->_tpl_vars['form']['id']; ?> ,this.value)"> <option value="all"<?php
else return false; } </script> '; ?> <div class="box" style="width:800px"> <form method="post" enctype="multipart/form-data" onsubmit="return goimport(this)"> <h3>Импорт:</h3> <p style="margin-top:5px;"><label><input id="im1" type="radio" name="importmode" value="1" checked> Загрузить архив:</label></p> <p style="margin-top:5px;"><input type="file" name="importfile" onchange="$('im1').checked=true;"></p> <p style="margin-top:5px;"><label><input id="im2" type="radio" name="importmode" value="2"> Путь к файлу на сервере:</label></p> <p style="margin-top:5px;"><?php echo smarty_function_editbox(array('name' => 'importpath', 'width' => "40%", 'onchange' => "\$('im2').checked=true;"), $this); ?> </p> <input type="hidden" name="mode" value="site"> <input type="hidden" name="item" value="import"> <input type="hidden" name="action" value="import"> <div align="right" style="margin:5px;margin-top:10px;"> <?php echo smarty_function_submit(array('caption' => "Импорт"), $this); ?> </div> <?php echo smarty_function_hidden(array('name' => 'authcode', 'value' => $this->_tpl_vars['system']['authcode']), $this); ?>
checked<?php } ?> > с <?php echo smarty_function_dateselect(array('name' => 'from', 'date' => $_GET['from'], 'onchange' => "this.form.date.checked=true"), $this); ?> по <?php echo smarty_function_dateselect(array('name' => 'to', 'date' => $_GET['to'], 'maxtime' => true, 'onchange' => "this.form.date.checked=true"), $this); ?> сумма от <?php echo smarty_function_editbox(array('name' => 'sum1', 'width' => '60px', 'text' => $_GET['sum1']), $this); ?> до <?php echo smarty_function_editbox(array('name' => 'sum2', 'width' => '60px', 'text' => $_GET['sum2']), $this); ?> <select name="status"> <option value="-1">-</option> <option value="0"<?php if (isset($_GET['status']) && $_GET['status'] == 0) { ?> selected<?php } ?> >Не обработано</option> <option value="1"<?php if ($_GET['status'] == 1) { ?> selected<?php
/* Smarty version 2.6.26, created on 2016-01-08 13:50:21 compiled from system_bases.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'editbox', 'system_bases.tpl', 7, false), array('function', 'submit', 'system_bases.tpl', 8, false), array('function', 'hidden', 'system_bases.tpl', 10, false), array('function', 'cycle', 'system_bases.tpl', 47, false), array('function', 'button', 'system_bases.tpl', 64, 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); ?> <h3>Главная база данных:</h3> <div class="box"> <form method="post"> <h3 style="float:right"> Лимит сайтов на одну БД: <?php echo smarty_function_editbox(array('name' => 'bdlimit', 'width' => '30', 'text' => $this->_tpl_vars['options']['bdlimit']), $this); ?> <?php echo smarty_function_submit(array('caption' => "Сохранить"), $this); ?> </h3> <?php echo smarty_function_hidden(array('name' => 'mode', 'value' => 'system'), $this); ?> <?php echo smarty_function_hidden(array('name' => 'item', 'value' => 'bases'), $this); ?>
echo smarty_function_editbox(array('name' => 'title', 'text' => $this->_tpl_vars['form']['title']), $this); ?> </p> <p>keywords:</p> <p><?php echo smarty_function_textarea(array('name' => 'keywords', 'rows' => 4, 'text' => $this->_tpl_vars['form']['keywords']), $this); ?> </p> <p>description:</p> <p><?php echo smarty_function_textarea(array('name' => 'description', 'rows' => 4, 'text' => $this->_tpl_vars['form']['description']), $this); ?> </p> <p>Перенаправление (301):</p> <p><?php echo smarty_function_editbox(array('name' => 'move', 'text' => $this->_tpl_vars['form']['move']), $this); ?> </p> <?php echo smarty_function_hidden(array('name' => 'id', 'value' => $this->_tpl_vars['form']['id']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'mode', 'value' => $this->_tpl_vars['system']['mode']), $this); ?> <?php echo smarty_function_hidden(array('name' => 'item', 'value' => $this->_tpl_vars['system']['item']), $this); ?> <?php
</td> <td>X</td> <td><?php echo smarty_function_editbox(array('name' => 'height', 'width' => '70', 'text' => $this->_tpl_vars['form']['height']), $this); ?> </td> </tr> </table> <p>Текст:</p> <?php echo smarty_function_textarea(array('name' => 'text', 'rows' => 4, 'text' => $this->_tpl_vars['form']['text']), $this); ?> <p>Целевая ссылка:</p> <p><?php echo smarty_function_editbox(array('name' => 'url', 'text' => $this->_tpl_vars['form']['url'], 'width' => "50%"), $this); ?> <select name="target"> <option value="_blank"<?php if ($this->_tpl_vars['form']['target'] == '_blank') { ?> selected<?php } ?> >В новом окне</option> <option value="_self"<?php if ($this->_tpl_vars['form']['target'] == '_self') { ?> selected<?php }
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); ?> <?php echo smarty_function_hidden(array('name' => 'item', 'value' => $this->_tpl_vars['system']['item']), $this); ?> <?php echo smarty_function_editbox(array('name' => 'query', 'width' => '200', 'text' => $_GET['query']), $this); ?> <select name="idsec"> <option value="0">Все разделы</option> <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['sections'], 'selected' => $_GET['idsec']), $this); ?> </select> <?php echo smarty_function_submit(array('caption' => "Искать"), $this); ?> </form> </td>
<div align="left" style="border: 1px solid #C5D6DA;padding:10px;margin-top:10px;margin-right:3px;"> <form name="adddomainform" method="post" onsubmit="return domain_form(this)" enctype="multipart/form-data"> <p>Идентификатор:</p> <p><?php echo smarty_function_editbox(array('name' => 'name', 'width' => "30%", 'text' => $this->_tpl_vars['form']['name']), $this); ?> </p> <p style="margin-top:5px">Домен:</p> <p><?php echo smarty_function_editbox(array('name' => 'domain', 'width' => "60%", 'text' => $this->_tpl_vars['form']['domain']), $this); ?> </p> <p style="margin-top:5px">Название:</p> <p><?php echo smarty_function_editbox(array('name' => 'caption', 'width' => "60%"), $this); ?> </p> <p style="margin-top:5px">Файл готового сайта:</p> <p><input type="file" name="configarch" style="width:40%"></p> <p style="margin-top:15px"><label><input type="checkbox" id="torep" name="torep" checked> После создания перейти в репозиторий готовых сайтов</label></p> <div align="center" style="margin-top:20px"> <?php echo smarty_function_submit(array('caption' => "Создать"), $this); ?> </div> <?php echo smarty_function_hidden(array('name' => 'action', 'value' => 'newdomain'), $this); ?>
require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'editbox', 'objcomp_categoriestree_edit.tpl', 8, false), array('function', 'fckeditor', 'objcomp_categoriestree_edit.tpl', 15, false), array('function', 'image', 'objcomp_categoriestree_edit.tpl', 22, false), array('function', 'tags', 'objcomp_categoriestree_edit.tpl', 36, false), array('function', 'hidden', 'objcomp_categoriestree_edit.tpl', 38, false), array('function', 'submit', 'objcomp_categoriestree_edit.tpl', 49, false), array('function', 'button', 'objcomp_categoriestree_edit.tpl', 50, false))), $this); ?> <form name="editcatform" method="post" onsubmit="return cat_form(this)" enctype="multipart/form-data"> <table class="invisiblegrid" width="100%"> <tr> <td width="70%">Название:<sup style="color:gray">*</sup></td> <td width="30%"> Идентификатор (URL):</td> </tr> <tr> <td width="70%"><?php echo smarty_function_editbox(array('name' => 'name', 'text' => $this->_tpl_vars['form']['name']), $this); ?> </td> <td width="30%"> <?php echo smarty_function_editbox(array('name' => 'urlname', 'width' => "90%", 'max' => 100, 'text' => $this->_tpl_vars['form']['urlname']), $this); ?> </td> </tr> </table> <p><a class="cp_link_headding" href="javascript:togglepbox('<?php echo $this->_tpl_vars['system']['item']; ?> _catpbox')">Дополнительно</a></p> <div id="<?php echo $this->_tpl_vars['system']['item']; ?> _catpbox" style="display:none"> <p>Описание:</p> <p><?php echo smarty_function_fckeditor(array('name' => 'description', 'toolbar' => 'Medium', 'height' => 200, 'text' => $this->_tpl_vars['form']['description']), $this);
<td><?php echo smarty_function_editbox(array('name' => 'code', 'text' => $this->_tpl_vars['code']), $this); ?> </td> </tr> <tr> <td>Обратный адрес для отправляемых писем:</td> <td><?php echo smarty_function_editbox(array('name' => 'mailsfrom', 'text' => $this->_tpl_vars['options']['mailsfrom']), $this); ?> </td> </tr> <tr> <td>Переадресация на хост:</td> <td><?php echo smarty_function_editbox(array('name' => 'gohost', 'text' => $this->_tpl_vars['options']['gohost']), $this); ?> </td> </tr> <tr> <td><label for="404gomain">На главную если страница не найдена:</label></td> <td><input id="404gomain" type="checkbox" name="404gomain"<?php if ($this->_tpl_vars['options']['404gomain']) { ?> checked<?php } ?> ></td> </tr> <tr> <td><label for="userep">Доступный репозиторий:</label></td>