EIOS/inc/smarty/templates_c/8d8ba23fdc3d3812afadab71d1e...

258 lines
10 KiB
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2022-06-20 15:26:21
compiled from "tpl/tpl_accredit_chairman.html" */ ?>
<?php /*%%SmartyHeaderCode:1394192556294cd4f7db163-27498377%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8d8ba23fdc3d3812afadab71d1e779685955b31b' =>
array (
0 => 'tpl/tpl_accredit_chairman.html',
1 => 1655727979,
2 => 'file',
),
),
'nocache_hash' => '1394192556294cd4f7db163-27498377',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6294cd4f854dd5_33194102',
'variables' =>
array (
'msg' => 0,
'zayavks' => 0,
'zayav' => 0,
'k' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6294cd4f854dd5_33194102')) {function content_6294cd4f854dd5_33194102($_smarty_tpl) {?> <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="/accredit/chairman/">Председатель аккредитационной комиссии</a></li>
<a href="/accredit/print/" class="btn btn-primary">Сводная таблица ВО</a>
<a href="/accredit/print0/" class="btn btn-primary">Сводная таблица СПО</a>
</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="alert alert-info" role="alert">Отображаются заявки за последние 90 дней</div>
<!--МОИ ЗАЯВЛЕНИЯ-->
<?php $_smarty_tpl->tpl_vars['zayav'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['zayav']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['zayavks']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['zayav']->key => $_smarty_tpl->tpl_vars['zayav']->value){
$_smarty_tpl->tpl_vars['zayav']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['zayav']->key;
?>
<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>Заявка на <u><?php if (($_smarty_tpl->tpl_vars['zayav']->value['accredit']=="1")){?>первичную<?php }else{ ?>повторную<?php }?></u> аккредитацию №<?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
<?php if (($_smarty_tpl->tpl_vars['zayav']->value['status']=="0")){?><span class="badge badge-warning">на рассмотрении </span><?php }else{ ?>?<?php }?></h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a>
</span>
</div>
<div class="widget-body" style="display: none;">
<table width="100%" cellpadding="4">
<tr>
<td width="20%" align="right"><b>Фамилия: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['surname'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Имя: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['name'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Отчество: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['patronymic'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Тип гражданства: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['type'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Гражданство: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['citizenship'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Соотечественник: </b></td>
<td width="80%"><?php if (($_smarty_tpl->tpl_vars['zayav']->value['fellow']==1)){?>да<?php }else{ ?>нет<?php }?></td>
</tr>
<tr>
<td width="20%" align="right"><b>Отношение к военной службе: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['attidude'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>СНИЛС: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['snils'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Телефон: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['phone_number'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Email: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['email'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Дата рождения: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['date_born'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Индекс: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['index_reg'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Адрес регистрации: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['address'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Вид документа (удостоверение личности): </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['vid_doc'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Серия документа: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['seria_doc'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Номер документа: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['num_doc'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Дата выдачи документа: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['date_doc'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Тип документа об образовании: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['type_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Уровень образования: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['level_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Специальность по диплому: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['spec_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Серия документа об образовании: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['seria_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Номер документа об образовании: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['num_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Дата выдачи документа об образовании: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['date_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Кем выдан документ об образовании: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['kem_edu'];?>
</td>
</tr>
<tr>
<td width="20%" align="right"><b>Скан паспорта: </b></td>
<td width="80%"><a href="/<?php echo $_smarty_tpl->tpl_vars['zayav']->value['file_pasport'];?>
">Посмотреть</a></td>
</tr>
<tr>
<td width="20%" align="right"><b>Скан диплома: </b></td>
<td width="80%"><a href="/<?php echo $_smarty_tpl->tpl_vars['zayav']->value['file_edu'];?>
">Посмотреть</a></td>
</tr>
<tr>
<td width="20%" align="right"><b>Скан военного билета: </b></td>
<td width="80%"><a href="/<?php echo $_smarty_tpl->tpl_vars['zayav']->value['file_vb'];?>
">Посмотреть</a></td>
</tr>
<tr>
<td width="20%" align="right"><b>Скан СНИЛСа: </b></td>
<td width="80%"><a href="/<?php echo $_smarty_tpl->tpl_vars['zayav']->value['file_snils'];?>
">Посмотреть</a></td>
</tr>
<tr>
<td width="20%" align="right"><b>Скан заявления: </b></td>
<td width="80%"><a href="/<?php echo $_smarty_tpl->tpl_vars['zayav']->value['file_zayv'];?>
">Посмотреть</a></td>
</tr>
<tr>
<td width="20%" align="right"><b>Дата подачи заявки: </b></td>
<td width="80%"><?php echo $_smarty_tpl->tpl_vars['zayav']->value['date_create'];?>
</td>
</tr>
</table>
<span class="btn btn-success ok-accredit" data-id="<?php echo $_smarty_tpl->tpl_vars['zayav']->value['id'];?>
">Допущен к аккредитации</span>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<!--КОНЕЦ МОИ ЗАЯВЛЕНИЯ-->
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
//удаление договора о практической подготовке
$(".ok-accredit").click(function(){
var id = $(this).data("id");
$.ajax({
url: '/json.php', dataType: 'json', type: 'POST', async: false, data: 'ajdes=ok_accredit&id='+id,
success: function(data){
alert('Заявка допущена!');
location.href='/accredit/chairman/';
}
});
});
});
</script><?php }} ?>