Вход Регистрация
Файл: resources/views/game/campaign/battle.blade.php
Строк: 68
<?php
@extends('layouts.main')

@
section('content')
<
style>
.
row {
    
margin-right0px;
    
margin-left0px;
    
width70%;
}
.
btn-games2 {
    
backgroundurl(/images/btn-left2.jpgno-repeat left ,url(/images/btn-right2.jpgno-repeat right ,url(/images/btn-center2.jpgrepeat center;
    
color#ede256;
    
width40%;
    
text-aligncenter;
    
padding-top5px;
    
padding-bottom10px;
    
padding-left45px;
    
padding-right45px;
    
text-shadow-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-size15px;
    
margin0;
    
margin-bottom4px;
    
border0;
}
</
style>
    <
font color="white">
        <
center>   
<
div style="position:relative ; left:0px;  top:50px;">
    <
font size "4px"> {{ $ct->health }}</font>
    </
div>
   <
img src="/images/cards/{{ $c1->image }}.png" width="65px">
            <
br><br>
<
center><big>Ваши карты</big></center><br>
            <
div class="row">
                @if(
$ct->myHealth1 0)
                    <
div class="col-xs-{{ $ct->myHealth2 > 0 ? 6 : 12 }}">
                        <
img src="/images/cards/{{ $c2->getCardInfo->image }}.png" width="65px"><br>
                        
HP: {{ $ct->myHealth1 }}/{{ round($c2->getCardInfo->health+Services::getUpgradeBonus($c2->getCardInfo->health$c2->upgrade_level)) }}<br>
                    </
div>
                @endif
                @if(
$ct->myHealth2 0)
                    <
div class="col-xs-{{ $ct->myHealth1 > 0 ? 6 : 12 }}">
                        <
img src="/images/cards/{{ $c3->getCardInfo->image }}.png" width="65px"><br>
                        
HP: {{ $ct->myHealth2 }}/{{ round($c3->getCardInfo->health+Services::getUpgradeBonus($c3->getCardInfo->health$c3->upgrade_level)) }}<br>
                    </
div>
                @endif
            </
div><br>
            <
font color="black">
                @if(
$ct->myHealth1 0)
                    @if(
$ct->cooldown1 <= time())
                        <
a href="/campaign/battle/attack/1" class="btn-games2">Удар</a>
                    @else
                        <
a href="?" class="btn-games2">{{ Services::timer($ct->cooldown1-time()) }}</a>
                    @endif
                @endif
                @if(
$ct->myHealth2 0)
                    @if(
$ct->cooldown2 <= time())
                        <
a href="/campaign/battle/attack/2" class="btn-games2">Удар</a>
                    @else
                        <
a href="?" class="btn-games2">{{ Services::timer($ct->cooldown2-time()) }}</a>
                    @endif
                @endif
            </
font>
        </
center>
    </
font>
@
endsection
?>
Онлайн: 0
Реклама