	<div class="r_block">
		<div class="r_block_head">
			<span class="glyphicon glyphicon-list"></span> События
		</div> 
		<div class="r_block_c">
			<div id="events">
				{func EventsRibbon:get_events("{start}","{class}","{limit}")}
			</div>
			<div id="pagination2"><center>{pagination}</center></div>
		</div>
	</div>
</div>

<div class="right_block">
	<div class="r_block">
		<div class="r_block_head">
			Сортировать
		</div>
		<div class="r_block_c">
			<ul class="nav nav-pills nav-stacked">
				{categories}
			</ul>
		</div>
	</div>

	{if(is_auth())}
		{include file="/home/right_col.tpl"}
	{else}
		{include file="/index/reg_form.tpl"}
	{/if}
</div>