<div class="server server_line">
	<div class="td">
		<a href="steam://connect/{address}">{name}</a>
	</div>
	<div id="map{id}" class="td" data-container="body" data-toggle="popover" data-placement="top" data-content='<img src="{map_img}">'>
		{map_name}
		<script>$('#map{id}').popover({ html: true, animation: true, trigger: "hover" });</script>
	</div>
	<div class="td">
		<a href="steam://connect/{address}">{address}</a>
	</div>
	<div class="td">
		<div class="progress online_line" onclick="get_players({id});" class="c-p" data-toggle="modal" data-target="#server{id}">
			<div class="progress-bar progress-bar-{color}" role="progressbar" style="width: {percentage}%;"></div>
			<div class="players_val">{now}/{max}</div>
		</div>
	</div>
	<div class="btn-group td {disp1}">
		<a type="button" class="btn btn-default" style="background: none;" href="../admins?server={id}"><span class="glyphicon glyphicon-user"></span></a>
		<a type="button" class="btn btn-default" style="background: none;" href="../banlist?server={id}"><span class="glyphicon glyphicon-ban-circle"></span></a>
		<a type="button" class="btn btn-default" style="background: none;" href="../bans/index?server={id}"><span class="glyphicon glyphicon-info-sign"></span></a>
	</div>
	<div class="btn-group td {disp2}">
		<a type="button" class="btn btn-default" style="background: none;" href="../admins?server={id}"><span class="glyphicon glyphicon-user"></a>
		<a type="button" class="btn btn-default" style="background: none;" href="../bans/index?server={id}"><span class="glyphicon glyphicon-info-sign"></span></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>