<tr class="{class}" id="bid{bid}" data-target="#ban{bid}" data-toggle="modal" title="Подробнее">
	<td class="td-profile">{player_nick}</td>
	<td>{ban_reason}</td>
	<td class="t-c">
		{ban_length}
		<? if('{price}' != '0') { ?>
		<a class="{disp} ws-n" id="buy_unban_btn{bid}" title="Купить разбан за {price} руб">
			(Разбан {price}р)
		</a>
		<? } ?>
	</td>
	<td class="t-c">{time}</td>
	<td class="td-profile">{admin_nick}</td>
</tr>
<tr>
	<td>
		<script type="text/javascript">
			$('#ban{bid}').modal('hide')
		</script>
		<div id="ban{bid}" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true">
			<div class="modal-dialog modal-lg">
				<div class="modal-content">
					<div class="modal-header">
						<h4 class="modal-title">Подробная информация</h4>
					</div>
					<div class="modal-body" id="baninfo{bid}">
						<table class="table table-bordered mb-0">
							<tr>
								<td><span class="glyphicon glyphicon-search"></span><b> Ban id: </b></td>
								<td>{bid}</td>
							</tr>
							<tr>
		
								<td><span class="glyphicon glyphicon-qrcode"></span><b> IP забаненного: </b></td>
								<td>{player_ip}</td>
							</tr>
							<tr>
								<td><span class="glyphicon glyphicon-barcode"></span><b> SteamID забаненного: </b></td>
								<td>{player_id}</td>
							</tr>
							<tr>
								<td><span class="glyphicon glyphicon-user"></span><b> Ник забаненного: </b></td>
								<td>{player_nick}</td>
							</tr>
							<tr>
								<td>Ник админа:</td>
								<td>{admin_nick}</td>
							</tr>
							<tr>
								<td>Причина:</td>
								<td>{ban_reason}</td>
							</tr>
							<tr>
								<td><span class="glyphicon glyphicon-map-marker"></span><b> Дата бана: </b></td>
								<td><p class="text-{class}">{ban_created}</p></td>
							</tr>
								<tr>
									<td><span class="glyphicon glyphicon-calendar"></span><b> Дата окончания: </b></td>
									<td>
										{if(is_worthy_specifically("s", {server}))}
											<input onclick="$('.ui-datepicker-current').attr('onclick', 'set_admin_date_forever({bid}, \'#ban_end_input{bid}\')');$('.ui-datepicker-current2').attr('onclick', 'change_ban_end({bid}, {server});');" class="form-control input-xs c-p" type="text" id="ban_end_input{bid}" value="{ban_end}">
											<script>
											$('#ban_end_input{bid}').datetimepicker({
												timeInput: true,
												timeFormat: "HH:mm",
												onSelect: function() {
													setTimeout(function() {
														$('.ui-datepicker-current').attr('onclick', 'set_admin_date_forever({bid}, \'#ban_end_input{bid}\')');
														$('.ui-datepicker-current2').attr('onclick', 'change_ban_end({bid}, {server});');
													}, 500);
												}
											});
											</script>
										{else}
											<p class="text-{class}" id="ban_end_full{bid}">{time}</p>
										{/if}
									</td>
								</tr>
							<tr>
								<td><span class="glyphicon glyphicon-time"></span><b> Срок: </b></td>
								<td><p class="text-{class}">{ban_length}</p></td>
							</tr>
							<tr>
								<td><span class="glyphicon glyphicon-globe"></span><b> Адрес сервера: </b></td>
								<td>{address}</td>
							</tr>
							<tr class="{disp}">
								<td><span class="glyphicon glyphicon-ok-circle"></span><b> Разбан: </b></td>
								<td>
									<? if('{price}' != '0') { ?>
									<button class="btn2" onclick="buy_unban({bid},{server});" title="Купить разбан за {price} руб">
										Купить разбан - {price} руб
									</button>
									<? } ?>
									<button class="btn2 btn-cancel {disp2}" onclick="close_ban2('{server}','{bid}');">
										Разбанить
									</button>
								</td>
							</tr>
							<? if('{ban_closed}' != '') { ?>
							<tr>
								<td><span class="glyphicon glyphicon-ok-circle"></span><b> Блокировку снял: </b></td>
								<td>
									{ban_closed}
								</td>
							</tr>
							<? } ?>
						</table>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
					</div>
				</div>
			</div>
		</div>
	</td>
</tr>