Вход Регистрация
Файл: resources/views/game/campaign/process.blade.php
Строк: 212
<?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;
    
width85%;
    
text-aligncenter;
    
padding-top5px;
    
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-size15px;
    
margin0;
    
margin-bottom4px;
    
border0;
}
    .
medim {
    
backgroundurl(/images/bg-foot.jpgno-repeat center;
    
padding5px;
    
border-radius5px;
    
word-wrap: break-word;
    
border1px solid #3d3b6e;
    
box-shadow0px 3px 5px 0px rgba(23,22,52,1);
    -
webkit-box-shadow0px 3px 5px 0px rgba(23,22,52,1);
    -
moz-box-shadow0px 3px 5px 0px rgba(23,22,52,1);
}
.
boxins {
    
backgroundurl(/images/campaign-1.pngno-repeat center;
    
color#C1C0D4;
    
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;
    
padding60px;
    
word-wrap: break-word;
    
margin-bottom: -15px;
    
margin-top: -14px;
}
        .
logo .damage {
            
colorred;
            
font-size15px;
            
font-weightbold;
            
letter-spacing5px;
            
text-shadownone;
            
text-shadow#FF8432 1px 0px, #FF8432 1px 1px, #FF8432 0px 1px, #FF8432 -1px 1px, #FF8432 -1px 0px, #FF8432 -1px -1px, #FF8432 0px -1px, #FF8432 1px -1px, #FF8432 0 0 3px, #FF8432 0 0 3px, #FF8432 0 0 3px, #FF8432 0 0 3px, #FF8432 0 0 3px, #FF8432 0 0 3px, #FF8432 0 0 3px, #FF8432 0 0 3px;
        
}
.
boxiv {
    
backgroundurl(/images/opp-battle.pngno-repeat center;
    
color#C1C0D4;
    
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;
    
padding70px;
    
word-wrap: break-word;
    
margin-bottom0px;
    
margin-top5px;
}
    </
style>
    @if(
Session::has('result'))
        <
center>
            <
div class="box">
                <
div class="media">
                    <
div class="media-body">
                        <
h4 class="media-heading">
                            {{
Session::get('result')}}
                        </
h4>
                    </
div>
                </
div>
            </
div>
        </
center>
        @
php
            Session
::forget('result');
        @
endphp
    
@endif
    <
div class="box">
        <
div class="medim">
            <
center>
                    <
div class="media-body">
                        
Ранг кампании: {{ Auth::user()->campaign_rank }}<br>
                        
Опыт: {{ Auth::user()->campaign_exp $rank->exp $rank->exp Auth::user()->campaign_exp }}/{{ $rank->exp }}<br>
                        {!! 
Auth::user()->campaign_exp >= $rank->exp '<br><a href="/campaign/up">Повысить ранг</a>' ''!!}
                    </
div>
            </
center>
        </
div>
        <
font color="white">
            @if(
$ci->type == 'text' || $ci->type == 'text-with-reward')
                <
center>
                    <
br>{{ $ci->text }}<br><br>
                    <
a href="/campaign/next" class="btn btn-games2 btn-block">{{ $ci->button }}</a>
                </
center>
            @endif
            @if(
$ci->type == 'raid')
                @if(
$cu->raid == 0)
                    <
center><div class = "boxiv"></div>
                        <
strong>Осталось разбойников: <big>{{ count((array) $cu->enemies_left)-}}</big></strong><br><br>
                        <
a href="/campaign/raid" class="btn btn-games2 btn-block">Рейд (1 час)</a>
                    </
center><br>
                @else
                    <
center>
                        @if(
$cu->cooldown time())
                        <
div class="boxins">
                            <
span class="damage">
                                <
br><big>Вы в рейде</big><br>
                                <
small> {{ Services::timer($cu->cooldown-time()) }}</small><br><br>
                            </
span>
                        </
div>
                        @else<
br>
                            <
big>Вы обнаружили <strong><font color "#ff423a">{{ $cu->enemy != 'разбойника' 'ученика Властера' }}</font></strong></big><br>
                            <
div class = "boxiv"></div>
                            <
div class="box">
                            <
a href="/campaign/start/battle" class="btn btn-games2 btn-block">Вступить в схватку</a>
                        </
div>
                        @endif
                    </
center>
                @endif
            @endif
            @if(
$ci->type == 'village')
                <
center>
                    
Найденный эйронит: {{ $cu->count }} из 160<br>
                    
                    @if(
$cu->find == && $cu->cooldown >= time())
                            <
br><img src="images/campaign-two-location.png" width="100%" alt="">
                        <
br>  <br>Идёт поиск деревни<br>
                        
Поиск завершится через {{ Services::timer($cu->cooldown-time()) }}<br><br>
                    @elseif(
$cu->find == && $cu->cooldown time())
                        @if(
$cu->battle == 0)
                            @if(
$ci->villages[$cu->village]['attack'] > 0)
                               <
br> <brНайдена обитаемая деревня<brВы можете напасть на неёно знайтебудет намного сложнее с ней справиться <br>
                                <
a href="/campaign/startAttackVillage" class="btn btn-games2 btn-block">Напасть</a>
                                <
a href="/campaign/leaveVillage" class="btn btn-games2 btn-block">Обойти деревню</a>
                            @else
                                    <
img src="images/not-peoples.png" width="100%" alt="">
                                  <
big>Найдена пустая деревня</big><br> <br>
                                <
a href="/campaign/startAttackVillage" class="btn btn-games2 btn-block">Напасть</a>
                            @endif
                        @else
                        <
br>
                            <
big><strong><font color="#FF8C00">Защита деревни <img src="/images/defender-user.png" width="20" height="20" alt=""> {{ $cu->villageHealth }}</font></strong></big><br>
                            <
center><img src="/images/vs.png" width="50px" alt="*"></center>
                            <
big><font color="#27ab2f"><strong>Мое здоровье <img src="/images/hp-user.png" width="20" height="20" alt=""> {{ $cu->myHealth }}</font>
                            </
strong>
                            </
big><br><br>
                                    <
div class="medim">
                    <
div class="media-body">
                            {{--
Мой урон <img src="/images/str-user.png" width="20" height="20" alt=""> {{ $cu->myAttack }} --}}
                            
Ударов осталось: <img src="/images/str-user.png" width="20" height="20" alt=""> {{ $cu->attacks }}
                        </
div></div><br>
                            @if(
$cu->attacks 0)
                                <
a href="/campaign/attackVillage" class="btn btn-games2 btn-block">Атака картами</a>
                            @endif
                        @endif
                    @else
                        <
br><big>Поиск деревни ещё не начат</big><br><br>
                        <
a href="/campaign/findVillage" class="btn btn-games2 btn-block">Начать поиск деревни</a>
                    @endif
                </
center>
            @endif
            @if(
$ci->type == 'opposition')
                <
center>
                    @if(
$cu->find == && $cu->cooldown >= time())
                            <
br><img src="images/campaign-two-location.png" width="100%" alt="">
                        <
br>  <br><big>Вы в пути</big><br>
                         
До завершения {{ Services::timer($cu->cooldown-time()) }}<br><br>
                    @elseif(
$cu->find == && $cu->cooldown time())
                        @if(
$cu->battle == 0)
                            <
br> <big>Вы у деревни</big><br><br>
                            <
a href="/campaign/startOpposition" class="btn btn-games2 btn-block">Войти в деревню</a>
                        @else
                            @if(
$cu->destruct_cooldown >= time())
                                <
br><big>Идёт разрушение защитной стены</big><br>
                                
До конца: {{ Services::timer($cu->destruct_cooldown-time()) }}<br><br>
                                <
a href="?" class="btn btn-games2 btn-block">Обновить</a>
                            @else
<
div style="position:relative ; left:0px; top:70px;">
    <
center> <small><font color "#ff423a">{{ $cu->enemyHealth }}</font></small></center>
    <
h3><font color "#ff423a">{{ (5-$cu->enemy) }}</font></h3>
    </
div>
     <
img src="/images/mag.png" title="количество врагоы" alt="png" width="30%" /><br><br>
                                <
center>Моё здоровье: {{ $cu->myHealth }}</center><br>
                                <
a href="/campaign/attackEnemy" class="btn btn-games2 btn-block">Атаковать врага</a>
                            @endif
                        @endif
                    @endif
                </
center>
            @endif
        </
font>
        <
center>
            <
div class = "menu">
                <
a href "/"На главную </a>
            </
div>
        </
center>
    </
div>
@
endsection
?>
Онлайн: 0
Реклама