108 lines
4.0 KiB
PHP
108 lines
4.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-12-12 09:57:46
|
||
compiled from "tpl/tpl_it_moodle_update_students.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:15727293526396caa90909e4-36295538%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'54be15e5c67fe7eccf94797aa3438ca340c59e7c' =>
|
||
array (
|
||
0 => 'tpl/tpl_it_moodle_update_students.html',
|
||
1 => 1670828265,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '15727293526396caa90909e4-36295538',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_6396caa90bb2c1_26009762',
|
||
'variables' =>
|
||
array (
|
||
'users' => 0,
|
||
'user' => 0,
|
||
'gr' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_6396caa90bb2c1_26009762')) {function content_6396caa90bb2c1_26009762($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<h3 class="page-title">ИТ-отдел. LMS Moodle (только обновление информации о студентах!)</h3>
|
||
|
||
<ul class="breadcrumb">
|
||
<li class="active"><a href="/it/moodle_update_students/2022/" class="btn btn-primary">2022 год</a></li>
|
||
<li class="active"><a href="/it/moodle_update_students/2021/" class="btn btn-primary">2021 год</a></li>
|
||
<li class="active"><a href="/it/moodle_update_students/2020/" class="btn btn-primary">2020 год</a></li>
|
||
<li class="active"><a href="/it/moodle_update_students/2019/" class="btn btn-primary">2019 год</a></li>
|
||
<li class="active"><a href="/it/moodle_update_students/2018/" class="btn btn-primary">2018 год</a></li>
|
||
<li class="active"><a href="/it/moodle_update_students/2017/" class="btn btn-primary">2017 год</a></li>
|
||
</ul>
|
||
</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>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><?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 }} ?>
|