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

@
section('content')
    <
div class="box">
        <
div class="menu">
            @
forelse($cards as $c)
                <
a href="/shop/learning/{{ $c->id }}">
                    <
img src="{{ asset('images/market-1.png') }}" alt=""
                    {{ 
$c->getCardInfo->name }}
                    <
font color="{{ Services::getCardRarity($c->getCardInfo->level)->color }}">({{ $c->getCardInfo->level }} ур.)</font>
                    @if(
$c->learn_time time())
                        ({{ 
gmdate("H:i:s"$c->learn_time-time()) }})
                    @else
                        <
small>(изучено)</small>
                    @endif
                </
a>
            @empty
          <
div class="media">
          <
div class="media-body">
          <
h4 class="media-heading">
<
center>Изучаемых карт нет</center>
    </
h4>
                  </
div>
        </
div></div>
            @
endforelse
        
</div></div>
    {{ 
$cards->links() }}
        <
div class="box">
        <
div class="menu">
    <
center><a href "/shop"Назад в магазин </a></center>
</
div></div>
@
endsection
?>
Онлайн: 1
Реклама