	<div id="notifications_line" class="disp-n">
		<span class="glyphicon glyphicon-list"></span> Уведомления: 
		<span onclick="hide_notifications();">Скрыть <span class="glyphicon glyphicon-ok"></span></span>
	</div>
	<div id="notifications">
		{func GetData:notifications("0", "0", "1")}
	</div>

	<div class="r_block">
		<div class="r_block_head">
			<span class="glyphicon glyphicon-comment"></span> Сервера
		</div> 
		<div class="r_block_c servers">
			<div id="servers">
				<center><img src="{site_host}templates/{template}/img/loader.gif?v={cache}"></center>
				<script>get_servers();</script>
			</div>
		</div>
	</div>

	{include file="/elements/chat.tpl"}

    {if(isModuleActive('donation_widget'))}
		<div class="r_block">
			<div class="r_block_c">
				<div id="dw_donations"><script>dw_donations();</script></div>
			</div>
		</div>
    {/if}

	{if(isModuleActive('sortition'))}
	<div class="r_block">
		<div class="r_block_c">
			{if($page->name != 'sortition')} <div id="sortition"> <script>get_sortition_lite();</script> </div> {/if}
		</div>
	</div>
	{/if}

	<div class="r_block">
		<div class="r_block_head">
			<span class="glyphicon glyphicon-th-list"></span> Форум
		</div> 
		<div class="r_block_c">
			<div id="forum">
				{func Forum:get_forums()}
			</div>
		</div>
	</div>

	{if($conf->show_events != '0')}
	<div class="r_block">
		<div class="r_block_head">
			Последние события проекта
		</div> 
		<div class="r_block_c pd-10" id="events">
			{func EventsRibbon:get_events(0, 0, $conf->show_events)}
		</div>
	</div>
	{/if}

	{if($conf->disp_last_online == '1')}
	<div class="r_block">
		<div class="r_block_head">
			Сегодня нас посетили: <span id="count_of_last_onl_us"></span>
		</div> 
		<div class="r_block_c pd-10" id="load_last_online">
			{func Widgets:were_online()}
		</div>
	</div>
	{/if}

	{if(isModuleActive('site_stats'))}
		<div id="site_stats"> <script>get_site_stats(1);</script> </div>
	{/if}
</div>
<div class="right_block">
	{include file="/home/right_col.tpl"}
	{include file="/elements/vk_widgets.tpl"}

	{if($conf->show_news != '0')}
	<div class="l_block load_new_news">
		<div class="l_block_head">
			Последние новости
		</div>
		<div class="l_block_c">
			<div id="new_news">
				{func Widgets:last_news($conf->show_news)}
			</div>
		</div>
	</div>
	{/if}

	<div class="l_block">
		<div class="l_block_head">
			Топ 5 пользователей
		</div> 
		<div class="l_block_c">
			<div id="top_users">
				{func Widgets:top_users('5')}
			</div>
		</div>
	</div>

    {if(isModuleActive('cases'))}
		<div id="case_banner"> <script>get_case_banner();</script> </div>
    {/if}

    {if(isModuleActive('activity_rewards'))}
		<div id="activity-rewards-banner"> <script>getRewardsBanner('#activity-rewards-banner');</script> </div>
    {/if}
</div>