74 lines
3.0 KiB
PHP
74 lines
3.0 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 22:38:59
|
||
|
compiled from "tpl/tpl_learn_profile_change.html" */ ?>
|
||
|
<?php /*%%SmartyHeaderCode:1849944381625483d327d9f6-21439322%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
'file_dependency' =>
|
||
|
array (
|
||
|
'2c68dece89dc1281129766a7479cde79a41814a2' =>
|
||
|
array (
|
||
|
0 => 'tpl/tpl_learn_profile_change.html',
|
||
|
1 => 1603449030,
|
||
|
2 => 'file',
|
||
|
),
|
||
|
),
|
||
|
'nocache_hash' => '1849944381625483d327d9f6-21439322',
|
||
|
'function' =>
|
||
|
array (
|
||
|
),
|
||
|
'variables' =>
|
||
|
array (
|
||
|
'info_student' => 0,
|
||
|
'is_order' => 0,
|
||
|
'spec' => 0,
|
||
|
'sp' => 0,
|
||
|
),
|
||
|
'has_nocache_code' => false,
|
||
|
'version' => 'Smarty-3.1.13',
|
||
|
'unifunc' => 'content_625483d32a0790_42658036',
|
||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
<?php if ($_valid && !is_callable('content_625483d32a0790_42658036')) {function content_625483d32a0790_42658036($_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>
|
||
|
<li class="active"><a href="/learn/profile_change/">Выбор направленности (профиля обучения)</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="row-fluid">
|
||
|
<div class="span12">
|
||
|
<div class="row-fluid">
|
||
|
<h3 align="center">Код Вашего направления подготовки: <?php echo $_smarty_tpl->tpl_vars['info_student']->value['kod_podgotovki'];?>
|
||
|
</h3>
|
||
|
<?php if (($_smarty_tpl->tpl_vars['is_order']->value>0)){?>
|
||
|
<p align="center">Вы уже выбрали профиль!</p>
|
||
|
<?php }else{ ?>
|
||
|
<?php if ((count($_smarty_tpl->tpl_vars['spec']->value)>1)){?>
|
||
|
<form name="order_profile" method="post" action="#">
|
||
|
<p align="center">
|
||
|
<label>Выберите профиль обучения: </label>
|
||
|
<select name="profile" class="form-control">
|
||
|
<?php $_smarty_tpl->tpl_vars['sp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sp']->_loop = false;
|
||
|
$_from = $_smarty_tpl->tpl_vars['spec']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
|
foreach ($_from as $_smarty_tpl->tpl_vars['sp']->key => $_smarty_tpl->tpl_vars['sp']->value){
|
||
|
$_smarty_tpl->tpl_vars['sp']->_loop = true;
|
||
|
?>
|
||
|
<option value="<?php echo $_smarty_tpl->tpl_vars['sp']->value['id_profile'];?>
|
||
|
"><?php echo $_smarty_tpl->tpl_vars['sp']->value['name'];?>
|
||
|
</option>
|
||
|
<?php } ?>
|
||
|
</select><br />
|
||
|
<input type="submit" class="btn btn-success" name="order_profile" value="Выбрать" />
|
||
|
</p>
|
||
|
</form>
|
||
|
|
||
|
<?php }else{ ?>
|
||
|
<h4 align="center">Нечего выбирать! Для Вашего направления подготовки предусмотрен только один профиль обучения.</h4>
|
||
|
<?php }?>
|
||
|
<?php }?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php }} ?>
|