168 lines
6.0 KiB
PHP
168 lines
6.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 14:15:20
|
||
compiled from "tpl/tpl_college_docs.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:13188540362555f486f4169-65080932%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'b85a6b0c6765c74863db54d110a757fd08c79268' =>
|
||
array (
|
||
0 => 'tpl/tpl_college_docs.html',
|
||
1 => 1626694986,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '13188540362555f486f4169-65080932',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'variables' =>
|
||
array (
|
||
'razdels' => 0,
|
||
'razdel' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_62555f48737fa3_55205314',
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_62555f48737fa3_55205314')) {function content_62555f48737fa3_55205314($_smarty_tpl) {?><div class="row-fluid">
|
||
<div class="span12">
|
||
<h3 class="page-title">Учительская СПО</h3>
|
||
<ul class="breadcrumb">
|
||
<li class="active"><a href="/college/docs/">Документы</a><span class="divider">/</span></li>
|
||
<li class="pull-right search-wrap">
|
||
<form action="/blog/search/" class="hidden-phone">
|
||
<div class="input-append search-input-area">
|
||
<input class="" id="appendedInputButton" type="text">
|
||
<button class="btn" type="button"><i class="icon-search"></i> </button>
|
||
</div>
|
||
</form>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="row-fluid">
|
||
<div class="span8">
|
||
|
||
<div class="row-fluid">
|
||
<ul class="thumbnails">
|
||
<li class="span6">
|
||
<a href="/blog/college/" class="thumbnail">
|
||
<p class="text_ey">Доска объявлений</p>
|
||
</a>
|
||
</li>
|
||
<li class="span6">
|
||
<a href="/pm/writeuser/18164/" class="thumbnail">
|
||
<p class="text_ey">Обратная связь</p>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<p>Выберите раздел справа:</p>
|
||
<div class="show-block">
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="span4">
|
||
|
||
<div class="blog-side-bar blue-box">
|
||
<h2><i class=" icon-tasks"></i> Учебно-организационный отдел</h2>
|
||
<ol>
|
||
<?php $_smarty_tpl->tpl_vars['razdel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['razdel']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['razdels']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['razdel']->key => $_smarty_tpl->tpl_vars['razdel']->value){
|
||
$_smarty_tpl->tpl_vars['razdel']->_loop = true;
|
||
?>
|
||
<?php if (($_smarty_tpl->tpl_vars['razdel']->value['category']==1)){?>
|
||
<li><a href="#" class="razdel-select" data-id="<?php echo $_smarty_tpl->tpl_vars['razdel']->value['id'];?>
|
||
"><?php echo $_smarty_tpl->tpl_vars['razdel']->value['name'];?>
|
||
</a></li>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</ol>
|
||
</div>
|
||
|
||
<div class="blog-side-bar green-box">
|
||
<h2><i class=" icon-tasks"></i> Учебно-воспитательный отдел</h2>
|
||
<ol>
|
||
<?php $_smarty_tpl->tpl_vars['razdel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['razdel']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['razdels']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['razdel']->key => $_smarty_tpl->tpl_vars['razdel']->value){
|
||
$_smarty_tpl->tpl_vars['razdel']->_loop = true;
|
||
?>
|
||
<?php if (($_smarty_tpl->tpl_vars['razdel']->value['category']==2)){?>
|
||
<li><a href="#" class="razdel-select" data-id="<?php echo $_smarty_tpl->tpl_vars['razdel']->value['id'];?>
|
||
"><?php echo $_smarty_tpl->tpl_vars['razdel']->value['name'];?>
|
||
</a></li>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</ol>
|
||
</div>
|
||
|
||
<div class="blog-side-bar red-box">
|
||
<h2><i class=" icon-tasks"></i> Учебно-методический отдел</h2>
|
||
<ol>
|
||
<?php $_smarty_tpl->tpl_vars['razdel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['razdel']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['razdels']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['razdel']->key => $_smarty_tpl->tpl_vars['razdel']->value){
|
||
$_smarty_tpl->tpl_vars['razdel']->_loop = true;
|
||
?>
|
||
<?php if (($_smarty_tpl->tpl_vars['razdel']->value['category']==3)){?>
|
||
<li><a href="#" class="razdel-select" data-id="<?php echo $_smarty_tpl->tpl_vars['razdel']->value['id'];?>
|
||
"><?php echo $_smarty_tpl->tpl_vars['razdel']->value['name'];?>
|
||
</a></li>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</ol>
|
||
</div>
|
||
|
||
<div class="blog-side-bar orange-box">
|
||
<h2><i class=" icon-tasks"></i> Физкультура и спорт</h2>
|
||
<ol>
|
||
<?php $_smarty_tpl->tpl_vars['razdel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['razdel']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['razdels']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['razdel']->key => $_smarty_tpl->tpl_vars['razdel']->value){
|
||
$_smarty_tpl->tpl_vars['razdel']->_loop = true;
|
||
?>
|
||
<?php if (($_smarty_tpl->tpl_vars['razdel']->value['category']==4)){?>
|
||
<li><a href="#" class="razdel-select" data-id="<?php echo $_smarty_tpl->tpl_vars['razdel']->value['id'];?>
|
||
"><?php echo $_smarty_tpl->tpl_vars['razdel']->value['name'];?>
|
||
</a></li>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</ol>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">
|
||
$(document).ready(function(){
|
||
//вывод информации о документа в выбранном разделе
|
||
$(".razdel-select").click(function(){
|
||
var id = $(this).data("id");
|
||
|
||
$.ajax({
|
||
url: '/json.php', dataType: 'json', type: 'POST', async: false, data: 'ajdes=razdel_select&id='+id,
|
||
success: function(data){
|
||
$('.show-block').html(data.html);
|
||
|
||
}
|
||
});
|
||
|
||
});
|
||
|
||
|
||
});
|
||
</script>
|
||
<?php }} ?>
|