127 lines
5.9 KiB
PHP
127 lines
5.9 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-14 15:24:51
|
|
compiled from "tpl/tpl_statuses_grupp_print.html" */ ?>
|
|
<?php /*%%SmartyHeaderCode:30942514562581293c2b217-50929105%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'3bdbb18c49fdd3f675030de2f0ded18d7e01a304' =>
|
|
array (
|
|
0 => 'tpl/tpl_statuses_grupp_print.html',
|
|
1 => 1572334224,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '30942514562581293c2b217-50929105',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'grupps' => 0,
|
|
'fak' => 0,
|
|
'gf' => 0,
|
|
'kaf' => 0,
|
|
'gk' => 0,
|
|
'grupp' => 0,
|
|
'student' => 0,
|
|
'time' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.13',
|
|
'unifunc' => 'content_62581293c72921_71532434',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_62581293c72921_71532434')) {function content_62581293c72921_71532434($_smarty_tpl) {?><!DOCTYPE html>
|
|
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
|
|
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
|
|
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Списки студентов группы </title>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
|
<meta content="" name="description" />
|
|
<meta content="" name="author" />
|
|
<link href="/tpl/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="/tpl/assets/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
|
|
<link href="/tpl/assets/bootstrap/css/bootstrap-fileupload.css" rel="stylesheet" />
|
|
<link href="/tpl/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
|
|
</head>
|
|
<body style="padding:20px;">
|
|
|
|
<center><h2>Список студентов зарегистрированных на сайте электронно-образовательной среды МГТУ</h2></center>
|
|
<?php $_smarty_tpl->tpl_vars['gf'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gf']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['fak'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['gf']->key => $_smarty_tpl->tpl_vars['gf']->value){
|
|
$_smarty_tpl->tpl_vars['gf']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['fak']->value = $_smarty_tpl->tpl_vars['gf']->key;
|
|
?>
|
|
<h3>Список студентов факультета "<?php if (($_smarty_tpl->tpl_vars['fak']->value=="Инженерно-экономический")){?>Инженерный<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['fak']->value;?>
|
|
<?php }?>"</h3>
|
|
<?php $_smarty_tpl->tpl_vars['gk'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gk']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['kaf'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['gf']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['gk']->key => $_smarty_tpl->tpl_vars['gk']->value){
|
|
$_smarty_tpl->tpl_vars['gk']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['kaf']->value = $_smarty_tpl->tpl_vars['gk']->key;
|
|
?>
|
|
<h4>Кафедра: <?php echo $_smarty_tpl->tpl_vars['kaf']->value;?>
|
|
</h4><table class="table table-striped table-bordered table-advance table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th width="13%" style="text-align:center;">Последний заход</th>
|
|
<th width="8%" style="text-align:center;">Группа</th>
|
|
<th width="15%" style="text-align:center;">ФИО</th>
|
|
<th width="8%" style="text-align:center;">емаил</th>
|
|
<th width="8%" style="text-align:center;">Пароль</th>
|
|
<th width="8%" style="text-align:center;">Номер зачетки</th>
|
|
<th width="35%" style="text-align:center;">Примечание</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['gk']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
|
|
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['grupp']->key;
|
|
?>
|
|
<tr><td colspan="7"><b><?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'];?>
|
|
</b></td></tr>
|
|
<?php $_smarty_tpl->tpl_vars['student'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['student']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['s'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['grupp']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['student']->key => $_smarty_tpl->tpl_vars['student']->value){
|
|
$_smarty_tpl->tpl_vars['student']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['s']->value = $_smarty_tpl->tpl_vars['student']->key;
|
|
?>
|
|
<tr>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['student']->value['data_u'];?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
|
|
-<?php echo $_smarty_tpl->tpl_vars['grupp']->value['kurs'];?>
|
|
<?php echo $_smarty_tpl->tpl_vars['student']->value['num_grupp'];?>
|
|
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
|
|
</td>
|
|
<td><b><?php echo $_smarty_tpl->tpl_vars['student']->value['fio'];?>
|
|
</b></td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['student']->value['email'];?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['student']->value['pass'];?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['student']->value['num_zach'];?>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
|
|
<p>Время формирования списка: <?php echo $_smarty_tpl->tpl_vars['time']->value;?>
|
|
</p>
|
|
</body>
|
|
</html><?php }} ?>
|