188 lines
7.2 KiB
PHP
188 lines
7.2 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-11-18 11:31:24
|
|||
|
compiled from "tpl/tpl_dekanat_elective_zayav.html" */ ?>
|
|||
|
<?php /*%%SmartyHeaderCode:10198909516375d1a6ed13d0-85959185%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|||
|
'file_dependency' =>
|
|||
|
array (
|
|||
|
'7b7c4997069717c4926451a6cef2b654298219c3' =>
|
|||
|
array (
|
|||
|
0 => 'tpl/tpl_dekanat_elective_zayav.html',
|
|||
|
1 => 1668760282,
|
|||
|
2 => 'file',
|
|||
|
),
|
|||
|
),
|
|||
|
'nocache_hash' => '10198909516375d1a6ed13d0-85959185',
|
|||
|
'function' =>
|
|||
|
array (
|
|||
|
),
|
|||
|
'version' => 'Smarty-3.1.13',
|
|||
|
'unifunc' => 'content_6375d1a6ed20f8_71271099',
|
|||
|
'variables' =>
|
|||
|
array (
|
|||
|
'up' => 0,
|
|||
|
'list_zayav' => 0,
|
|||
|
'zayav' => 0,
|
|||
|
'info_plan' => 0,
|
|||
|
'predmets' => 0,
|
|||
|
'pr' => 0,
|
|||
|
'bl' => 0,
|
|||
|
),
|
|||
|
'has_nocache_code' => false,
|
|||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|||
|
<?php if ($_valid && !is_callable('content_6375d1a6ed20f8_71271099')) {function content_6375d1a6ed20f8_71271099($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/home/admin/web/eios.mkgtu.ru/public_html/inc/smarty/plugins/modifier.date_format.php';
|
|||
|
?><!-- BEGIN PAGE HEADER-->
|
|||
|
<div class="row-fluid">
|
|||
|
<div class="span12">
|
|||
|
<h3 class="page-title">Заявления на выбор дисциплин по выбору</h3>
|
|||
|
<ul class="breadcrumb">
|
|||
|
<li><a href="/dekanat/elective/" class="btn btn-primary">Список УП</a></li>
|
|||
|
<li><a href="/dekanat/electiveApplication/" class="btn btn-primary">Список заявлений</a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<?php if ((!isset($_smarty_tpl->tpl_vars['up']->value))){?> <!--НЕ ВЫБРАН КОНКРЕТНЫЙ УЧЕБНЫЙ ПЛАН-->
|
|||
|
<div class="row-fluid">
|
|||
|
<div class="span12">
|
|||
|
<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 style="background: antiquewhite;">
|
|||
|
<th>Студент</th>
|
|||
|
<th>Группа</th>
|
|||
|
<th>Дата написания</th>
|
|||
|
<th>Операции</th>
|
|||
|
</tr>
|
|||
|
<?php $_smarty_tpl->tpl_vars['zayav'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['zayav']->_loop = false;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['list_zayav']->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;
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['zayav']->value['user']['fio'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['zayav']->value['student']['sokr'];?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['zayav']->value['student']['fo'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['zayav']->value['date_create'],'%d.%m.%Y');?>
|
|||
|
</td>
|
|||
|
<td><a href="/dekanat/electiveApplication/<?php echo $_smarty_tpl->tpl_vars['zayav']->value['id'];?>
|
|||
|
/" class="btn btn-primary">Сформировать заявление</a></td>
|
|||
|
</tr>
|
|||
|
<?php } ?>
|
|||
|
</table>
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<?php }else{ ?> <!--ВЫБРАН КОНКРЕТНЫЙ УЧЕБНЫЙ ПЛАН-->
|
|||
|
|
|||
|
<div class="row-fluid">
|
|||
|
<div class="span12">
|
|||
|
<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">
|
|||
|
|
|||
|
<h4>Информация об учебном плане</h4>
|
|||
|
<p>Код специальности: <?php echo $_smarty_tpl->tpl_vars['info_plan']->value['shifr1'];?>
|
|||
|
</p>
|
|||
|
<p>Направление подготовки: <?php echo $_smarty_tpl->tpl_vars['info_plan']->value['nappodgo'];?>
|
|||
|
</p>
|
|||
|
<p>Профиль подготовки: <?php echo $_smarty_tpl->tpl_vars['info_plan']->value['propodgo'];?>
|
|||
|
</p>
|
|||
|
<p>Форма обучения: <?php echo $_smarty_tpl->tpl_vars['info_plan']->value['forobu'];?>
|
|||
|
</p>
|
|||
|
<p>Год набора: <?php echo $_smarty_tpl->tpl_vars['info_plan']->value['godnap'];?>
|
|||
|
</p>
|
|||
|
|
|||
|
<form name="change_disc" method="post" action="#">
|
|||
|
|
|||
|
<table class="table table-bordered">
|
|||
|
<tr style="background: antiquewhite;">
|
|||
|
<th>Учебный год</th>
|
|||
|
<th>Дисциплина</th>
|
|||
|
<th>Курс/Семестр</th>
|
|||
|
|
|||
|
</tr>
|
|||
|
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
|
|||
|
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['predmets']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|||
|
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
|
|||
|
$_smarty_tpl->tpl_vars['pr']->_loop = true;
|
|||
|
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['pr']->key;
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td><h4><?php echo ($_smarty_tpl->tpl_vars['info_plan']->value['godnap']-1+$_smarty_tpl->tpl_vars['pr']->value['kurs']);?>
|
|||
|
/ <?php echo ($_smarty_tpl->tpl_vars['info_plan']->value['godnap']+$_smarty_tpl->tpl_vars['pr']->value['kurs']);?>
|
|||
|
</h4></td>
|
|||
|
<td><b><?php echo $_smarty_tpl->tpl_vars['pr']->value['discid'];?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['pr']->value['discip'];?>
|
|||
|
</b>
|
|||
|
<?php $_smarty_tpl->tpl_vars['bl'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['bl']->_loop = false;
|
|||
|
$_smarty_tpl->tpl_vars['kb'] = new Smarty_Variable;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['pr']->value['block']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|||
|
foreach ($_from as $_smarty_tpl->tpl_vars['bl']->key => $_smarty_tpl->tpl_vars['bl']->value){
|
|||
|
$_smarty_tpl->tpl_vars['bl']->_loop = true;
|
|||
|
$_smarty_tpl->tpl_vars['kb']->value = $_smarty_tpl->tpl_vars['bl']->key;
|
|||
|
?>
|
|||
|
<br /><input type="checkbox" name="disc[<?php echo $_smarty_tpl->tpl_vars['bl']->value['id'];?>
|
|||
|
]" value="1" <?php if (($_smarty_tpl->tpl_vars['bl']->value['sel']=="1")){?>checked<?php }?> /> <?php echo $_smarty_tpl->tpl_vars['bl']->value['discid'];?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['bl']->value['discip'];?>
|
|||
|
|
|||
|
<?php } ?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['pr']->value['kurs'];?>
|
|||
|
/<?php echo $_smarty_tpl->tpl_vars['pr']->value['sem'];?>
|
|||
|
</td>
|
|||
|
|
|||
|
</tr>
|
|||
|
<?php } ?>
|
|||
|
</table>
|
|||
|
|
|||
|
<input type="hidden" name="up" value="<?php echo $_smarty_tpl->tpl_vars['up']->value;?>
|
|||
|
" />
|
|||
|
<br />
|
|||
|
<p>
|
|||
|
<input type="submit" class="btn btn-success" value="Выбрать дисциплины" name="save_change" />
|
|||
|
</p>
|
|||
|
</form>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<?php }?>
|
|||
|
<?php }} ?>
|