			{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>
									</tr>
								</thead>
								<tbody id="banlist">
									{func GetData:banlist("{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_ban({server})" class="btn btn-default" type="button">Найти</button>
							</span>
							<input type="text" class="form-control" id="search_ban" placeholder="Введите ник/steam_id/ip">
							<script> set_enter('#search_ban', 'search_ban({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}
		</div>
	</div>
</div>