163 lines
7.2 KiB
PHP
163 lines
7.2 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-09-06 15:10:59
|
|||
|
compiled from "tpl/tpl_teacher_grupp_transport.html" */ ?>
|
|||
|
<?php /*%%SmartyHeaderCode:184076404631738d3c8e4a4-35653264%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|||
|
'file_dependency' =>
|
|||
|
array (
|
|||
|
'8d9a3eb500663a5e9780b78b4d3591613c404977' =>
|
|||
|
array (
|
|||
|
0 => 'tpl/tpl_teacher_grupp_transport.html',
|
|||
|
1 => 1513838467,
|
|||
|
2 => 'file',
|
|||
|
),
|
|||
|
),
|
|||
|
'nocache_hash' => '184076404631738d3c8e4a4-35653264',
|
|||
|
'function' =>
|
|||
|
array (
|
|||
|
),
|
|||
|
'variables' =>
|
|||
|
array (
|
|||
|
'debug' => 0,
|
|||
|
'tmsg' => 0,
|
|||
|
'er' => 0,
|
|||
|
'students' => 0,
|
|||
|
'st' => 0,
|
|||
|
'grupp' => 0,
|
|||
|
'grupps' => 0,
|
|||
|
'gp' => 0,
|
|||
|
'id_grupp' => 0,
|
|||
|
),
|
|||
|
'has_nocache_code' => false,
|
|||
|
'version' => 'Smarty-3.1.13',
|
|||
|
'unifunc' => 'content_631738d3cd2792_93091889',
|
|||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|||
|
<?php if ($_valid && !is_callable('content_631738d3cd2792_93091889')) {function content_631738d3cd2792_93091889($_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="/teach/grupp/">Обучать - группы</a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['debug']->value;?>
|
|||
|
|
|||
|
<?php if (isset($_smarty_tpl->tpl_vars['tmsg']->value['msg'])){?>
|
|||
|
<div class="alert alert-success">
|
|||
|
<button data-dismiss="alert" class="close">×</button>
|
|||
|
<strong>Успешно!</strong> <?php echo $_smarty_tpl->tpl_vars['tmsg']->value['msg'];?>
|
|||
|
|
|||
|
</div>
|
|||
|
<?php }?>
|
|||
|
<?php if (count($_smarty_tpl->tpl_vars['tmsg']->value['err'])){?><?php $_smarty_tpl->tpl_vars['er'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['er']->_loop = false;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['tmsg']->value['err']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|||
|
foreach ($_from as $_smarty_tpl->tpl_vars['er']->key => $_smarty_tpl->tpl_vars['er']->value){
|
|||
|
$_smarty_tpl->tpl_vars['er']->_loop = true;
|
|||
|
?>
|
|||
|
<div class="alert alert-error">
|
|||
|
<button data-dismiss="alert" class="close">×</button>
|
|||
|
<strong>Ошибка!</strong> <?php echo $_smarty_tpl->tpl_vars['er']->value;?>
|
|||
|
|
|||
|
</div>
|
|||
|
<?php } ?><?php }?>
|
|||
|
<div class="row-fluid">
|
|||
|
<form method="POST">
|
|||
|
<div class="span6">
|
|||
|
<table class="table table-striped table-bordered table-advance table-hover">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th width="20%">Даты студента</th>
|
|||
|
<th width="20%">Даты пользователя</th>
|
|||
|
<th width="15%">Статус студента</th>
|
|||
|
<th width="35%">Номер зачетки/Номер студен.</th>
|
|||
|
<th width="10%">Номер группы</th>
|
|||
|
<th width="10%">ФИО</th>
|
|||
|
<th width="10%"><i class=" icon-edit"></i> </th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<?php $_smarty_tpl->tpl_vars['st'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['st']->_loop = false;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['students']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|||
|
foreach ($_from as $_smarty_tpl->tpl_vars['st']->key => $_smarty_tpl->tpl_vars['st']->value){
|
|||
|
$_smarty_tpl->tpl_vars['st']->_loop = true;
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['st']->value['sdata_c'];?>
|
|||
|
<br><?php echo $_smarty_tpl->tpl_vars['st']->value['sdata_u'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['st']->value['udata_c'];?>
|
|||
|
<br><?php echo $_smarty_tpl->tpl_vars['st']->value['udata_u'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['st']->value['sstatus'];?>
|
|||
|
</td>
|
|||
|
<td><b><?php echo $_smarty_tpl->tpl_vars['st']->value['snum_zach'];?>
|
|||
|
</b>/<?php echo $_smarty_tpl->tpl_vars['st']->value['snum_stud'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['st']->value['snum_grupp'];?>
|
|||
|
</td>
|
|||
|
<td><?php echo $_smarty_tpl->tpl_vars['st']->value['ufio'];?>
|
|||
|
</td>
|
|||
|
<td nowarp>
|
|||
|
<input type="CHECKBOX" name="pere_st[<?php echo $_smarty_tpl->tpl_vars['st']->value['uid'];?>
|
|||
|
]" value="<?php echo $_smarty_tpl->tpl_vars['st']->value['uid'];?>
|
|||
|
" <?php if ($_smarty_tpl->tpl_vars['st']->value['perevod']=="1"){?>CHECKED<?php }?>>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<?php } ?>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="span6">
|
|||
|
<h3>Выбранная группа id=<?php echo $_smarty_tpl->tpl_vars['grupp']->value['id'];?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
|
|||
|
-<?php echo $_smarty_tpl->tpl_vars['grupp']->value['kurs'];?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
|
|||
|
</h3>
|
|||
|
<p>Дата создания: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['data_c'];?>
|
|||
|
</p>
|
|||
|
<p>Дата обновления: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['data_u'];?>
|
|||
|
</p>
|
|||
|
<p>Имя: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['name'];?>
|
|||
|
</p>
|
|||
|
<p>Описание: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['descrip'];?>
|
|||
|
</p>
|
|||
|
<p>Специальность: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['specialnost'];?>
|
|||
|
</p>
|
|||
|
<p>Курс: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['kurs'];?>
|
|||
|
</p>
|
|||
|
<p>Сокращенное: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
|
|||
|
</p>
|
|||
|
<p>Форма обучения: <?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
|
|||
|
</p>
|
|||
|
<hR>
|
|||
|
<p>Слева Вам необходимо выбрать студентов которых надо перенести в другую группу! Смотрите на даты студента - это когда была создана заявка на студента и когда она изменилась и даты пользователя, это когда был создан пользователь и когда изменили пользователя.</p>
|
|||
|
<p>После выбора студентов выберите группу в которую надо перевести выбранных студентов и сохарните результат.</p>
|
|||
|
<div class="control-group">
|
|||
|
<label class="control-label">Выбор группы</label>
|
|||
|
<div class="controls">
|
|||
|
<select class="span12" data-placeholder="Выбор группы" tabindex="1" name="id_grupp">
|
|||
|
<option value="0">Выберите</option>
|
|||
|
<?php $_smarty_tpl->tpl_vars['gp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gp']->_loop = false;
|
|||
|
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|||
|
foreach ($_from as $_smarty_tpl->tpl_vars['gp']->key => $_smarty_tpl->tpl_vars['gp']->value){
|
|||
|
$_smarty_tpl->tpl_vars['gp']->_loop = true;
|
|||
|
?>
|
|||
|
<option value="<?php echo $_smarty_tpl->tpl_vars['gp']->value['id'];?>
|
|||
|
"><?php echo $_smarty_tpl->tpl_vars['gp']->value['sokr'];?>
|
|||
|
-<?php echo $_smarty_tpl->tpl_vars['gp']->value['kurs'];?>
|
|||
|
<?php echo $_smarty_tpl->tpl_vars['gp']->value['fo'];?>
|
|||
|
Студентов: <?php echo $_smarty_tpl->tpl_vars['gp']->value['kol'];?>
|
|||
|
</option>
|
|||
|
<?php } ?>
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="form-actions">
|
|||
|
<input type="HIDDEN" name="oid_grupp" value="<?php echo $_smarty_tpl->tpl_vars['id_grupp']->value;?>
|
|||
|
">
|
|||
|
<button type="submit" name="grupp_transport_save" class="btn btn-success">Сохранить</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</div><?php }} ?>
|