芝麻web文件管理V1.00
编辑当前文件:/home/c7lekhnath/silverray.com.au/oldsite/resources/views/layout.blade.php
@php $topbar_contact = App\Models\ContactPage::first(); $setting = App\Models\Setting::first(); $customPages = App\Models\CustomPage::all(); $social_links = App\Models\FooterSocialLink::get(); $facebookPixel = App\Models\FacebookPixel::first(); $menus = App\Models\MenuVisibility::all(); $languages = App\Models\Language::all(); $google_analytic = App\Models\GoogleAnalytic::first(); @endphp
@yield('title') @yield('meta')
@if (session()->has('text_direction') && session()->get('text_direction') == 'rtl')
@elseif ($setting->text_direction == 'rtl')
@endif
{{-- @include('user.theme_style') --}} @if ($google_analytic->status == 1) @endif @if ($facebookPixel->status == 1)
@endif @include('theme_style')
{{ $setting->topbar_phone }}
{{ $setting->topbar_email }}
@foreach ($social_links as $social_link)
@endforeach
@forelse ($languages as $language)
code ? 'selected' : '' }}> {{ $language->name }}
@empty
English
@endforelse
@php $menu = $menus->where('id', 1)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 2)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 3)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@php $menu = $menus->where('id', 4)->first(); @endphp @if ($menu->status == 1) @if (Route::is('properties'))
{{ $menu->translated_custom_name }}
@else
{{ $menu->translated_custom_name }}
@endif @endif @php $menu = $menus->where('id', 5)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 6)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 7)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 8)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif
@endif @php $menu = $menus->where('id', 10)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 9)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@php $menu = $menus->where('id', 11)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 14)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @php $menu = $menus->where('id', 12)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif @if ($customPages->count() != 0) @foreach ($customPages as $custom_item)
{{ $custom_item->translated_page_name }}
@endforeach @endif
@endif @php $menu = $menus->where('id', 13)->first(); @endphp @if ($menu->status == 1)
{{ $menu->translated_custom_name }}
@endif
{{ __('user.Dashboard') }}
@yield('user-content') @php $footer_contact = App\Models\Footer::first(); $setting = App\Models\Setting::first(); $modalConsent = App\Models\CookieConsent::first(); $social_links = App\Models\FooterSocialLink::get(); $tawk_chat = App\Models\TawkChat::first(); @endphp @if ($tawk_chat->status == 1) @endif @if ($modalConsent->status == 1) @endif
@if ($errors->any()) @foreach ($errors->all() as $error) @endforeach @endif