EIOS/tpl/tpl_college_docs.html

118 lines
3.1 KiB
HTML
Raw Permalink 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.

<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>
{foreach from=$razdels item=razdel}
{if ($razdel.category == 1)}
<li><a href="#" class="razdel-select" data-id="{$razdel.id}">{$razdel.name}</a></li>
{/if}
{/foreach}
</ol>
</div>
<div class="blog-side-bar green-box">
<h2><i class=" icon-tasks"></i> Учебно-воспитательный отдел</h2>
<ol>
{foreach from=$razdels item=razdel}
{if ($razdel.category == 2)}
<li><a href="#" class="razdel-select" data-id="{$razdel.id}">{$razdel.name}</a></li>
{/if}
{/foreach}
</ol>
</div>
<div class="blog-side-bar red-box">
<h2><i class=" icon-tasks"></i> Учебно-методический отдел</h2>
<ol>
{foreach from=$razdels item=razdel}
{if ($razdel.category == 3)}
<li><a href="#" class="razdel-select" data-id="{$razdel.id}">{$razdel.name}</a></li>
{/if}
{/foreach}
</ol>
</div>
<div class="blog-side-bar orange-box">
<h2><i class=" icon-tasks"></i> Физкультура и спорт</h2>
<ol>
{foreach from=$razdels item=razdel}
{if ($razdel.category == 4)}
<li><a href="#" class="razdel-select" data-id="{$razdel.id}">{$razdel.name}</a></li>
{/if}
{/foreach}
</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>