@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')
252:559
(196:219 - 56:340)
Warwickshire
Warwickshire
Cricket · County Championship Division One
  • 1
    5.15
  • 1
    5.15
252:559
(196:219 - 56:340)
Warwickshire
Warwickshire
Cricket · County Championship Division One
  • 1
    5.15
  • 1
    5.15
@if ($games && count($games)) @foreach ($games as $key=>$game) @include('frontend.Default.partials.game') @endforeach @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
@endsection @section('footer') @include('frontend.Default.partials.footer') @endsection @section('scripts') @include('frontend.Default.partials.scripts') @endsection