@cstack('layouts.includes.head.before') @yield('meta-content') @include('layouts.includes.head') @cstack('layouts.includes.head.after') {{-- GTM-K6JT34Q--}} {{-- --}} @if (request()->routeIs('start')) @endif @cstack('layouts.includes.top.before') @include('layouts.includes.top') @cstack('layouts.includes.top.after')
@if (request()->routeIs('start'))
@if (true || request()->get('test')) @foreach (\App\Core\Modules\Categories\Models\Category::with('categoriesLang')->where('parent_category_id', 0)->where('image', '!=', '')->orderBy('position')->get() as $category) @if ($category->id == 1230 || $category->id == 3632) @continue @endif @endforeach @elseif (true) @foreach (\App\Core\Modules\Categories\Models\Category::where('parent_category_id', 0)->where('image', '!=', '')->orderBy('position')->get() as $category) @if ($category->id == 1230 || $category->id == 3632) @continue @endif @endforeach @endif
@endif @cstack('layouts.includes.menu.before') @include('layouts.includes.menu') @cstack('layouts.includes.menu.after') @if(isset($breadcrumbs)) @cstack('layouts.includes.breadcrumbs.before') @include('layouts.includes.breadcrumbs') @cstack('layouts.includes.breadcrumbs.after') @endif @yield('content')
@cstack('layouts.includes.bottom.before') @include('layouts.includes.bottom') @cstack('layouts.includes.bottom.after') @cstack('layouts.includes.foot.before') @include('layouts.includes.foot') @cstack('layouts.includes.foot.after') @cstack('layouts.includes.mobile.before') @include('layouts.includes.mobile') @cstack('layouts.includes.mobile.after') @cstack('layouts.includes.scripts.before') @include('layouts.includes.scripts') @cstack('layouts.includes.scripts.after') @php if (false) { $queries = \Illuminate\Support\Facades\DB::getQueryLog(); $numberOfQueries = count($queries); if ($numberOfQueries > 300) { $fp = fopen('number_of_queries.txt', 'a+'); fwrite($fp, $numberOfQueries . "\n" . $_SERVER['REQUEST_URI'] . "\n\n"); fclose($fp); } } @endphp