Файл: resources/views/game/battles/tournament/battle.blade.php
Строк: 99
<?php
@extends('layouts.main')
@section('content')
<style>
.medis {
background: url(/images/bg-foot.jpg) no-repeat center;
padding: 5px;
border-radius: 5px;
word-wrap: break-word;
border: 1px solid #3d3b6e;
box-shadow: 0px 3px 5px 0px rgba(23,22,52,1);
-webkit-box-shadow: 0px 3px 5px 0px rgba(23,22,52,1);
-moz-box-shadow: 0px 3px 5px 0px rgba(23,22,52,1);
}
.btn-games2 {
background: url(/images/btn-left2.jpg) no-repeat left ,url(/images/btn-right2.jpg) no-repeat right ,url(/images/btn-center2.jpg) repeat center;
color: #ede256;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 55px;
padding-right: 55px;
text-shadow: 0 -1px 0 #131227, 0 -1px 0 #131227, 0 1px 0 #131227, 0 1px 0 #131227, -1px 0 0 #131227, 1px 0 0 #131227, -1px 0 0 #131227, 1px 0 0 #131227, -1px -1px 0 #131227, 1px -1px 0 #131227, -1px 1px 0 #131227, 1px 1px 0 #131227, -1px -1px 0 #131227, 1px -1px 0 #131227, -1px 1px 0 #131227, 1px 1px 0 #131227;
font-size: 14px;
margin: 0;
margin-bottom: 0px;
border: 0;
}
</style>
<div class="box">
<div class="medis">
<div class="media-body">
<center>
{{ Services::timer($battle->time-time()) }}<br>
<h2><font color="#1E90FF">{{ $t1a }}</font>
<small><font color = "white">vs</font></small>
<font color="#FF2C2F">{{ $t2a }}</font></h2>
@if($my->team == 1)
<font size="4px">Ваши {{ $battle->team1_points }}:{{ $battle->team2_points }} </font><br>
@else
<font size="4px">Ваши {{ $battle->team2_points }}:{{ $battle->team1_points }} </font><br>
@endif
</center></div></div>
<br>
@if($my->opponent != 0)
@if($my->health <= 0)
<big>Вас убили, воскрешение через {{ Services::timer($my->respawn_time-time()) }} сек.</big>
@else
<big><font color = "#ff5713"><img src="/images/min-us.png" width="20px"> {{ $opponent->getUserInfo->login }}</font></big> {{ $opponent->health }} хп.</center>
<center><big>vs</big></center>
<center><img src="/images/min-us.png" width="20px"> <big><font color = "#73f773">Вы</font></big> {{ $my->health }} хп. ({{ $my->points }} уб.)</center><br>
@if($my->attack_cooldown > time())
<a href="/tournament/battle" class = "btn btn-games2 btn-block">
Откат через {{ Services::timer($my->attack_cooldown-time()) }}</a>
@else
<a href="/tournament/attack" class = "btn btn-games2 btn-block">
Атаковать противника</a><br>
@endif
@if($t2a > 1)
<center><a href="/tournament/change">Сменить противника</a></center>
@endif
@endif
@else
<center>Команда соперника мертва<br>
Ожидайте возрождения</center><br>
<a href="/tournament/battle" class = "btn btn-games2 btn-block">Обновить</a>
@endif
</br>
</center>
</div>
@endsection
?>