EIOS/tpl/tpl_window_order.html

148 lines
5.1 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.

<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Заказать справку</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active"><a href="/window/order/">Единое окно</a></li>
</ul>
</div>
</div>
{if ($msg == 1)}
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Справка заказана!</strong>
</div>
{/if}
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget green">
<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">
<form name="order_window" action="#" method="post" class="form-horizontal">
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">ФИО</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="text" name="fio" class="form-control" style="width: 90%;" value="{$fio}" readonly required />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Номер телефона</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="text" name="phone" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Справка</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<select class="form-control" name="type" style="width: 90%;">
{foreach from=$types item=type key=k}
<option value="{$type.name}">{$type.name}</option>
{/foreach}
</select>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Группа</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<select class="form-control" name="gruppa" style="width: 90%;">
<option value="не указано">Выберите группу</option>
{foreach from=$grupps item=grupp key=k}
<option value="{$grupp.name} ({$grupp.fo})">{$grupp.name} ({$grupp.fo})</option>
{/foreach}
</select>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Комментарий (если нужен)</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<textarea name="comment" rows="3" style="width:90%;" class="form-control"></textarea>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Вид справки</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<select class="form-control" name="vid" style="width: 90%;">
<option value="Электронная">Электронная</option>
<option value="Бумажная">Бумажная</option>
</select>
</div>
</div>
</div>
<font color="red">При заказе справки по стипендии обязательно указывайте период!</font><br />
<input type="submit" class="btn btn-success" name="order_window" value="Заказать" />
</form>
</div>
</div>
</div>
<div class="row-fluid">
<div class="widget green">
<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-bordered">
<tr>
<th></th>
<th>Дата заказа</th>
<th>ФИО</th>
<th>Группа</th>
<th>Справка</th>
<th>Комментарий</th>
<th>Статус</th>
</tr>
{foreach from=$spravki item=spr key=k}
<tr>
<td>{$k+1}<br><span style="color:gray;">{$spr.id}</span></td>
<td>{$spr.date_create}</td>
<td>{$spr.fio} (<b>{$spr.phone}</b>)</td>
<td>{$spr.gruppa}</td>
<td>{$spr.type}</td>
<td>{$spr.comment}</td>
<td>{if ($spr.status == 0)}В процессе{else}{if ($spr.status==2)}Получен оригинал{else}Готово<br /><a href="/{$spr.file}">Скачать</a>{/if}{/if}</td>
</tr>
{/foreach}
</table>
</div>
</div>
</div>
</div>
</div>
</div>