<div class="serv_mon">
	<div class="block bt-n pd-3">
		<img class="w100 b-r-3-3" src="{map_img}" alt="{map_name}">
		<div class="info">
			<font><span>Серв:&nbsp</span> <a class="c-fff" href="steam://connect/{address}">{name}</a></font><br>
			<font class="c-fff"><span>Игра:&nbsp</span> {game}</font><br>
			<font><span>Игроки:&nbsp</span> <a onclick="get_players({id});" class="c-p c-fff" data-toggle="modal" data-target="#server{id}">список</a></font><br>
			<font><span>Карта:&nbsp</span> <a class="c-fff">{map_name}</a></font><br>
			<font><span>Адрес:&nbsp</span> <a class="c-fff" href="steam://connect/{address}">{address}</a></font><br>
		</div>
		<div class="progress mt-2">
			<div class="progress-bar progress-bar-{color}" role="progressbar" aria-valuenow="2" aria-valuemin="0" style="width: {percentage}%;">
				{now}/{max}
			</div>
		</div>
		<center>
			<div class="btn-group w-100 {disp1} mt--20" role="group">
				<a type="button" class="btn btn-default w-33" href="../admins?server={id}">Админы</a>
				<a type="button" class="btn btn-default w-33" href="../banlist?server={id}">Баны</a>
				<a type="button" class="btn btn-default w-33" href="../bans/index?server={id}">Заявки</a>
			</div>
			<div class="btn-group w-100 {disp2} mt--20" role="group">
				<a type="button" class="btn btn-default w-50" href="../admins?server={id}">Админы</a>
				<a type="button" class="btn btn-default w-50" href="../bans/index?server={id}">Заявки</a>
			</div>
		</center>
	</div>
</div>

<div id="server{id}" class="modal fade">
	<div class="modal-dialog modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title">Игроки</h4>
			</div>
			<div class="modal-body">
				<div class="table-responsive mb-0">
					<table class="table table-bordered">
						<thead>
							<tr>
								<td>#</td>
								<td>Ник</td>
								<td>Убийств</td>
								<td>Время</td>
								{if('{rcon}' == '1' && isset($_SESSION['id']) && is_worthy_specifically("s", {id}))}
								<td>Действие</td>
								{/if}
							</tr>
						</thead>
						<tbody id="players{id}" class="server_players">
							<tr><td colspan="4"><center><img src="{site_host}templates/{template}/img/loader.gif"></center></td></tr>
						</tbody>
					</table>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
			</div>
		</div>
	</div>
</div>