{if('{empty}' != '1')}
	{if(is_worthy_specifically("s", {server}))}
		<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-md-9">
		<div class="block">
			<div class="block_head">Мутлист</div>
			{if('{error}' == '')}
			<div class="table-responsive mb-0">
				<table class="table table-bordered table-hover">
					<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}
			<input class="btn btn-default w-100 disabled" type="button" value="{error}"></input>
			{/if}
		</div>
		<div id="pagination2"><center>{pagination}</center></div>
	</div>
	<div class="col-md-3">
		<div class="block">
			<div class="block_head">
				Найти
			</div>
			<div class="input-group">
				<span class="input-group-btn">
					<button onclick="search_mute({server})" class="btn btn-default" type="button">Найти</button>
				</span>
				<input type="text" class="form-control" id="search_mute" placeholder="Введите ник/steam_id">
				<script> set_enter('#search_mute', 'search_mute({server})'); </script>
			</div>
		</div>
		<div class="block">
			<div class="block_head">
				Сортировать
			</div>
			<ul class="nav nav-pills nav-stacked">
				{servers}
			</ul>
		</div>
		<div class="block">
			<div class="block_head">
				Статистика
			</div>
			<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>
{else}
	<div class="col-md-9">
		<div class="block">
			<div class="block_head">Мутлист</div>
			<input class="btn btn-default w-100 disabled" type="button" value="Мутлист пуст. Сервера не привязаны к источникам информации."></input>
		</div>
	</div>
	<div class="col-md-3">
		<div class="block">
			<div class="block_head">
				Сортировать
			</div>
			<ul class="nav nav-pills nav-stacked">
				<input class="btn btn-default w-100 disabled" type="button" value="Серверов нет"></input>
			</ul>
		</div>
	</div>
{/if}
