EIOS/tpl/tpl_iup_studkadr.html

213 lines
8.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{if $des=="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>
{foreach from=$zayavks item=it}
<tr>
<td>{$it.id}</td>
<td>{$it.data_c}</td>
<td>{$it.fio}</td>
<td><b>{$it.ppp[1]}</b> {$it.ppp[2]} <i>{$it.ppp[3]}</i></td>
<td>{$it.pret_kurs}</td>
<td>{$it.pret_fo}</td>
<td>{$it.pret_format}</td>
<td><input type="text" class="form-control" id="znomer_{$it.id}" value="{$it.znomer}" style="width: 98%;"></td>
<td><input type="text" class="form-control" id="zdata_{$it.id}" value="{$it.zdata}" style="width: 98%;"></td>
<td nowrap>
<a class="btn btn-info tooltips zsave" data-trigger="hover" data-original-title="Сохранить № и дату" href="#" id="zsave_{$it.id}"><i class="icon-save"></i></a><span id="mess_{$it.id}"></span>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div>
{literal}<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>{/literal}
{/if}
{if $des=="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>{$zayavka.fio}</b></td><td width="25%">Тел:</td><td width="25%"><b>{$zayavka.tel}</b></td></tr>
<tr><td colspan="2">Предыдущее образование:</td><td colspan="2"><b>{$zayavka.pred_obraz}</b></td></tr>
<tr><td colspan="2">Образовательное учреждение:</td><td colspan="2"><b>{$zayavka.obraz_uchr}</b></td></tr>
<tr><td colspan="4">Приложения к диплому:</td></tr>
<tr><td style="text-align:right;">Серия:</td><td><b>{$zayavka.diplom_seriya}</b></td>
<td style="text-align:right;">Номер:</td><td><b>{$zayavka.diplom_nomer}</b></td></tr>
<tr><td colspan="2" style="text-align:right;">от:</td><td colspan="2"><b>{$zayavka.diplom_data}</b></td></tr>
<tr><td colspan="4">Претендую на обучение:</td></tr>
<tr><td colspan="2"style="text-align:right;">Направление:</td><td colspan="2"><b>{$zayavka.pret_naprav}</b></td></tr>
<tr><td style="text-align:right;">Курс:</td><td><b>{$zayavka.pret_kurs}</b></td>
<td style="text-align:right;">Форма обучения:</td><td><b>{$zayavka.pret_fo}</b></td></tr>
{if isset($zayavka.pret_format)}<tr><td colspan="2">Финансирование:</td><td colspan="2"><b>{$zayavka.pret_format}</b></td></tr>{/if}
</tbody>
</table>
</td>
<td>
<div class="row-fluid">
<div class="span12">
{if isset($zayavka.files)}<div class="row-fluid">
{assign var=kol value=0}
{foreach from=$zayavka.files item=fl}<div class="span4" style="position:relative;">
<a href="/{$fl.file}" data-lightbox="roadtrip"><img src="/{$fl.file}" alt="{$fl.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="/{$fl.file}" data-lightbox="roadtrip"><i class="icon-eye-open"></i></a><br>
<a class="btn btn-primary" href="/{$fl.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">{$fl.data_c}</span><br>{$fl.tipfile}</p>
</div>
</div>
</div>
<!--{$kol++}-->{if $kol==3}</div><div class="row-fluid">{assign var=kol value=0}{/if}
{/foreach}
</div>{/if}
</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>
{foreach from=$zayavka.predmets item=predmet key=k}
<tr>
<td>{$k+1}</td>
<td>
{$predmet.name_disp}
<input type="HIDDEN" name="predmets_n[{$predmet.id}]" value="{$predmet.name_disp}" />
</td>
<td>-</td>
<td>{$predmet.ocenka0}</td>
<td>
{if $predmet.ocenka1==1}перезачет{/if}
{if $predmet.ocenka1==2}переаттестация{/if}
{if $predmet.ocenka1==3}несоответствие{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
<h3>Файлы для сотрудников УМУ</h3>
<div class="row-fluid">
<div class="span12">
{if isset($zayavka.filesk)}<div class="row-fluid">
{foreach from=$zayavka.filesk item=fl}<div class="span12">
<p class="info">
<span class="badge small">{$fl.data_c}</span> <a href="/{$fl.file}" alt="{$fl.tipfile}" target="_blank">{$fl.namefile}</a></p>
</div>{/foreach}
</div>{/if}
</div>
</div>
<h3>Чат с сотрудником кафедры</h3>
<div class="row-fluid">
<div class="span12">
<div class="chat row-fluid">{foreach from=$zayavka.chat_umu item=chat}
{if $chat.status==1}
<div class="span12" style="margin-left:0!important;"><span class="badge">{$chat.data_c}</span> <span class="badge badge-info">{$chat.fiouser}</span> {$chat.text}</div>
{/if}
{if $chat.status==2}
<div class="span12" style="margin-left:30px!important;"><span class="badge">{$chat.data_c}</span> {$chat.text}</div>
{/if}
{/foreach}</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">
{*<label class="control-label">Студент написал заявление?</label>
<div class="controls">
<div class="toggle-button0" dt-en="ДА" dt-ds="НЕТ">
<input type="checkbox" name="sekdek_gotovo" value="1">
</div>
</div>*}
<button type="submit" name="sekdek_gotovo" class="btn btn-warning">Студент написал заявление</button>
</div>
<div class="span4">
{if $zayavka.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>{/if}
</div>
<div class="span4">
<button type="submit" name="sekdek_zaversh" class="btn btn-warning">Сохранить</button>
<input type="HIDDEN" name="id_zayavka" value="{$zayavka.id}">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{/if}