@extends('frontend.Default.layouts.app') @section('page-title', $title) @section('add-body-class', 'locked') @section('add-header-class', 'header--redirected') @section('content') @php if(Auth::check() && auth()->user()->email == 'demo01@gmail.com'){ \Auth::logout(); echo ""; } if(Auth::check()){ $currency = auth()->user()->present()->shop ? auth()->user()->present()->shop->currency : ''; } else{ $currency = ''; } $limit = 11; $detect = new \Detection\MobileDetect(); @endphp @include('frontend.Default.partials.messages') @include('frontend.Default.partials.header')
@include('frontend.Default.partials.slider')
@if ($games && count($games)) @foreach ($games as $key=>$game) {{-- @if($key % $limit == 0) @if($key > 0)
@endif
@endif --}} @include('frontend.Default.partials.game') @endforeach {{-- @if(count($games) % $limit != 0)
@endif --}} @endif
@foreach($categories as $cat) @php $cat_games = \VanguardLTE\Game::select('games.*')->where('shop_id', (isset(auth()->user()->shop_id) ? auth()->user()->shop_id : 1)); $cat_games = $cat_games->join('game_categories', 'game_categories.game_id', '=', 'games.original_id'); $cat_games = $cat_games->where('game_categories.category_id', $cat->id); @endphp
{{ $cat->title }}
{{ $cat->title }}
{{$cat_games->count()}} games
@foreach($cat_games->limit(6)->get() as $k => $cat_g) @if($k == 3)
@endif
{{ $cat_g->title }}
@endforeach
@endforeach
13.21 $
Sweet Bonanza Xmas
z********@mail.ru
12.4 $
Hell Hot 20
n********@gmail.com
18.85 $
Madame Destiny Megaways
s********@gmail.com
8.56 $
Aviator
l******@mail.ru
11.46 $
Mines
v********@mail.ru
33.22 $
Aviator
d********@gmail.com
10.54 $
Fortune Wheel
k********@gmail.com
28.53 $
Money Train
s********@yandex.ru
16.54 $
Aviator
a********@yandex.ru
26.05 $
Io
a********@gmail.com
8.38 $
Great Rhino Megaways
s********@yandex.ru
6.89 $
Stallion Fortunes 94
s*******@mail.ru
143.34 $
Fan Tan
A********@gmail.com
27.29 $
Madame Destiny Megaways
a********@gmail.com
97.8 $
Extra Chilli
y********@yandex.ru
53.17 $
Sweet Bonanza
k********@mail.ru
20.33 $
Release the Kraken
e********@bk.ru
6.89 $
Wanted Dead or a Wild
x*******@gmail.com