101 lines
3.3 KiB
PHP
101 lines
3.3 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-05-17 12:25:50
|
||
|
compiled from "tpl/tpl_it_moodle_students.html" */ ?>
|
||
|
<?php /*%%SmartyHeaderCode:187434750662820cb1cf7ec0-70275279%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
'file_dependency' =>
|
||
|
array (
|
||
|
'c3049fea9cc1bf9389967269fbfb5b4fb5851b8c' =>
|
||
|
array (
|
||
|
0 => 'tpl/tpl_it_moodle_students.html',
|
||
|
1 => 1652779462,
|
||
|
2 => 'file',
|
||
|
),
|
||
|
),
|
||
|
'nocache_hash' => '187434750662820cb1cf7ec0-70275279',
|
||
|
'function' =>
|
||
|
array (
|
||
|
),
|
||
|
'version' => 'Smarty-3.1.13',
|
||
|
'unifunc' => 'content_62820cb1d26de1_15536556',
|
||
|
'variables' =>
|
||
|
array (
|
||
|
'users' => 0,
|
||
|
'user' => 0,
|
||
|
'gr' => 0,
|
||
|
),
|
||
|
'has_nocache_code' => false,
|
||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
<?php if ($_valid && !is_callable('content_62820cb1d26de1_15536556')) {function content_62820cb1d26de1_15536556($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
|
||
|
<div class="row-fluid">
|
||
|
<div class="span12">
|
||
|
<h3 class="page-title">ИТ-отдел. LMS Moodle</h3>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="row-fluid">
|
||
|
<div class="span12">
|
||
|
|
||
|
<!--ДОБАЛЕНИЕ НОВОГО ЗАЯВЛЕНИЯ-->
|
||
|
<div class="row-fluid">
|
||
|
<div class="span12">
|
||
|
<div class="row-fluid">
|
||
|
<div class="widget red" >
|
||
|
<div class="widget-title">
|
||
|
<h4><i class="icon-reorder"></i> Список студентов для LMS</h4>
|
||
|
<span class="tools">
|
||
|
<a href="javascript:;" class="icon-chevron-down"> Развернуть/Свернуть</a>
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="widget-body">
|
||
|
<table class="table table-bordered">
|
||
|
<tr>
|
||
|
<th>username</th>
|
||
|
<th>password</th>
|
||
|
<th>firstname</th>
|
||
|
<th>lastname</th>
|
||
|
<th>email</th>
|
||
|
<th>cohort1</th>
|
||
|
</tr>
|
||
|
<?php $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['user']->_loop = false;
|
||
|
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
||
|
$_from = $_smarty_tpl->tpl_vars['users']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
|
foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value){
|
||
|
$_smarty_tpl->tpl_vars['user']->_loop = true;
|
||
|
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['user']->key;
|
||
|
?>
|
||
|
<tr>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['user']->value['email'];?>
|
||
|
</td>
|
||
|
<td>Mgtu<?php echo $_smarty_tpl->tpl_vars['user']->value['id'];?>
|
||
|
pw!</td>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['user']->value['fio'];?>
|
||
|
</td>
|
||
|
<td><?php if (($_smarty_tpl->tpl_vars['user']->value['student']['num_zach']!='')){?><?php echo $_smarty_tpl->tpl_vars['user']->value['student']['num_zach'];?>
|
||
|
<?php }else{ ?>(Преподаватель)<?php }?></td>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['user']->value['email'];?>
|
||
|
</td>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['user']->value['cohort'];?>
|
||
|
</td>
|
||
|
<!--td><?php echo $_smarty_tpl->tpl_vars['gr']->value['idnumber'];?>
|
||
|
</td>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['description'];?>
|
||
|
</td-->
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php }} ?>
|