<tr class="server_line">
	<td><b>{i}</b></td>
	<td>
	<center><a style="color: #6B8E23;color: #6B8E23;background: url(/files/3.gif) repeat scroll 0 0%, url(/files/3.gif) repeat scroll 0 0; color: #000000; text-shadow: 0 0 3px #6B8E23  , 0 0">
	<b>
	{name}
		</b></a></center></td>
	<td>
		<div class="progress online_line">
			<div class="progress-bar progress-bar-{color}" role="progressbar" style="width: {percentage}%;"></div>
			<div class="players_val">
			<a onclick="get_players({id});" class="c-p" data-toggle="modal" data-target="#server{id}">
			{now}/{max}
			</a>
			</div>
		</div>
		<div class="clearfix"></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>
	</td>

<td><center><a style="color: #6B8E23;color: #6B8E23;background: url(/files/3.gif) repeat scroll 0 0%, url(/files/3.gif) repeat scroll 0 0; color: #000000; text-shadow: 0 0 3px #6B8E23  , 0 0"><b>
	
	<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>
		</b></a></center></td>
	</div>
	
	<td><center><a href="steam://connect/{address}" style="color: #6B8E23;color: #6B8E23;background: url(/files/3.gif) repeat scroll 0 0%, url(/files/3.gif) repeat scroll 0 0; color: #000000; text-shadow: 0 0 3px #6B8E23  , 0 0"><b>{address}</b></center></a></td>
</tr>

