{if(!('{i}' > '2'))}
<div class="col-lg-6">
	<div class="server">
		<img src="../{map_img}" alt="{map_name}">
		
		<div class="server-info">
			<h3>{name}</h3>
			<a href="steam://connect/{address}" title="Подключиться к серверу">{address}</a>

			<p onclick="get_players({id});" data-toggle="modal" data-target="#server{id}"><i class="fas fa-users"></i> {now}/{max}</p>
			<p><i class="fas fa-map-marker-alt"></i> {map_name}</p>
		</div>

		<div class="modal fade" id="server{id}">
			<div class="modal-dialog modal-lg">
				<div class="modal-content">
					<div class="modal-header">
						<h4 class="modal-title">Игроки</h4>
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
					</div>
					<div class="modal-body">
						<div class="table-responsive responsive-bordered mb-0">
							<table class="table table-bordered table-bg">
								<thead>
									<tr>
										<td>#</td>
										<td>Ник</td>
										<td>Убийств</td>
										<td>Время</td>
									</tr>
								</thead>
								<tbody id="players{id}">
									<tr>
										<td colspan="10">
											<div class="loader"></div>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
{/if}