{{-- --}} {!! config('app.analytics_code') !!} {!! place_ad('popup_ad') !!} {!! place_ad('auto_ad') !!} {{-- Search engines verification --}} @if(config('app.site_verification')) {!! config('app.site_verification') !!} @endif {!! config('meta_data.title') !!} @if(config('app.json_ld')) @endif {{-- CSRF Token --}} {{-- translations --}} {{-- jQuery --}} {{-- Js-Cookie --}} {{-- JQuery-UI --}} {{-- Semantic-UI --}} {{-- Spacing CSS --}} {{-- App CSS --}} {{-- Query string --}} {{-- Base64 Encode / Decode --}} @yield('additional_head_tags') @if(config('app.color_cursor'))
@endif
@if(config('app.categories_on_homepage'))
@php $categories_i = 0; $min_categories = config('app.fullwide') ? 10 : 7; @endphp @foreach(collect(config('categories.category_parents', []))->where('featured', 1) as $category) icon}" : "/storage/covers/{$category->cover}" }}');">
{{ $category->name }}
@foreach(collect(array_slice(shuffle_array(config("categories.category_children.{$category->id}", [])), 5))->where('featured', 1) as $subcategory) icon}" : "/storage/covers/{$subcategory->cover}" }}');">
{{ $subcategory->name }}
@endforeach @endforeach @if($categories_i < $min_categories) @for($k=0; $k<($min_categories-$categories_i); $k++)
@endfor @endif
@endif @yield('top-panel')
@yield('body')
@if(display_counters())
@if(!is_null(config('app.counters.orders')))
{{ __('Orders') }}
{{ cache('counters.orders', rand(500, 1000)) }}
@endif @if(!is_null(config('app.counters.products')))
{{ __('Products') }}
{{ cache('counters.products', rand(500, 1000)) }}
@endif @if(config('app.realtime_views.website.enabled') == 1 && !is_null(config('app.counters.online_users')))
{{ __('Online users') }}
@{{ realtimeViews.website }}
@endif @if(!is_null(config('app.counters.categories')))
{{ __('Categories') }}
{{ cache('counters.categories', rand(500, 1000)) }}
@endif @if(!is_null(config('app.counters.affiliate_earnings')))
{{ __('Affiliate earnings') }}
{{ cache('counters.affiliate_earnings', rand(500, 1000)) }}
@endif
@endif
{{ config('app.name') }}
{{ config('app.description') }}
@auth
@csrf
@endauth
@if(config('app.fake_purchases.enabled') == 1)
@{{ recentPurchase.name.shorten(30) }}
@{{ __('Just purchased') }} "@{{ recentPurchase.item_name.shorten(30) }}"
@{{ recentPurchase.price }}
@endif @include("components.user_message") @include("components.cookie")
@yield('pre_js') {{-- App JS --}} {{-- Views counter --}}
@if(session('user_message')) @endif @if(config('chat.enabled')) {!! config('chat.code') !!} @endif @if(config('app.js_css_code.frontend')) {!! config('app.js_css_code.frontend') !!} @endif @yield('post_js')