<div class="our_server">
	<div class="hidden2">
		<div style="background: url({map_img}) no-repeat -23.5px; background-size: auto 60px;" class="our_map_img"></div>
		<div class="our_server_info">
			<div class="our_server_info_row"><a href="steam://connect/{address}">{name}</a></div>
			<div class="our_server_info_row">Карта: <span>{map_name}</span>  </div>
			<div class="our_server_info_row"><a href="steam://connect/{address}">{address}</a></div>
		</div>
	</div>
	<div style="padding:0 7px;">
		<div class="progress online_line" onclick="get_players({id});" class="c-p" data-toggle="modal" data-target="#server{id}">
			<div class="progress-bar" role="progressbar" style="width: {percentage}%;"></div>
			<div class="players_val">{now}/{max}</div>
		</div>
	</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>