EIOS/inc/smarty/templates_c/f3bf9a936f3c82d471f2b8d55fd...

167 lines
6.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php /* Smarty version Smarty-3.1.13, created on 2023-07-14 15:29:59
compiled from "tpl/tpl_learn_studwork.html" */ ?>
<?php /*%%SmartyHeaderCode:83618741264afd7d030a996-35347298%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f3bf9a936f3c82d471f2b8d55fdca5b80613c975' =>
array (
0 => 'tpl/tpl_learn_studwork.html',
1 => 1689337799,
2 => 'file',
),
),
'nocache_hash' => '83618741264afd7d030a996-35347298',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_64afd7d0334c95_37477670',
'variables' =>
array (
'user' => 0,
'predmets' => 0,
'predmet' => 0,
'works' => 0,
'k' => 0,
'work' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64afd7d0334c95_37477670')) {function content_64afd7d0334c95_37477670($_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>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget blue">
<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">
<form name="add_studwork" action="/learn/studwork/" method="post" class="form-horizontal" enctype="multipart/form-data">
<input type="hidden" name="id_user" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['id'];?>
" />
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Тип работы</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<select class="form-control" name="type" style="width: 90%;">
<option value="Курсовая">Курсовая работа/Курсовой проект</option>
<option value="Отчет">Отчет по практике</option>
<option value="ВКР">ВКР</option>
</select>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Тема работы</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="text" name="name" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Дисциплина</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<select class="form-control" name="disc" style="width: 90%;">
<?php $_smarty_tpl->tpl_vars['predmet'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['predmet']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['predmets']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['predmet']->key => $_smarty_tpl->tpl_vars['predmet']->value){
$_smarty_tpl->tpl_vars['predmet']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['predmet']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['predmet']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['predmet']->value['discip'];?>
(<?php echo $_smarty_tpl->tpl_vars['predmet']->value['sem'];?>
семестр)</option>
<?php } ?>
</select>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Файл с работой (PDF)</label>
<div class="controls">
<div class="input-prepend" >
<input type="hidden" name="max_file_size" value="20971520">
<input type="file" class=" tooltips" data-trigger="hover" data-original-title="Загрузить файл (не более 20 Мб)" name="file_work" accept=".pdf" required />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Файл с отзывов/характеристикой/рецензией (PDF)</label>
<div class="controls">
<div class="input-prepend" >
<input type="hidden" name="max_file_size" value="20971520">
<input type="file" class=" tooltips" data-trigger="hover" data-original-title="Загрузить файл (не более 20 Мб)" name="file_otz" accept=".pdf" required />
</div>
</div>
</div>
<br />
<input type="submit" class="btn btn-primary" name="add_studwork" value="Загрузить работу" />
</form>
</div>
</div>
</div>
<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 $_smarty_tpl->tpl_vars['work'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['work']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['works']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['work']->key => $_smarty_tpl->tpl_vars['work']->value){
$_smarty_tpl->tpl_vars['work']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['work']->key;
?>
<p><?php echo ($_smarty_tpl->tpl_vars['k']->value+1);?>
. <?php echo $_smarty_tpl->tpl_vars['work']->value['name'];?>
, <?php echo $_smarty_tpl->tpl_vars['work']->value['type'];?>
(<a href="/<?php echo $_smarty_tpl->tpl_vars['work']->value['file_work'];?>
">посмотреть работу</a> | <a href="/<?php echo $_smarty_tpl->tpl_vars['work']->value['file_otz'];?>
">посмотреть отзыв</a>)</p>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>