@php if (Session::has('locale')) { $locale = Session::get('locale', Config::get('app.locale')); } else { $locale = env('DEFAULT_LANGUAGE'); } $lang = \App\Models\Language::where('code', $locale)->first(); @endphp @if (\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1) @else @endif @yield('meta_title', get_setting('website_name') . ' | ' . get_setting('site_motto')) @yield('meta') @if (!isset($page)) @endif @if (\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1) @endif @if (get_setting('google_analytics_activation') == 1) @endif @if (get_setting('facebook_pixel_activation') == 1) @endif {!! get_setting('header_script') !!}
@include('frontend.inc.header') @yield('content') @include('frontend.inc.footer')
@if (get_setting('show_cookies_agreement') == 'on') @endif @yield('modal') @if (get_setting('facebook_chat_activation') == 1)
@endif @if (get_setting('firebase_push_notification') == 1) {{-- fcm --}} {{-- End of fcm --}} @endif @yield('script') @if (env('DEMO_MODE') == 'On') @endif {!! get_setting('footer_script') !!}