344 lines
17 KiB
PHP
344 lines
17 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 08:51:44
|
||
compiled from "tpl/tpl_iup_sekdek.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:34465476962551370a44747-42638301%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'a65689f4af0be28ed19f6664a66ad062c6ea2679' =>
|
||
array (
|
||
0 => 'tpl/tpl_iup_sekdek.html',
|
||
1 => 1562235392,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '34465476962551370a44747-42638301',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'variables' =>
|
||
array (
|
||
'des' => 0,
|
||
'zayavks' => 0,
|
||
'it' => 0,
|
||
'statuses' => 0,
|
||
'zamdeknaprav' => 0,
|
||
'zd' => 0,
|
||
'zayavka' => 0,
|
||
'fl' => 0,
|
||
'kol' => 0,
|
||
'k' => 0,
|
||
'predmet' => 0,
|
||
'chat' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_62551370aaee35_08291412',
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_62551370aaee35_08291412')) {function content_62551370aaee35_08291412($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['des']->value=="show"){?>
|
||
<div class="row-fluid">
|
||
<form name="search" method="post" action="">
|
||
<div class="span2"><label>Поиск по ФИО:</label></div>
|
||
<div class="span3"><input type="text" name="fio" class="form-control" /></div>
|
||
<div class="span2"><input type="submit" class="btn btn-success" name="search" value="Поиск" /></div>
|
||
<div class="span5"></div>
|
||
</form>
|
||
</div>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
|
||
<div class="widget blue">
|
||
<div class="widget-title">
|
||
<h4><i class="icon-reorder"></i>4.1 Интерфейс секретаря деканата</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead>
|
||
<tr>
|
||
<th>№</th>
|
||
<th>Дата</th>
|
||
<th>ФИО</th>
|
||
<th>Предыдущее образование</th>
|
||
<th>Образовательное учреждение</th>
|
||
<th>Претендую на</th>
|
||
<th>Курс</th>
|
||
<th>Форма</th>
|
||
<th></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['it']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['zayavks']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
|
||
$_smarty_tpl->tpl_vars['it']->_loop = true;
|
||
?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['data_c'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['fio'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['pred_obraz'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['obraz_uchr'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['it']->value['perevod']==1){?><span class="label label-info">ПЕРЕВОД</span><?php }?> <?php echo $_smarty_tpl->tpl_vars['it']->value['pret_naprav'];?>
|
||
<?php if ($_smarty_tpl->tpl_vars['it']->value['znomer']!=''){?><span class="label label-warning">Приказ №<?php echo $_smarty_tpl->tpl_vars['it']->value['znomer'];?>
|
||
от <?php echo $_smarty_tpl->tpl_vars['it']->value['zdata'];?>
|
||
</span><?php }?></td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['pret_kurs'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['it']->value['pret_fo'];?>
|
||
</td>
|
||
<td nowarp>
|
||
<a class="btn btn-info tooltips" href="/iup/sekdek/attved1/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
/" target="_blank" data-placement="top" data-original-title="протокол решения аттестационной комиссии"><i class="icon-print"></i></a><a class="btn btn-primary tooltips" href="/iup/sekdek/attved2/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
/" target="_blank" data-placement="top" data-original-title="аттестационная ведомость"><i class="icon-print"></i></a>
|
||
<?php if ($_smarty_tpl->tpl_vars['it']->value['perevod']==1){?><a class="btn btn-success tooltips" href="/iup/sekdek/attved3/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
/" target="_blank" data-placement="top" data-original-title="перечень"><i class="icon-print"></i></a><?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['it']->value['status']==5){?>
|
||
<a class="btn btn-info tooltips" data-trigger="hover" data-original-title="Сотрудник уму указал что, заявка готова" href="/iup/sekdek/edit/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
/"><i class="icon-pencil"></i></a>
|
||
<?php }else{ ?>
|
||
<?php if ($_smarty_tpl->tpl_vars['it']->value['status']==6){?>
|
||
<a class="btn btn-success tooltips" data-trigger="hover" data-original-title="Студент подписал заявку" href="/iup/sekdek/edit/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
/"><i class="icon-pencil"></i></a>
|
||
<?php }else{ ?>
|
||
<?php echo $_smarty_tpl->tpl_vars['statuses']->value[$_smarty_tpl->tpl_vars['it']->value['status']];?>
|
||
|
||
<?php }?>
|
||
<?php }?>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td colspan="5">Всего оценок: <span class="badge badge-info"><?php echo $_smarty_tpl->tpl_vars['it']->value['ocenki']['all'];?>
|
||
</span>, выставлено: <span class="badge"><?php echo $_smarty_tpl->tpl_vars['it']->value['ocenki']['iss'];?>
|
||
</span> атт.ком.: <span class="badge"><?php echo $_smarty_tpl->tpl_vars['it']->value['attkom']['iss'];?>
|
||
</span></td>
|
||
<td colspan="3">
|
||
<?php if ($_smarty_tpl->tpl_vars['it']->value['status']==5){?><a href="/iup/lkumu/print1/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
/" target="_blank">Отчет по студенту</a><?php }?>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<hr>
|
||
<p><b>Ваши направления на факультете, выбранные из "расчета часов"</b>:<br>
|
||
<?php $_smarty_tpl->tpl_vars['zd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['zd']->_loop = false;
|
||
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
||
$_from = $_smarty_tpl->tpl_vars['zamdeknaprav']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo']['iteration']=0;
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['zd']->key => $_smarty_tpl->tpl_vars['zd']->value){
|
||
$_smarty_tpl->tpl_vars['zd']->_loop = true;
|
||
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['zd']->key;
|
||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo']['iteration']++;
|
||
?>
|
||
<b><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['foo']['iteration'];?>
|
||
</b>. <?php echo $_smarty_tpl->tpl_vars['zd']->value;?>
|
||
;
|
||
<?php } ?></p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['des']->value=="edit"){?>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="widget blue">
|
||
<div class="widget-title">
|
||
<h4><i class="icon-reorder"></i>5.2. Интерфейс работника УМУ окно информация о студенте</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead>
|
||
<tr>
|
||
<th>Данные</th>
|
||
<th>Приложения</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<table class="table table-hover">
|
||
<tbody>
|
||
<tr><td width="25%">ФИО:</td><td width="25%"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['fio'];?>
|
||
</b></td><td width="25%">Тел:</td><td width="25%"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['tel'];?>
|
||
</b></td></tr>
|
||
<tr><td colspan="2">Предыдущее образование:</td><td colspan="2"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['pred_obraz'];?>
|
||
</b></td></tr>
|
||
<tr><td colspan="2">Образовательное учреждение:</td><td colspan="2"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['obraz_uchr'];?>
|
||
</b></td></tr>
|
||
<tr><td colspan="4">Приложения к диплому:</td></tr>
|
||
<tr><td style="text-align:right;">Серия:</td><td><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['diplom_seriya'];?>
|
||
</b></td>
|
||
<td style="text-align:right;">Номер:</td><td><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['diplom_nomer'];?>
|
||
</b></td></tr>
|
||
<tr><td colspan="2" style="text-align:right;">от:</td><td colspan="2"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['diplom_data'];?>
|
||
</b></td></tr>
|
||
<tr><td colspan="4">Претендую на обучение:</td></tr>
|
||
<tr><td colspan="2"style="text-align:right;">Направление:</td><td colspan="2"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['pret_naprav'];?>
|
||
</b></td></tr>
|
||
<tr><td style="text-align:right;">Курс:</td><td><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['pret_kurs'];?>
|
||
</b></td>
|
||
<td style="text-align:right;">Форма обучения:</td><td><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['pret_fo'];?>
|
||
</b></td></tr>
|
||
<?php if (isset($_smarty_tpl->tpl_vars['zayavka']->value['pret_format'])){?><tr><td colspan="2">Финансирование:</td><td colspan="2"><b><?php echo $_smarty_tpl->tpl_vars['zayavka']->value['pret_format'];?>
|
||
</b></td></tr><?php }?>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
<td>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<?php if (isset($_smarty_tpl->tpl_vars['zayavka']->value['files'])){?><div class="row-fluid">
|
||
<?php $_smarty_tpl->tpl_vars['kol'] = new Smarty_variable(0, null, 0);?>
|
||
<?php $_smarty_tpl->tpl_vars['fl'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['fl']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['zayavka']->value['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['fl']->key => $_smarty_tpl->tpl_vars['fl']->value){
|
||
$_smarty_tpl->tpl_vars['fl']->_loop = true;
|
||
?><div class="span4" style="position:relative;">
|
||
<a href="/<?php echo $_smarty_tpl->tpl_vars['fl']->value['file'];?>
|
||
" data-lightbox="roadtrip"><img src="/<?php echo $_smarty_tpl->tpl_vars['fl']->value['file'];?>
|
||
" alt="<?php echo $_smarty_tpl->tpl_vars['fl']->value['tipfile'];?>
|
||
" class="img img-responsive media-object" style="min-height:120px;max-height:120px;"/></a>
|
||
<div class="" style="position:absolute;top:0px;right:0px;">
|
||
<a class="btn btn-success" href="/<?php echo $_smarty_tpl->tpl_vars['fl']->value['file'];?>
|
||
" data-lightbox="roadtrip"><i class="icon-eye-open"></i></a><br>
|
||
<a class="btn btn-primary" href="/<?php echo $_smarty_tpl->tpl_vars['fl']->value['file'];?>
|
||
" target="_blank" style="margin-top:5px;"><i class="icon-download-alt"></i></a>
|
||
</div>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<p class="info"><span class="small"><?php echo $_smarty_tpl->tpl_vars['fl']->value['data_c'];?>
|
||
</span><br><?php echo $_smarty_tpl->tpl_vars['fl']->value['tipfile'];?>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--<?php echo $_smarty_tpl->tpl_vars['kol']->value++;?>
|
||
--><?php if ($_smarty_tpl->tpl_vars['kol']->value==3){?></div><div class="row-fluid"><?php $_smarty_tpl->tpl_vars['kol'] = new Smarty_variable(0, null, 0);?><?php }?>
|
||
<?php } ?>
|
||
</div><?php }?>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<form action="" class="form-horizontal" method="POST" enctype="multipart/form-data">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead>
|
||
<tr>
|
||
<th>№п/п</th>
|
||
<th>Дисциплина</th>
|
||
<th>Семестр</th>
|
||
<th>Оценка</th>
|
||
<th>Решение атт.ком</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['predmet'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['predmet']->_loop = false;
|
||
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
||
$_from = $_smarty_tpl->tpl_vars['zayavka']->value['predmets']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['predmet']->key => $_smarty_tpl->tpl_vars['predmet']->value){
|
||
$_smarty_tpl->tpl_vars['predmet']->_loop = true;
|
||
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['predmet']->key;
|
||
?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
|
||
</td>
|
||
<td>
|
||
<?php echo $_smarty_tpl->tpl_vars['predmet']->value['name_disp'];?>
|
||
|
||
<input type="HIDDEN" name="predmets_n[<?php echo $_smarty_tpl->tpl_vars['predmet']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['predmet']->value['name_disp'];?>
|
||
" />
|
||
</td>
|
||
<td>-</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['predmet']->value['ocenka0'];?>
|
||
</td>
|
||
<td>
|
||
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenka1']==1){?>перезачет<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenka1']==2){?>переаттестация<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenka1']==3){?>несоответствие<?php }?>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<h3>Файлы для сотрудников УМУ</h3>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<?php if (isset($_smarty_tpl->tpl_vars['zayavka']->value['filesk'])){?><div class="row-fluid">
|
||
<?php $_smarty_tpl->tpl_vars['fl'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['fl']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['zayavka']->value['filesk']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['fl']->key => $_smarty_tpl->tpl_vars['fl']->value){
|
||
$_smarty_tpl->tpl_vars['fl']->_loop = true;
|
||
?><div class="span12">
|
||
<p class="info">
|
||
<span class="badge small"><?php echo $_smarty_tpl->tpl_vars['fl']->value['data_c'];?>
|
||
</span> <a href="/<?php echo $_smarty_tpl->tpl_vars['fl']->value['file'];?>
|
||
" alt="<?php echo $_smarty_tpl->tpl_vars['fl']->value['tipfile'];?>
|
||
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['fl']->value['namefile'];?>
|
||
</a></p>
|
||
</div><?php } ?>
|
||
</div><?php }?>
|
||
</div>
|
||
</div>
|
||
<h3>Чат с сотрудником кафедры</h3>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="chat row-fluid"><?php $_smarty_tpl->tpl_vars['chat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['chat']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['zayavka']->value['chat_umu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['chat']->key => $_smarty_tpl->tpl_vars['chat']->value){
|
||
$_smarty_tpl->tpl_vars['chat']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['chat']->value['status']==1){?>
|
||
<div class="span12" style="margin-left:0!important;"><span class="badge"><?php echo $_smarty_tpl->tpl_vars['chat']->value['data_c'];?>
|
||
</span> <span class="badge badge-info"><?php echo $_smarty_tpl->tpl_vars['chat']->value['fiouser'];?>
|
||
</span> <?php echo $_smarty_tpl->tpl_vars['chat']->value['text'];?>
|
||
</div>
|
||
<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['chat']->value['status']==2){?>
|
||
<div class="span12" style="margin-left:30px!important;"><span class="badge"><?php echo $_smarty_tpl->tpl_vars['chat']->value['data_c'];?>
|
||
</span> <?php echo $_smarty_tpl->tpl_vars['chat']->value['text'];?>
|
||
</div>
|
||
<?php }?>
|
||
<?php } ?></div>
|
||
<div class="chat_input">
|
||
<input type="text" class="span12 tooltips" data-trigger="hover" data-original-title="Напишите сотруднику УМУ сообщение" name="chat_umu" value="" placeholder="введите сообщение"/>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<hr>
|
||
<div class="row-fluid">
|
||
<div class="span4">
|
||
|
||
<button type="submit" name="sekdek_gotovo" class="btn btn-warning">Студент написал заявление</button>
|
||
</div>
|
||
<div class="span4">
|
||
<?php if ($_smarty_tpl->tpl_vars['zayavka']->value['status']==5){?><label class="control-label">Вернуть УМУ</label>
|
||
<div class="controls">
|
||
<div class="toggle-button0" dt-en="ДА" dt-ds="НЕТ">
|
||
<input type="checkbox" name="sekdek_vernutkaf" value="1">
|
||
</div>
|
||
</div><?php }?>
|
||
</div>
|
||
<div class="span4">
|
||
<button type="submit" name="sekdek_zaversh" class="btn btn-warning">Сохранить</button>
|
||
<input type="HIDDEN" name="id_zayavka" value="<?php echo $_smarty_tpl->tpl_vars['zayavka']->value['id'];?>
|
||
">
|
||
</div>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php }?><?php }} ?>
|