<?php
/* Smarty version 4.5.3, created on 2025-11-17 13:56:59
  from '/home/w/wmaster77/corp.site-77.ru/public_html/admin/design/html/index.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.3',
  'unifunc' => 'content_691aff7bb21f63_96998686',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'e8d8b100956aa5b691841d9914ed6f755f6294c3' => 
    array (
      0 => '/home/w/wmaster77/corp.site-77.ru/public_html/admin/design/html/index.tpl',
      1 => 1763377018,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_691aff7bb21f63_96998686 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/w/wmaster77/corp.site-77.ru/public_html/modules/smarty/plugins/modifier.replace.php','function'=>'smarty_modifier_replace',),));
?>
<!DOCTYPE html>
<html class="js">
    <head>
        <title><?php echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
</title>

        <base href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
/"/>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="Expires" content="-1">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

                <link rel="shortcut icon" href="admin/design/images/favicon.png">

                <link href="admin/design/css/bundle.css" rel="stylesheet">
        <link href="admin/design/css/color.css" rel="stylesheet">
        <link href="admin/design/css/tabler.css" rel="stylesheet">
        <link href="admin/design/css/system.css" rel="stylesheet">

    </head>
    <body class="nk-body npc-default has-sidebar ui-softy js-module-<?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['module']->value,'admin','');?>
">

                <div class="preloader position-absolute">
            <div class="d-flex justify-content-center position-fixed preloader-block">
                <div class="spinner-border text-primary" role="status">
                    <span class="sr-only">Loading...</span>
                </div>
            </div>
        </div>

                <div class="nk-app-root">
                        <div class="nk-sidebar nk-sidebar-fixed is-dark" data-content="sidebarMenu">

                <div class="nk-sidebar-element nk-sidebar-head d-none d-xl-block">
                    <div class="nk-header-app-name align-self-stretch">
                        <div class="nk-header-app-logo">
                            <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
" target="_blank">
                                <em class="icon bg-purple-dim">
                                    
                                    <svg xmlns="http://www.w3.org/2000/svg" id="logo" width="19" viewBox="0 0 30 30">
                                        <path xmlns="http://www.w3.org/2000/svg" class="st1" d="M19.78,0H11.33V6.56h0v9h0c0,.06,0,.13,0,.19a3.84,3.84,0,1,0,1.51-3V6.05a10,10,0,1,1-7.65,9.71c0-.17,0-.33,0-.49h0V0H1.49A1.49,1.49,0,0,0,0,1.49V20.22A10.34,10.34,0,0,0,9.72,30H19.78A10.25,10.25,0,0,0,30,19.78V10.22A10.25,10.25,0,0,0,19.78,0Z"/>
                                    </svg>
                                    
                                </em>
                            </a>
                        </div>
                        <div class="nk-header-app-info">
                            <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
" target="_blank">
                                <span class="lead-text text-white">
                                    Buyers CMS corporate
                                </span>
                                <span class="sub-text fw-medium">
                                    <?php echo $_smarty_tpl->tpl_vars['manager']->value->login;?>

                                </span>
                            </a>
                        </div>
                    </div>
                </div>

                                <div class="nk-sidebar-element">
                    <div class="nk-sidebar-content">
                        <div class="nk-sidebar-inner" data-simplebar>
                            <ul class="nk-menu nk-menu-md">
                                                                <?php if (in_array("pages",$_smarty_tpl->tpl_vars['manager']->value->permissions) || in_array("banners",$_smarty_tpl->tpl_vars['manager']->value->permissions) || in_array("blog",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-heading">
                                    <h6 class="overline-title text-primary-alt">Контент</h6>
                                </li>

                                <?php if (in_array("pages",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "PagesAdmin" || $_GET['module'] == "PageAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'PagesAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-notes"></em></span>
                                        <span class="nk-menu-text">Разделы</span>
                                    </a>
                                </li>
                                <?php }?>

                                <?php if (in_array("blog",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "BlogAdmin" || $_GET['module'] == "PostAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'BlogAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-edit"></em></span>
                                        <span class="nk-menu-text">Блог</span>
                                    </a>
                                </li>
                                <?php }?>

                                <?php if (in_array("banners",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "BannersAdmin" || $_GET['module'] == "BannerAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'BannersAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-slideshow"></em></span>
                                        <span class="nk-menu-text">Баннеры</span>
                                    </a>
                                </li>
                                <?php }?>
                                <?php }?>

                                                                <?php if (in_array("comments",$_smarty_tpl->tpl_vars['manager']->value->permissions) || in_array("feedbacks",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-heading">
                                    <h6 class="overline-title text-primary-alt">Обратная связь</h6>
                                </li>

                                <?php if (in_array("comments",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "CommentsAdmin" || $_GET['module'] == "CommentAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'CommentsAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-messages"></em></span>
                                        <span class="nk-menu-text">Комментарии</span>
                                    </a>
                                </li>
                                <?php }?>

                                <?php if (in_array("feedbacks",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "FeedbacksAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'FeedbacksAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-message-2"></em></span>
                                        <span class="nk-menu-text">Запросы</span>
                                    </a>
                                </li>
                                <?php }?>
                                <?php }?>

                                                                <?php if (in_array("design",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-heading">
                                    <h6 class="overline-title text-primary-alt">Дизайн</h6>
                                </li>

                                <li class="nk-menu-item <?php if ($_GET['module'] == "ThemeAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'ThemeAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-palette"></em></span>
                                        <span class="nk-menu-text">Тема</span>
                                    </a>
                                </li>

                                <li class="nk-menu-item <?php if ($_GET['module'] == 'DesignAdmin' && $_GET['type'] == 'html') {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'DesignAdmin','type'=>'html'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-brand-html5"></em></span>
                                        <span class="nk-menu-text">Шаблоны</span>
                                    </a>
                                </li>

                                <li class="nk-menu-item <?php if ($_GET['module'] == 'DesignAdmin' && $_GET['type'] == 'js') {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'DesignAdmin','type'=>'js'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-code"></em></span>
                                        <span class="nk-menu-text">Javascript</span>
                                    </a>
                                </li>

                                <li class="nk-menu-item <?php if ($_GET['module'] == 'DesignAdmin' && $_GET['type'] == 'css') {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'DesignAdmin','type'=>'css'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-brand-css3"></em></span>
                                        <span class="nk-menu-text">Стили</span>
                                    </a>
                                </li>

                                <li class="nk-menu-item <?php if ($_GET['module'] == "ImagesAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'ImagesAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-photo"></em></span>
                                        <span class="nk-menu-text">Изображения</span>
                                    </a>
                                </li>

                                <li class="nk-menu-item">
                                    <a href="javascript:;" class="nk-menu-link filepicker-btn">
                                        <span class="nk-menu-icon"><em class="icon ti ti-files"></em></span>
                                        <span class="nk-menu-text">Файловый менеджер</span>
                                    </a>
                                </li>
                                <?php }?>

                                                                <?php if (in_array("backup",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-heading">
                                    <h6 class="overline-title text-primary-alt">Автоматизация</h6>
                                </li>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "BackupAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'BackupAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-database"></em></span>
                                        <span class="nk-menu-text">Бекап</span>
                                    </a>
                                </li>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "ClearAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'ClearAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-trash"></em></span>
                                        <span class="nk-menu-text">Очистка</span>
                                    </a>
                                </li>
                                <?php }?>

                                                                <?php if (in_array("settings",$_smarty_tpl->tpl_vars['manager']->value->permissions) || in_array("managers",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-heading">
                                    <h6 class="overline-title text-primary-alt">Настройки</h6>
                                </li>

                                <?php if (in_array("settings",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "SettingsAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'SettingsAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-settings"></em></span>
                                        <span class="nk-menu-text">Основные настройки</span>
                                    </a>
                                </li>
                                <?php }?>

                                <?php if (in_array("managers",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "ManagersAdmin" || $_GET['module'] == "ManagerAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'ManagersAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-user-exclamation"></em></span>
                                        <span class="nk-menu-text">Менеджеры</span>
                                    </a>
                                </li>
                                <?php }?>
                                <?php }?>

                                <?php if (in_array("license",$_smarty_tpl->tpl_vars['manager']->value->permissions)) {?>
                                <li class="nk-menu-item <?php if ($_GET['module'] == "LicenseAdmin") {?>active<?php }?>">
                                    <a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('module'=>'LicenseAdmin'),$_smarty_tpl ) );?>
" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-license"></em></span>
                                        <span class="nk-menu-text">Лицензия</span>
                                    </a>
                                </li>
                                <?php }?>

                                                                <li class="nk-menu-item">
                                    <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
/admin/?logout=1" target="_blank" class="nk-menu-link">
                                        <span class="nk-menu-icon"><em class="icon ti ti-logout"></em></span>
                                        <span class="nk-menu-text">Выход</span>
                                    </a>
                                </li>

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

            </div>

            <div class="nk-main ">
                <div class="nk-wrap ">

                                        <div class="nk-header nk-header-fixed is-light d-xl-none">
                        <div class="container-fluid">
                            <div class="nk-header-wrap">

                                                                <div class="nk-menu-trigger d-xl-none ml-n1">
                                    <a href="#" class="nk-nav-toggle nk-quick-nav-icon" data-target="sidebarMenu">
                                        <em class="icon ti ti-menu-2"></em>
                                    </a>
                                </div>

                                                                <div class="nk-header-app-name align-self-stretch">
                                    <div class="nk-header-app-logo">
                                        <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
" target="_blank">
                                            <em class="icon bg-purple-dim">
                                                
                                                <svg xmlns="http://www.w3.org/2000/svg" id="logo" width="19" viewBox="0 0 30 30">
                                                    <path xmlns="http://www.w3.org/2000/svg" class="st1" d="M19.78,0H11.33V6.56h0v9h0c0,.06,0,.13,0,.19a3.84,3.84,0,1,0,1.51-3V6.05a10,10,0,1,1-7.65,9.71c0-.17,0-.33,0-.49h0V0H1.49A1.49,1.49,0,0,0,0,1.49V20.22A10.34,10.34,0,0,0,9.72,30H19.78A10.25,10.25,0,0,0,30,19.78V10.22A10.25,10.25,0,0,0,19.78,0Z"/>
                                                </svg>
                                                
                                            </em>
                                        </a>
                                    </div>
                                    <div class="nk-header-app-info">
                                        <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
" target="_blank">
                                            <span class="lead-text">
                                                Buyers CMS corporate
                                            </span>
                                            <span class="sub-text fw-medium">
                                                <?php echo $_smarty_tpl->tpl_vars['manager']->value->login;?>

                                            </span>
                                        </a>
                                    </div>
                                </div>

                                                                <div class="nk-header-tools">
                                    <ul class="nk-quick-nav">
                                                                                <li>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
/admin/?logout=1" target="_blank" class="nk-quick-nav-icon" data-toggle="tooltip" data-placement="top" data-original-title="Выход">
                                                <div class="icon-status icon-status-na"><em class="icon ti ti-logout"></em></div>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                                        <div class="nk-content">
                        <div class="nk-content-inner">
                            <div class="nk-content-body">
                                <div class="nk-content-wrap">
                                    <?php echo $_smarty_tpl->tpl_vars['content']->value;?>

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

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

                <?php echo '<script'; ?>
 src="admin/design/js/bundle.js"><?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="admin/design/js/scripts.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
 src="admin/design/js/jquery/jquery-ui.min.js"><?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="admin/design/js/jquery/jquery.cookie.js"><?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="admin/design/js/jquery/jquery-form.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
 src="admin/design/js/sortable/sortable.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
 src="admin/design/js/autocomplete/jquery.autocomplete-min.js"><?php echo '</script'; ?>
>
        <link href="admin/design/js/autocomplete/styles.css" rel="stylesheet">

                <link href="admin/design/js/colorpicker/bootstrap-colorpicker.css" rel="stylesheet">
        <?php echo '<script'; ?>
 src="admin/design/js/colorpicker/bootstrap-colorpicker.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
 src="admin/design/js/datepicker/datepicker-ru.js"><?php echo '</script'; ?>
>

                <link rel="stylesheet" href="admin/design/js/fancybox/jquery.fancybox.min.css" />
        <?php echo '<script'; ?>
 src="admin/design/js/fancybox/jquery.fancybox.min.js"><?php echo '</script'; ?>
>

                <link rel="stylesheet" href="admin/design/js/codemirror/codemirror.main.css">
        <?php echo '<script'; ?>
 src="admin/design/js/codemirror/codemirror.main.js"><?php echo '</script'; ?>
>

                <link rel="stylesheet" href="admin/design/js/highlight.js/styles.min.css"/>
        <?php echo '<script'; ?>
 src="admin/design/js/highlight.js/highlight.min.js"><?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="admin/design/js/highlight.js/xml.min.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
 src="/admin/design/js/tinymce/tinymce.min.js"><?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="/admin/design/js/tinymce.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
>service_url = "<?php echo $_smarty_tpl->tpl_vars['config']->value->root_url;?>
";<?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="/admin/design/js/tinydrive/tinydrive.min.js"><?php echo '</script'; ?>
>
        <?php echo '<script'; ?>
 src="/admin/design/js/filepicker.js"><?php echo '</script'; ?>
>

                <?php echo '<script'; ?>
 src="/admin/design/js/system.js"><?php echo '</script'; ?>
>
    </body>
</html>
<?php }
}
