<div class="block server last_msg mb-10 pd-0">
	<div class="col-md-4 pt-5 pb-5">
		<img class="img-thumbnail w100" src="{map_img}" alt="{map_name}">
	</div>
	<div class="col-md-8 pt-5 corp lh-17">
		<span>Название:&nbsp</span> <a>{name}</a><br>
		<span>Игроки:&nbsp</span> <a onclick="get_players({id});" class="c-p" data-toggle="modal" data-target="#server{id}">список</a><br>
		<span>Карта:&nbsp</span> <a>{map_name}</a><br>
		<span>Адрес:&nbsp</span> <a href="steam://connect/{address}">{address}</a><br>
		<span>Ссылки:&nbsp</span> 
		<a href="../admins?server={id}">Админы</a>
		<a class="{disp}" href="../banlist?server={id}">Баны</a>
		<a href="../bans/index?server={id}">Заявки</a>
	</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>