{if(is_worthy_specifically("s", {server}) && '{empty}' != '1')}
	<script src="{site_host}templates/admin/js/timepicker/timepicker.js"></script>
	<script src="{site_host}templates/admin/js/timepicker/jquery-ui-timepicker-addon.js"></script>
	<script src="{site_host}templates/admin/js/timepicker/jquery-ui-timepicker-addon-i18n.min.js"></script>
	<script src="{site_host}templates/admin/js/timepicker/jquery-ui-sliderAccess.js"></script>
{/if}

<div class="col-lg-9 order-is-first">
	{if('{empty}' == '0')}
	<div class="block block-search">
		<div class="block_head">
			Мутлист
		</div>
		{if('{error}' == '')}
		<div class="input-search">
			<i class="fas fa-search" onclick="search_mute({server})"></i>
			<input type="text" class="form-control" id="search_mute" placeholder="Введите nick / steam_id">
			<script> set_enter('#search_mute', 'search_mute({server})'); </script>
		</div>

		<div class="table-responsive mb-0">
			<table class="table table-bordered">
				<thead>
					<tr>
						<td>Ник</td>
						<td>Причина</td>
						<td>Тип</td>
						<td>Срок</td>
						<td>Дата окончания</td>
						<td>Админ</td>
					</tr>
				</thead>
				<tbody id="muts">
					{func GetData:mutlist("{start}","{server}","{limit}")}
				</tbody>
			</table>
		</div>
		{else}
		<div class="empty-element">
			{error}
		</div>
		{/if}
	</div>

	<div id="pagination2"><center>{pagination}</center></div>
	{else}
	<div class="block">
		<div class="block_head">
			Мутлист
		</div>
		<div class="empty-element">
			Сервера не привязаны к источникам информации.
		</div>
	</div>
	{/if}
</div>

<div class="col-lg-3 order-is-last">
	{if('{empty}' == '0')}
	<div class="block">
		<div class="block_head">
			Сервера
		</div>
		<div class="vertical-navigation">
			<ul>
				{servers}
			</ul>
		</div>
	</div>

	<div class="block block-table">
		<div class="block_head">
			Статистика
		</div>
		<div class="table-responsive mb-0">
			<table class="table table-bordered mb-0">
				<tr>
					<td width="50%">Всего мутов</td>
					<td width="50%">{count}</td>
				</tr>
				<tr>
					<td width="50%">Активные</td>
					<td width="50%">{count_active}</td>
				</tr>
				<tr>
					<td width="50%">Перманентные</td>
					<td width="50%">{count_permanent}</td>
				</tr>
				<tr>
					<td width="50%">Временные</td>
					<td width="50%">{count_temporal}</td>
				</tr>
			</table>
		</div>
	</div>
	{/if}

	{if(is_auth())}
		{include file="/home/navigation.tpl"}
		{include file="/home/sidebar_secondary.tpl"}
	{else}
		{include file="/index/authorization.tpl"}
		{include file="/index/sidebar_secondary.tpl"}
	{/if}
</div>