EIOS/inc/smarty/templates_c/5f45d32f84083ec6b931c1372cd...

163 lines
6.4 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:54:45
compiled from "tpl/tpl_health_vaccine.html" */ ?>
<?php /*%%SmartyHeaderCode:66437374962546b657a0251-51207145%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5f45d32f84083ec6b931c1372cd36162cfdfaac9' =>
array (
0 => 'tpl/tpl_health_vaccine.html',
1 => 1637844274,
2 => 'file',
),
),
'nocache_hash' => '66437374962546b657a0251-51207145',
'function' =>
array (
),
'variables' =>
array (
'msg' => 0,
'zayavks' => 0,
'k' => 0,
'spr' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_62546b657c49f0_87873252',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_62546b657c49f0_87873252')) {function content_62546b657c49f0_87873252($_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>
</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">
<p>Пожалуйста, не забудьте указать полис и номер своего телефона в настройках профиля!</p>
<form name="order_vaccine" action="#" method="post" class="form-horizontal" enctype="multipart/form-data">
<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="is_vac" style="width: 90%;">
<option value="да">Да, имеется сертификат о полной вакцинации</option>
<option value="медотвод">Заключение врача о противопоказании</option>
<option value="болел">Болел, имеется сертификат переболевшего</option>
<option value="нет">Нет, не вакцинирован, медотвод отсутствует</option>
</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%;">
<input type="date" name="date_vac" class="form-control" style="width: 90%;" />
</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="date" name="date_end" class="form-control" style="width: 90%;" />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Сертификат о вакцинации (QR-код вакцинированного)/сертификат переболевшего (QR код переболевшего)/заключение о противопоказании</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="file" name="sertificat" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<input type="submit" class="btn btn-success" name="order_vaccine" 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>
</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['zayavks']->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><b><?php echo $_smarty_tpl->tpl_vars['spr']->value['is_vac'];?>
</b><br />(<?php echo $_smarty_tpl->tpl_vars['spr']->value['date_vac'];?>
- <?php echo $_smarty_tpl->tpl_vars['spr']->value['date_end'];?>
)</td>
<td><a class="btn btn-primary" href="/<?php echo $_smarty_tpl->tpl_vars['spr']->value['sertificat'];?>
">Скачать</a>
<a class="btn btn-danger" href="/health/vaccine/delete/<?php echo $_smarty_tpl->tpl_vars['spr']->value['id'];?>
/">Удалить</a>
</td>
</tr>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>