111 lines
3.7 KiB
PHP
111 lines
3.7 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 09:09:16
|
|||
|
compiled from "tpl/tpl_window_processing.html" */ ?>
|
|||
|
<?php /*%%SmartyHeaderCode:5793654636255178cd60570-24444672%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|||
|
'file_dependency' =>
|
|||
|
array (
|
|||
|
'648e8cf01e250d0fc87ec62c1685283b7ef836ac' =>
|
|||
|
array (
|
|||
|
0 => 'tpl/tpl_window_processing.html',
|
|||
|
1 => 1643280459,
|
|||
|
2 => 'file',
|
|||
|
),
|
|||
|
),
|
|||
|
'nocache_hash' => '5793654636255178cd60570-24444672',
|
|||
|
'function' =>
|
|||
|
array (
|
|||
|
),
|
|||
|
'variables' =>
|
|||
|
array (
|
|||
|
'msg' => 0,
|
|||
|
'spravki' => 0,
|
|||
|
'k' => 0,
|
|||
|
'spr' => 0,
|
|||
|
),
|
|||
|
'has_nocache_code' => false,
|
|||
|
'version' => 'Smarty-3.1.13',
|
|||
|
'unifunc' => 'content_6255178cd8b483_05986220',
|
|||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|||
|
<?php if ($_valid && !is_callable('content_6255178cd8b483_05986220')) {function content_6255178cd8b483_05986220($_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/proccessing/">Единое окно</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 }?>
|
|||
|
<?php if (($_smarty_tpl->tpl_vars['msg']->value==2)){?>
|
|||
|
<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">
|
|||
|
<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><a href="/window/processing/<?php echo $_smarty_tpl->tpl_vars['spr']->value['id'];?>
|
|||
|
/" class="btn btn-success">Обработать</a></td>
|
|||
|
</tr>
|
|||
|
<?php } ?>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<?php }} ?>
|