133 lines
4.7 KiB
PHP
133 lines
4.7 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 15:24:32
|
||
compiled from "tpl/tpl_dpo_lection.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:143328347462556f80633dc4-52213724%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'b87eb16450659b04f2a3fd3d864980ab89d67463' =>
|
||
array (
|
||
0 => 'tpl/tpl_dpo_lection.html',
|
||
1 => 1570166554,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '143328347462556f80633dc4-52213724',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'variables' =>
|
||
array (
|
||
'content' => 0,
|
||
'message' => 0,
|
||
'count_is' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_62556f806614c0_75186959',
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_62556f806614c0_75186959')) {function content_62556f806614c0_75186959($_smarty_tpl) {?>
|
||
<!-- BEGIN PAGE HEADER-->
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<h3 class="page-title"><b><?php echo $_smarty_tpl->tpl_vars['content']->value['course'];?>
|
||
</b>. <?php echo $_smarty_tpl->tpl_vars['content']->value['name'];?>
|
||
<?php if (($_smarty_tpl->tpl_vars['content']->value['itog']==1)){?><span style="color: red; font-weight: bold;">Итог</span><?php }?></h3>
|
||
<ul class="breadcrumb">
|
||
<li><a href="/">Главная</a><span class="divider">/</span></li>
|
||
<li class="active"><a href="/dpo/">Дополнительное профессиональное образование</a><span class="divider">/</span></li>
|
||
<li class="active"><a href="#">Лекции</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 green">
|
||
<div class="widget-title">
|
||
<h4><i class="icon-reorder"></i> Теоретический материал</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<?php echo $_smarty_tpl->tpl_vars['content']->value['content'];?>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="row-fluid">
|
||
<div class="widget purple">
|
||
<div class="widget-title">
|
||
<h4><i class="icon-reorder"></i> Практическое задание</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<?php echo $_smarty_tpl->tpl_vars['content']->value['task'];?>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</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> Отправка работы</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<?php if (($_smarty_tpl->tpl_vars['message']->value!='')){?><div class="alert alert-success">
|
||
<button data-dismiss="alert" class="close">×</button>
|
||
<strong><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
|
||
</strong>
|
||
</div><?php }?>
|
||
<form name="add_answers" method="post" action="">
|
||
<a href="/pm/writeuser/<?php echo $_smarty_tpl->tpl_vars['content']->value['teach'];?>
|
||
/">Задать вопрос преподавателю</a><br />
|
||
<?php if ($_smarty_tpl->tpl_vars['count_is']->value==0){?>Файлы, если требуется, прикрепляйте в ЛС преподавателю.
|
||
<hr />
|
||
<input type="hidden" name="lect" value="<?php echo $_smarty_tpl->tpl_vars['content']->value['id'];?>
|
||
" />
|
||
|
||
<div class="control-group">
|
||
<label class="control-label">Ответ:</label>
|
||
<div class="controls">
|
||
<textarea class="span12 tooltips" rows="10" id="editor1" data-trigger="hover" data-original-title="Напишите текст материала" name="content"></textarea>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<input type="submit" name="add_answers" value="Отправить на проверку" class="btn btn-primary" />
|
||
<?php }else{ ?>
|
||
<p>Работа сдана</p>
|
||
<?php }?>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript" src="https://goleusov.ru/js/ckeditor4/ckeditor.js"></script>
|
||
<script>
|
||
CKEDITOR.replace('editor1', { height: '200px' });
|
||
</script>
|
||
<?php }} ?>
|