383 lines
20 KiB
PHP
383 lines
20 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-11-21 10:06:26
|
|||
|
compiled from "tpl/tpl_iup_lkumu.html" */ ?>
|
|||
|
<?php /*%%SmartyHeaderCode:25991251462551e12403478-47647256%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|||
|
'file_dependency' =>
|
|||
|
array (
|
|||
|
'8597a09c748b7f8c1c5fc9797d68a66e7f89dd6b' =>
|
|||
|
array (
|
|||
|
0 => 'tpl/tpl_iup_lkumu.html',
|
|||
|
1 => 1669014381,
|
|||
|
2 => 'file',
|
|||
|
),
|
|||
|
),
|
|||
|
'nocache_hash' => '25991251462551e12403478-47647256',
|
|||
|
'function' =>
|
|||
|
array (
|
|||
|
),
|
|||
|
'version' => 'Smarty-3.1.13',
|
|||
|
'unifunc' => 'content_62551e1246cdf3_65617338',
|
|||
|
'variables' =>
|
|||
|
array (
|
|||
|
'des' => 0,
|
|||
|
'search_fio' => 0,
|
|||
|
'statuses' => 0,
|
|||
|
'k' => 0,
|
|||
|
'status' => 0,
|
|||
|
'zayavks' => 0,
|
|||
|
'it' => 0,
|
|||
|
'zamdeknaprav' => 0,
|
|||
|
'zd' => 0,
|
|||
|
'zayavka' => 0,
|
|||
|
'fl' => 0,
|
|||
|
'kol' => 0,
|
|||
|
'predmet' => 0,
|
|||
|
'chat' => 0,
|
|||
|
),
|
|||
|
'has_nocache_code' => false,
|
|||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|||
|
<?php if ($_valid && !is_callable('content_62551e1246cdf3_65617338')) {function content_62551e1246cdf3_65617338($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['des']->value=="show"){?>
|
|||
|
<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">
|
|||
|
<form method="POST">
|
|||
|
<div class="row-fluid">
|
|||
|
<div class="span1"><p>Искать по части ФИО:</p></div>
|
|||
|
<div class="span2"><input type="TEXT" name="search_fio" class="form-control" placeholder="введите фамилию" value="<?php echo $_smarty_tpl->tpl_vars['search_fio']->value;?>
|
|||
|
"></div>
|
|||
|
<div class="span2">
|
|||
|
<button type="submit" name="search_goall" class="btn btn-success">Все</button> <input type="submit" name="search_go" class="btn btn-info" value="Искать">
|
|||
|
</div>
|
|||
|
<div class="span5">
|
|||
|
<button type="submit" name="filterstatus" class="btn btn-danger" value="0">Все</button>
|
|||
|
<?php $_smarty_tpl->tpl_vars['status'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['status']->_loop = false;
|
|||
|
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['statuses']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|||
|
foreach ($_from as $_smarty_tpl->tpl_vars['status']->key => $_smarty_tpl->tpl_vars['status']->value){
|
|||
|
$_smarty_tpl->tpl_vars['status']->_loop = true;
|
|||
|
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['status']->key;
|
|||
|
?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['k']->value>=3){?>
|
|||
|
<button type="submit" name="filterstatus" class="btn btn-warning" value="<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
|
|||
|
"><?php echo $_smarty_tpl->tpl_vars['status']->value;?>
|
|||
|
</button>
|
|||
|
<?php }?>
|
|||
|
<?php } ?>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
<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'];?>
|
|||
|
</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 nowrap>
|
|||
|
<a class="btn btn-info tooltips" href="/iup/lkumu/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/lkumu/attved2/<?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-danger tooltips" href="/iup/lkumu/attved4/<?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['status']==3){?><a class="btn btn-primary tooltips" data-trigger="hover" data-original-title="Заявка еще не готова, но можно общаться с сотрудником кафедры!" href="/iup/lkumu/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']==4){?><a class="btn btn-success tooltips" data-trigger="hover" data-original-title="Сотрудник кафедры указал что, заявка готова" href="/iup/lkumu/edit/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
|||
|
/"><i class="icon-pencil"></i></a><?php }else{ ?><a class="btn btn-success tooltips" data-trigger="hover" data-original-title="все готово" href="/iup/lkumu/edit/<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
|||
|
/"><i class="icon-pencil"></i></a><?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']==4){?><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 width="5%">№п/п</th>
|
|||
|
<th width="5%">Код</th>
|
|||
|
<th width="5%">Курс<br>Семестр</th>
|
|||
|
<th width="25%">Дисциплина</th>
|
|||
|
<th width="15%">Преподаватель</th>
|
|||
|
<th width="5%">З.Е.</th>
|
|||
|
<th width="5%">Тип</th>
|
|||
|
<th width="10%">-</th>
|
|||
|
<th width="10%">Оценка</th>
|
|||
|
<th width="15%">Комментарий</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['discid'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['predmet']->value['kurs'];?>
|
|||
|
/<?php echo $_smarty_tpl->tpl_vars['predmet']->value['sem'];?>
|
|||
|
</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>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['prepodfio']!=''){?><?php echo $_smarty_tpl->tpl_vars['predmet']->value['prepodfio'];?>
|
|||
|
|
|||
|
<?php }else{ ?><span class="label label-danger">не указан</span><?php }?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['predmet']->value['zet'];?>
|
|||
|
</td>
|
|||
|
<td><?php if ($_smarty_tpl->tpl_vars['predmet']->value['ekz']!=''){?><span class="text-error">Э</span><?php }?><?php if ($_smarty_tpl->tpl_vars['predmet']->value['zach']!=''){?><span class="text-success">З</span><?php }?> <span class="text-info"><?php if ($_smarty_tpl->tpl_vars['predmet']->value['kpro']!=''){?>КП<?php }?><?php if ($_smarty_tpl->tpl_vars['predmet']->value['krab']!=''){?>КР<?php }?></span></td>
|
|||
|
<td>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==1){?><b class="text-info">Перезачет</b><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==2){?><b class="text-warning">Переаттестация</b><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==3){?><b class="text-error">нет соответствия</b><?php }?>
|
|||
|
</td>
|
|||
|
<td>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==1){?><b class="text-info"><?php echo $_smarty_tpl->tpl_vars['predmet']->value['ocenki']['ocenka'];?>
|
|||
|
</b><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==2){?><?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['ocenka']!=''){?><b class="text-warning"><?php echo $_smarty_tpl->tpl_vars['predmet']->value['ocenki']['ocenka'];?>
|
|||
|
</b><?php }else{ ?><b class="text-warning">пока нет</b><?php }?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==3){?>-<?php }?>
|
|||
|
</td>
|
|||
|
<td>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['predmet']->value['ocenki']['tip']==2){?>Время: <?php echo date("H:i d.m.Y",$_smarty_tpl->tpl_vars['predmet']->value['ocenki']['data_time']);?>
|
|||
|
<br><?php }?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['predmet']->value['ocenki']['comment'];?>
|
|||
|
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<?php } ?>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h3>Файлы для сотрудников УМУ</h3>
|
|||
|
<div class="row-fluid">
|
|||
|
<div class="span6">
|
|||
|
<label class="control-label">Прикрепить файл для кафедры</label>
|
|||
|
<div class="controls">
|
|||
|
<input type="FILE" name="umu_file">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="span6">
|
|||
|
<?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="/downloadfile.php?dwfile=/<?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> <?php if ($_smarty_tpl->tpl_vars['fl']->value['status']==2){?><input type="CHECKBOX" name="del_file[<?php echo $_smarty_tpl->tpl_vars['fl']->value['id'];?>
|
|||
|
]" class="tooltips" data-trigger="hover" data-original-title="Удалить файл из заявки" data-placement="top" > - удалить файл<?php }?></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="lkumu_vernutkaf" class="btn btn-danger">Вернуть кафедре</button>
|
|||
|
</div>
|
|||
|
<div class="span4">
|
|||
|
<button type="submit" name="lkumu_gotovo" class="btn btn-success">Закончить редактирование</button>
|
|||
|
</div>
|
|||
|
<div class="span4">
|
|||
|
<button type="submit" name="lkumu_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 }} ?>
|