EIOS/inc/smarty/templates_c/b6bc0744340a91c65f691781565...

199 lines
7.5 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-11-18 10:10:06
compiled from "tpl/tpl_dekanat_elective.html" */ ?>
<?php /*%%SmartyHeaderCode:33198112063625e22591820-61242336%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b6bc0744340a91c65f691781565fc39d1a0c9fca' =>
array (
0 => 'tpl/tpl_dekanat_elective.html',
1 => 1668755406,
2 => 'file',
),
),
'nocache_hash' => '33198112063625e22591820-61242336',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_63625e225a8b43_26059880',
'variables' =>
array (
'message' => 0,
'up' => 0,
'plans' => 0,
'plan' => 0,
'info_plan' => 0,
'predmets' => 0,
'pr' => 0,
'bl' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_63625e225a8b43_26059880')) {function content_63625e225a8b43_26059880($_smarty_tpl) {?><!-- 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 (($_smarty_tpl->tpl_vars['message']->value!='')){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</strong>
</div>
<?php }?>
<?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>Код/<br />(Номер плана в ЭИОС)</th>
<th>Направление подготовки/<br />Профиль обучения</th>
<th>Форма обучения</th>
<th>Год набора</th>
<th>Операции</th>
</tr>
<?php $_smarty_tpl->tpl_vars['plan'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['plan']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['plans']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){
$_smarty_tpl->tpl_vars['plan']->_loop = true;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['plan']->value['shifr1'];?>
<br />(УП №<?php echo $_smarty_tpl->tpl_vars['plan']->value['id'];?>
)</td>
<td><b><?php echo $_smarty_tpl->tpl_vars['plan']->value['nappodgo'];?>
</b><br /><?php echo $_smarty_tpl->tpl_vars['plan']->value['propodgo'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['plan']->value['forobu'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['plan']->value['godnap'];?>
</td>
<td><a href="/dekanat/elective/<?php echo $_smarty_tpl->tpl_vars['plan']->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 }} ?>