Файл: resources/views/game/campaign/index.blade.php
Строк: 89
<?php
@extends('layouts.main')
@section('content')
<style>
.boxin {
background: url(/images/bg-main.jpg) no-repeat center;
color: #C1C0D4;
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;
padding: 60px;
word-wrap: break-word;
margin-bottom: 0px;
margin-top: -15px;
}
.medim {
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);
}
</style>
<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 }}
{!! Auth::user()->campaign_exp >= $rank->exp ? '<br><a href="/campaign/up">Повысить ранг</a>' : ''!!}
</div>
</center>
</div><br>
<div class="boxin"></div>
<div class="menu">
@if($cc[0] >= 1)
@if(Auth::user()->campaign_stage == '1.0')
<center></center><a href="/campaign/1/start"> Глава 1 "Рейды" - <strong>начать</strong></a></center>
@else
<center><a disable> Глава - 1 - "Рейды" - <strong>завершено</strong> <img src="images/location-lock.png" width="3%" alt=""></a></center>
@endif
@endif
@if($cc[0] >= 2)
@if(Auth::user()->campaign_stage == '2.0')
<center><a href="/campaign/2/start"> Глава 2 "Помощь в сооружении" - <strong>начать</strong></a></center>
@else
<center> <a disable> Глава 2 "Помощь в сооружении" <strong>завершено</strong> <img src="images/location-lock.png" width="3%" alt=""></a></center>
@endif
@endif
@if($cc[0] >= 3)
@if(Auth::user()->campaign_stage == '3.0')
<center><a href="/campaign/3/start"> Глава 3 "Вечное противостояние" - <strong>начать</strong></a>
@else
<center><a disable> Глава 3 "Вечное противостояние" - <strong>завершено</strong> <img src="images/location-lock.png" width="3%" alt=""></a></center>
@endif
@endif
@if($cc[0] >= 4)
@if(Auth::user()->campaign_stage == '5.0')
<center><a href="/campaign/4/start"> Глава 4 "Великое нападение" - <strong>начать</strong></a>
@else
<center><a disable> Глава 4 "Великое нападение" - <strong>скоро</strong> <img src="images/location-lock.png" width="3%" alt=""></a></center>
@endif
@endif
</div>
</div>
@endsection
?>