<div class="left_block hidden-xs" role="navigation">
	<div class="user_info">
		<a href="../profile">{group_name}</a> | Баланс: <a href="../purse"><font id="balance">{balance}</font>{{$messages['RUB']}}</a>
		{if(('{countOfOpenTickets}' > '0' || '{countOfOpenBans}' > '0' || '{countOfOpenComplaints}' > '0'))}
			<span class="not glyphicon glyphicon-flag" onclick="hide_profile_box();"></span>
		{/if}
	</div>

	<div id="profile_box" class="disp-n">
		{if('{countOfOpenTickets}' > '0')}
			<p>Открытые тикеты: <a href="../support/all_tickets"> +{countOfOpenTickets}</a></p>
		{/if}
		{if('{countOfOpenBans}' > '0')}
			<p>Заявки на разбан: <a href="../bans/"> +{countOfOpenBans}</a></p>
		{/if}
        {if('{countOfOpenComplaints}' > '0')}
	        <p>Жалобы: <a href="../complaints/"> +{countOfOpenComplaints}</a></p>
        {/if}
		<script>check_news();</script>
		<div id="check_mess"></div>
	</div>

	<nav>
		<ul id="nav">
			{menu}
		</ul>
	</nav>

	<div class="online_users_info">
		<span class="glyphicon glyphicon-signal"></span> Пользователи онлайн: <span id="users_online_number"></span>
	</div>
	<ul id="online_users" class="online_users">
		{func Widgets:online_users()}
	</ul>
</div>