EIOS/inc/smarty/templates_c/ddef49b008b1c964177d5639cf7...

214 lines
8.3 KiB
PHP
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.

<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 20:56:57
compiled from "tpl/tpl_window_order.html" */ ?>
<?php /*%%SmartyHeaderCode:157231913962546be9869382-99059634%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'ddef49b008b1c964177d5639cf7e964a17ad326a' =>
array (
0 => 'tpl/tpl_window_order.html',
1 => 1641907812,
2 => 'file',
),
),
'nocache_hash' => '157231913962546be9869382-99059634',
'function' =>
array (
),
'variables' =>
array (
'msg' => 0,
'fio' => 0,
'types' => 0,
'type' => 0,
'grupps' => 0,
'grupp' => 0,
'spravki' => 0,
'k' => 0,
'spr' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_62546be9899b81_10003223',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_62546be9899b81_10003223')) {function content_62546be9899b81_10003223($_smarty_tpl) {?><!-- 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>
<?php if (($_smarty_tpl->tpl_vars['msg']->value==1)){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Справка заказана!</strong>
</div>
<?php }?>
<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="<?php echo $_smarty_tpl->tpl_vars['fio']->value;?>
" 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%;">
<?php $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['type']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['types']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['type']->key => $_smarty_tpl->tpl_vars['type']->value){
$_smarty_tpl->tpl_vars['type']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['type']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['type']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['type']->value['name'];?>
</option>
<?php } ?>
</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>
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['grupp']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['grupp']->value['name'];?>
(<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
)"><?php echo $_smarty_tpl->tpl_vars['grupp']->value['name'];?>
(<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
)</option>
<?php } ?>
</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>
<?php $_smarty_tpl->tpl_vars['spr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['spr']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['spravki']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['spr']->key => $_smarty_tpl->tpl_vars['spr']->value){
$_smarty_tpl->tpl_vars['spr']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['spr']->key;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['spr']->value['date_create'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['spr']->value['fio'];?>
(<b><?php echo $_smarty_tpl->tpl_vars['spr']->value['phone'];?>
</b>)</td>
<td><?php echo $_smarty_tpl->tpl_vars['spr']->value['gruppa'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['spr']->value['type'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['spr']->value['comment'];?>
</td>
<td><?php if (($_smarty_tpl->tpl_vars['spr']->value['status']==0)){?>В процессе<?php }else{ ?><?php if (($_smarty_tpl->tpl_vars['spr']->value['status']==2)){?>Получен оригинал<?php }else{ ?>Готово<br /><a href="/<?php echo $_smarty_tpl->tpl_vars['spr']->value['file'];?>
">Скачать</a><?php }?><?php }?></td>
</tr>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>