<tr class="bh" id="bid{bid}">
	<td class="c-p" data-target="#mute{bid}" data-toggle="modal">
		<p class="ban_info_fix"><b>Игрок</b>: {nick}</p>
		<p class="m-t-5 ban_info_fix"><b>Админ</b>: {admin_nick}</p>
	</td>
	<td>
		<p class="ban_info_fix">{ban_reason}</p>
		<? if('{price}' != '0') { ?>
			<a href="#" id="buy_unmute_btn{bid}" class="{display}" data-target="#mute{bid}" data-toggle="modal" onclick="return false"><u>Купить разбан {price}р</u></a>
		<? } ?>
	</td>
	<td>
		<p><b>Срок</b>: <span class="text-{color}">{ban_length}</span></p>
		<p class="m-t-5"><b>Тип</b>: <? if('{type}' == '0') { ?> Mute+Gag <? } elseif('{type}' == '1') { ?> Mute <? } else { ?> Gag <? } ?></p>
	</td>
	<td>
		{ban_created}

		<script>$('#mute{bid}').modal('hide')</script>

		<div id="mute{bid}" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" 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 width="1%"><i class="fa fa-address-card-o" aria-hidden="true"></i></td>
								<td width="25%">Mute id:</b></td>
								<td>{bid}</td>
							</tr>
							<tr>
								<td><i class="fa fa-steam-square" aria-hidden="true"></i></td>
								<td>SteamID забаненного: </b></td>
								<td>{steamid}</td>
							</tr>
							<tr>
								<td><i class="fa fa-user-circle-o" aria-hidden="true"></i></td>
								<td>Ник забаненного: </b></td>
								<td>{nick}</td>
							</tr>
							<tr>
								<td><i class="fa fa-address-book-o" aria-hidden="true"></i></td>
								<td>Ник админа:</td>
								<td>{admin_nick}</td>
							</tr>
							<tr>
								<td><i class="fa fa-ban" aria-hidden="true"></i></td>
								<td>Причина:</td>
								<td>{ban_reason}</td>
							</tr>
							<tr>
								<td><i class="fa fa-clock-o" aria-hidden="true"></i></td>
								<td>Дата бана:</td>
								<td><p class="text-{color}">{ban_created}</p></td>
							</tr>
							<tr>
								<td><i class="fa fa-hourglass-half" aria-hidden="true"></i></td>
								<td>Дата окончания:</td>
								<td><p class="text-{color}">{status}</p></td>
							</tr>
							<tr>
								<td><i class="fa fa-user-times" aria-hidden="true"></i></td>
								<td>Срок:</td>
								<td><p class="text-{color}">{ban_length}</p></td>
							</tr>
							<tr>
								<td><i class="fa fa-server" aria-hidden="true"></i></td>
								<td>Адрес сервера:</td>
								<td>{server_address}</td>
							</tr>
							<tr class="{display}">
								<td><i class="fa fa-unlock-alt" aria-hidden="true"></i></td>
								<td>Размут:</td>
								<td>
									<? if('{price}' != '0') { ?>
										<button class="btn" onclick="buy_unmut('{bid}', '{server}')">Купить размут - {price}р</button>
									<? } ?>
									<button class="btn {display-unmut}" onclick="close_ban2('{server}', '{bid}')">Размутить</button>
								</td>
							</tr>
							<? if('{ban_closed}' != '') { ?>
								<tr>
									<td><i class="fa fa-pencil-square-o" aria-hidden="true"></i></td>
									<td>Блокировку снял:</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>