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

@
section('content')
<
style>
.
btn-games2 {
    
backgroundurl(/images/btn-left2.jpgno-repeat left ,url(/images/btn-right2.jpgno-repeat right ,url(/images/btn-center2.jpgrepeat center;
    
color#ede256;
    
text-aligncenter;
    
padding-top10px;
    
padding-bottom10px;
    
padding-left55px;
    
padding-right55px;
    
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-size14px;
    
margin0;
    
margin-bottom0px;
    
border0;
}
</
style>
<
div class="box">
    <
center>
        <
script>
            var 
timer = {{ $cardCD-}};
            function 
startCounter()
            {
                var 
attackCounter document.getElementById('attackCounter');
                if(
timer == -2) return true;
                else
                {
                    
attackCounter.innerHTML timer+" сек.";
                    
timer--;
                    if(
timer == -1)
                    {
                        
location.reload();
                    }
                }
            }
            
window.onload= function() {
                
setInterval('startCounter()'1000);
            };
        </
script>
        <
h4 class="text-center name-user"Карта противника</h4>

             <
img src="/images/characteristics/heart.png" width="30px" alt="">
              {{ 
$info->mobCardHealth }}/250
             
<img src="/images/characteristics/defence.png" width="27px" alt=""
              
45
             
<img src="/images/characteristics/stronges.png" width="33px" alt="">
              
20</center></br>
                    <
div class="pobed text-center">{{ $exp->mob }}%</div>
            <
div class="progres-bg">
                <
div class="progres2" style="width: {{ $exp->mob }}%;"></div>
            </
div></center>
        </
p></br>    
        <
h4 class="text-center name-user">Моя карта </h4><center>

             <
img src="/images/characteristics/heart.png" width="30px" alt="">
              {{ 
$info->cardHealth }}/{{ $userCard->health }}
              <
img src="/images/characteristics/defence.png" width="27px" alt=""
              {{ 
$userCard->armor }}
             <
img src="/images/characteristics/stronges.png" width="33px" alt="">
             {{ 
$userCard->min_attack }}-{{ $userCard->max_attack }}<br>
          </
center>
<
p>
            <
div class="pobed text-center">{{ $exp->my }}%</div>
            <
div class="progres-bg">
                <
div class="progres1" style="width: {{ $exp->my }}%;"></div>
            </
div>
        </
p></br>
        @if(
$info->cardCooldown <= time())
            <
a href="/tutorial/14/attack" class="btn btn-games2 btn-block">
             
Атаковать ({{ $info->cardAttackCount }} уд.)</a>
        @else
            <
class="btn btn-games2 btn-block" id="attackCounter" disabled> {{ $cardCD }} сек.</a>
        @endif
    </
center>
        </
div>
     <
img class="img-responsive" src="/images/new-foot.png" alt="foot-i">
@
endsection
?>
Онлайн: 1
Реклама