EIOS/inc/smarty/templates_c/da42b1e76e7f4467afff5e66410...

158 lines
5.4 KiB
PHP
Raw Permalink Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2023-02-15 09:33:06
compiled from "tpl/tpl_grant_scholarship.html" */ ?>
<?php /*%%SmartyHeaderCode:69341161163e0b7c51864f6-83708274%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'da42b1e76e7f4467afff5e664104e9d32c5ced54' =>
array (
0 => 'tpl/tpl_grant_scholarship.html',
1 => 1676442784,
2 => 'file',
),
),
'nocache_hash' => '69341161163e0b7c51864f6-83708274',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_63e0b7c5187170_12901557',
'variables' =>
array (
'msg' => 0,
'facultet' => 0,
'count_stip_years' => 0,
'year' => 0,
'stip' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_63e0b7c5187170_12901557')) {function content_63e0b7c5187170_12901557($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Стипендиальное обеспечение. Количество стипендий</h3>
<ul class="breadcrumb">
</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">
<form name="add_scholarship" 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="facultet" class="form-control" style="width: 90%;" value="<?php echo $_smarty_tpl->tpl_vars['facultet']->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%;">
<select name="year_start" class="form-control">
<option value="2022">2022/2023 учебный год</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%;">
<select class="form-control" name="semestr" style="width: 90%;">
<option value="1">1 семестр (зима)</option>
<option value="2">2 семестр (лето)</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="number" name="count_stip" class="form-control" style="width: 90%;" value="1" required />
</div>
</div>
</div>
<input type="submit" class="btn btn-success" name="add_scholarship" value="Добавить" />
</form>
</div>
</div>
</div>
<div class="row-fluid">
<div class="widget blue">
<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>1 семестр</th>
<th>2 семестр</th>
</tr>
<?php $_smarty_tpl->tpl_vars['stip'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['stip']->_loop = false;
$_smarty_tpl->tpl_vars['year'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['count_stip_years']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['stip']->key => $_smarty_tpl->tpl_vars['stip']->value){
$_smarty_tpl->tpl_vars['stip']->_loop = true;
$_smarty_tpl->tpl_vars['year']->value = $_smarty_tpl->tpl_vars['stip']->key;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['year']->value;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['stip']->value[1];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['stip']->value[2];?>
</td>
</tr>
<?php } ?>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>