312 lines
14 KiB
PHP
312 lines
14 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-05-13 11:45:16
|
||
compiled from "tpl/tpl_iup_studkadr.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:1890869264627e1a9c303e72-64456978%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'b05a615e6ca073feb83ff1bee9bd17ccc6a7ab6e' =>
|
||
array (
|
||
0 => 'tpl/tpl_iup_studkadr.html',
|
||
1 => 1553711658,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '1890869264627e1a9c303e72-64456978',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'variables' =>
|
||
array (
|
||
'des' => 0,
|
||
'zayavks' => 0,
|
||
'it' => 0,
|
||
'zayavka' => 0,
|
||
'fl' => 0,
|
||
'kol' => 0,
|
||
'k' => 0,
|
||
'predmet' => 0,
|
||
'chat' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_627e1a9c3812b6_68271632',
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_627e1a9c3812b6_68271632')) {function content_627e1a9c3812b6_68271632($_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>Интерфейс управление студ-кадрами</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 width="5%">№</th>
|
||
<th width="10%">Дата</th>
|
||
<th width="15%">ФИО</th>
|
||
<th width="20%">Претендую на</th>
|
||
<th width="5%">Курс</th>
|
||
<th width="5%">Форма</th>
|
||
<th width="15%">ТИП</th>
|
||
<th width="10%">№приказа</th>
|
||
<th width="10%">дата приказа</th>
|
||
<th width="5%"></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><b><?php echo $_smarty_tpl->tpl_vars['it']->value['ppp'][1];?>
|
||
</b> <?php echo $_smarty_tpl->tpl_vars['it']->value['ppp'][2];?>
|
||
<i><?php echo $_smarty_tpl->tpl_vars['it']->value['ppp'][3];?>
|
||
</i></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><?php echo $_smarty_tpl->tpl_vars['it']->value['pret_format'];?>
|
||
</td>
|
||
<td><input type="text" class="form-control" id="znomer_<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
" value="<?php echo $_smarty_tpl->tpl_vars['it']->value['znomer'];?>
|
||
" style="width: 98%;"></td>
|
||
<td><input type="text" class="form-control" id="zdata_<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
" value="<?php echo $_smarty_tpl->tpl_vars['it']->value['zdata'];?>
|
||
" style="width: 98%;"></td>
|
||
<td nowrap>
|
||
<a class="btn btn-info tooltips zsave" data-trigger="hover" data-original-title="Сохранить № и дату" href="#" id="zsave_<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
"><i class="icon-save"></i></a><span id="mess_<?php echo $_smarty_tpl->tpl_vars['it']->value['id'];?>
|
||
"></span>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script>$(document).ready(function(){
|
||
$(".zsave").click(function(){
|
||
var id = $(this).attr("id").split("_");
|
||
var nomer = $("#znomer_"+id[1]).val();
|
||
var data = $("#zdata_"+id[1]).val();
|
||
$.ajax({
|
||
url: '/json.php',dataType:'json',type:'POST',async:false,data:'ajdes=studkadr_save&id='+id[1]+'&nomer='+nomer+'&data='+data,
|
||
success: function(data){
|
||
if(data.err==0) $("#mess_"+id[1]).html("да");
|
||
else $("#mess_"+id[1]).html("нет");
|
||
}
|
||
});
|
||
return false;
|
||
});
|
||
});</script>
|
||
<?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 }} ?>
|