107 lines
8.4 KiB
PHP
107 lines
8.4 KiB
PHP
|
<?php
|
|||
|
/* Smarty version 4.0.0-rc.0, created on 2023-09-19 11:25:55
|
|||
|
from '/home/admin/web/eios.mkgtu.ru/public_html/rabprog/tpl/mod_sidebarMenu.html' */
|
|||
|
|
|||
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|||
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|||
|
'version' => '4.0.0-rc.0',
|
|||
|
'unifunc' => 'content_65095b131691c6_55020804',
|
|||
|
'has_nocache_code' => false,
|
|||
|
'file_dependency' =>
|
|||
|
array (
|
|||
|
'574dbaeff3252324edcb907ea05b5277accfd5e3' =>
|
|||
|
array (
|
|||
|
0 => '/home/admin/web/eios.mkgtu.ru/public_html/rabprog/tpl/mod_sidebarMenu.html',
|
|||
|
1 => 1694986378,
|
|||
|
2 => 'file',
|
|||
|
),
|
|||
|
),
|
|||
|
'includes' =>
|
|||
|
array (
|
|||
|
),
|
|||
|
),false)) {
|
|||
|
function content_65095b131691c6_55020804 (Smarty_Internal_Template $_smarty_tpl) {
|
|||
|
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/admin/web/eios.mkgtu.ru/public_html/rabprog/inc/smarty/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),));
|
|||
|
?>
|
|||
|
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
|
|||
|
<div class="position-sticky pt-3">
|
|||
|
<ul class="nav flex-column">
|
|||
|
<li class="nav-item"><a class="nav-link <?php if (!count($_smarty_tpl->tpl_vars['CHPU']->value)) {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/">Главная</a></li>
|
|||
|
<?php if ((isset($_smarty_tpl->tpl_vars['aUSER']->value['statuses'][20]))) {?>
|
|||
|
<li class="nav-item" style="padding-left: 24px;font-size: 10px;color: gray;">уму</li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "shahtplans") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/shahtplans/">Учебные планы</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "shahtplans_pravka") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/shahtplans_pravka/">Учебные планы ПРАВКА</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "moduls") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/moduls/">Модули</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "obrtech") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/obrtech/">Образовательные технологии</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "fakkaf") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/fakkaf/">Факультеты-кафедры</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "discchangeprepod") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/discchangeprepod/">Смена преподавателя РПД</a></li>
|
|||
|
<?php }?>
|
|||
|
<?php if ((isset($_smarty_tpl->tpl_vars['aUSER']->value['statuses'][30]))) {?>
|
|||
|
<li class="nav-item" style="padding-left: 24px;font-size: 10px;color: gray;">зав.каф.</li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "komp_models") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/komp_models/">Комп.модели</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "komp_models_sem") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/komp_models_sem/">Этапы формирования компетенций</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "disciplins") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/disciplins/">Дисциплины</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "report_fosy") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/report_fosy/" target="_blank">Список ФОС</a></li>
|
|||
|
<?php }?>
|
|||
|
<?php if ((isset($_smarty_tpl->tpl_vars['aUSER']->value['statuses'][79])) || (isset($_smarty_tpl->tpl_vars['aUSER']->value['statuses'][30]))) {?>
|
|||
|
<li class="nav-item" style="padding-left: 24px;font-size: 10px;color: gray;">проректор УР, зав.каф.</li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "rpdsign") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/rpdsign/">РПД на подпись</a></li>
|
|||
|
<?php }?>
|
|||
|
<?php if ((isset($_smarty_tpl->tpl_vars['aUSER']->value['statuses'][29]))) {?>
|
|||
|
<li class="nav-item" style="padding-left: 24px;font-size: 10px;color: gray;">Библиотека</li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "lib_check") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/lib_check/">Проверка лит.</a></li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "lib_check_bib") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/lib_check_bib/">Проверенные лит.</a></li>
|
|||
|
<?php }?>
|
|||
|
<li class="nav-item" style="padding-left: 24px;font-size: 10px;color: gray;">преподаватель</li>
|
|||
|
<li class="nav-item"><a class="nav-link <?php if ($_smarty_tpl->tpl_vars['CHPU']->value[0] == "rpd") {?>active" aria-current="page<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/rpd/">Разработка РПД</a></li>
|
|||
|
</ul>
|
|||
|
<div class="fixed-bottom" style="width: fit-content;">
|
|||
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
|
|||
|
<span>Пользователь</span>
|
|||
|
</h6>
|
|||
|
<ul class="nav flex-column">
|
|||
|
<li class="nav-item" style="margin: 0.1rem 1rem;"><span data-bs-toggle="tooltip" data-bs-placement="top" title="<?php echo $_smarty_tpl->tpl_vars['aUSER']->value['fio'];?>
|
|||
|
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['aUSER']->value['fio'],20);?>
|
|||
|
</span></li>
|
|||
|
<li class="nav-item" style="margin: 0.1rem 1rem;"><span data-bs-toggle="tooltip" data-bs-placement="top" title="<?php echo $_smarty_tpl->tpl_vars['aUSER']->value['teachers']['dolgnost'];?>
|
|||
|
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['aUSER']->value['teachers']['dolgnost'],20);?>
|
|||
|
</span></li>
|
|||
|
<li class="nav-item" style="margin: 0.1rem 1rem;"><span data-bs-toggle="tooltip" data-bs-placement="top" title="<?php echo $_smarty_tpl->tpl_vars['aUSER']->value['teachers']['fakultet'];?>
|
|||
|
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['aUSER']->value['teachers']['fakultet'],20);?>
|
|||
|
</span></li>
|
|||
|
<li class="nav-item" style="margin: 0.1rem 1rem;"><span data-bs-toggle="tooltip" data-bs-placement="top" title="<?php echo $_smarty_tpl->tpl_vars['aUSER']->value['teachers']['kafedra'];?>
|
|||
|
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['aUSER']->value['teachers']['kafedra'],20);?>
|
|||
|
</span></li>
|
|||
|
<li class="nav-item" style="margin: 0.1rem 1rem;"><span data-bs-toggle="tooltip" data-bs-placement="top" title="<?php
|
|||
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['aUSER']->value['statuses'], 'status');
|
|||
|
$_smarty_tpl->tpl_vars['status']->do_else = true;
|
|||
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['status']->value) {
|
|||
|
$_smarty_tpl->tpl_vars['status']->do_else = false;
|
|||
|
echo $_smarty_tpl->tpl_vars['status']->value;?>
|
|||
|
; <?php
|
|||
|
}
|
|||
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>">Полномочия</span></li>
|
|||
|
<li class="nav-item"><a class="nav-link" href="<?php echo $_smarty_tpl->tpl_vars['TPL']->value;?>
|
|||
|
/logout/">Выход</a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
<?php }
|
|||
|
}
|