EIOS/inc/smarty/templates_c/24bafdcb88b1a7ab8b266bdb8dc...

135 lines
5.1 KiB
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2023-06-05 09:45:20
compiled from "tpl/tpl_window_zayvka.html" */ ?>
<?php /*%%SmartyHeaderCode:1036788079625669a407d018-08898280%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'24bafdcb88b1a7ab8b266bdb8dca1a97186fff10' =>
array (
0 => 'tpl/tpl_window_zayvka.html',
1 => 1685947519,
2 => 'file',
),
),
'nocache_hash' => '1036788079625669a407d018-08898280',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_625669a40c4899_95368092',
'variables' =>
array (
'msg' => 0,
'spravki' => 0,
'k' => 0,
'spr' => 0,
'id' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_625669a40c4899_95368092')) {function content_625669a40c4899_95368092($_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 }?>
<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>)<br /> <a href="/pm/writeuser/<?php echo $_smarty_tpl->tpl_vars['spr']->value['id_user'];?>
/" class="btn btn-warning">Написать сообщение</a></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 }?></td>
</tr>
<?php } ?>
</table>
<form name="zayvka_pr" action="/window/processing/" class="form-horizontal" method="POST" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Прикрепите файл с готовой справкой</label>
<div class="controls">
<div class="input-prepend" >
<input type="hidden" name="max_file_size" value="20971520">
<input type="file" class=" tooltips" data-trigger="hover" data-original-title="Загрузить файл (не более 20 Мб)" name="file" accept=".zip,.rar,.pdf,.doc,.docx,image/jpeg,image/png,image/gif" required />
</div>
</div>
</div>
<input type="submit" name="zayvka_pr" value="Загрузить" class="btn btn-success" />
</form>
<form name="zayvka_pr2" action="/window/processing/" method="POST" >
<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
<input type="submit" name="zayvka_pr2" value="Обучающемуся выдан оригинал справки" class="btn btn-primary" />
</form>
<form name="zayavka_del" action="/window/processing/" method="POST" >
<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
<input type="submit" name="zayavka_del" value="Удалить заявку" class="btn btn-danger" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>