@extends('user.layout') @php $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); $userDefaultLang = \App\Models\User\Language::where([ ['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1], ])->first(); @endphp @includeIf('user.partials.rtl-style') @php $permissions = \App\Http\Helpers\UserPermissionHelper::packagePermission(Auth::user()->id); $permissions = json_decode($permissions, true); @endphp @section('content')
{{ __('Home_Sections') }}
@includeIf('user.partials.languages')
@csrf @if ( ($userBs->theme == 'home_one' && (!empty($permissions) && in_array('Skill', $permissions))) || $userBs->theme == 'home_twelve')

{{ __('Skills_Section') }}


@if ($userBs->theme == 'home_twelve')
...

@endif
@endif @if ($userBs->theme == 'home_nine')

{{ __('Featuded_Rooms_Section') }}


@endif @if (!empty($permissions) && in_array('Donation Management', $permissions) && $userBs->theme == 'home_eleven')

{{ __('Featuded_Section') }}


@endif @if (!empty($permissions) && in_array('Course Management', $permissions) && $userBs->theme == 'home_ten')

{{ __('Featured_Course_Section') }}


@endif @if ( !empty($permissions) && in_array('Service', $permissions) && ($userBs->theme == 'home_one' || $userBs->theme == 'home_two' || $userBs->theme == 'home_three' || $userBs->theme == 'home_four' || $userBs->theme == 'home_five' || $userBs->theme == 'home_six' || $userBs->theme == 'home_nine' || $userBs->theme == 'home_twelve' || $userBs->theme == 'home_seven'))

{{ __('Service_Section') }}


@endif @if ($userBs->theme == 'home_twelve')

{{ __('Job_and_Education_Section') }}


@if (isset($userBs->theme) && ($userBs->theme === 'home_two' || $userBs->theme === 'home_three'))

@endif
@endif @if ( !empty($permissions) && in_array('Portfolio', $permissions) && ($userBs->theme == 'home_one' || $userBs->theme == 'home_two' || $userBs->theme == 'home_four' || $userBs->theme == 'home_five' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven' || $userBs->theme == 'home_twelve' || $userBs->theme == 'home_three'))

{{ __('Portfolio_Section') }}


@if (isset($userBs->theme) && ($userBs->theme === 'home_two' || $userBs->theme === 'home_three'))

@endif
@endif @if ($userBs->theme != 'home_fourteen' && $userBs->theme != 'home_thirteen') @if ( $userBs->theme != 'home_eight' || ($userBs->theme != 'home_ten' && !empty($permissions) && in_array('Testimonial', $permissions)))

{{ __('Testimonial_Section') }}


@if ($userBs->theme == 'home_six' || $userBs->theme == 'home_one' || $userBs->theme == 'home_ten')
...

@endif @if ($userBs->theme != 'home_ten')

@endif
@endif @endif @if ($userBs->theme == 'home_fourteen')

{{ __('Flash_Sale_Section') }}


@endif @if ($userBs->theme == 'home_six' || $userBs->theme == 'home_ten')

{{ __('Counter_Section') }}


...

@endif @if ($userBs->theme == 'home_eleven' && (!empty($permissions) && in_array('Donation Management', $permissions)))

{{ __('Donor_Section') }}


@endif @if ($userBs->theme != 'home_fourteen' && $userBs->theme != 'home_thirteen') @if ( $userBs->theme != 'home_eight' && $userBs->theme != 'home_three' && $userBs->theme != 'home_nine' && $userBs->theme != 'home_ten' && (!empty($permissions) && in_array('Blog', $permissions)))

{{ __('Blog_Section') }}


@if ($userBs->theme !== 'home_eleven' && $userBs->theme !== 'home_twelve')

@endif
@endif @endif @if (isset($userBs->theme) && ($userBs->theme === 'home_three' || $userBs->theme === 'home_four' || $userBs->theme === 'home_five' || $userBs->theme === 'home_seven'))

{{ __('FAQ_Section') }}


@if ($userBs->theme == 'home_three')
...

@endif

@endif @if ($userBs->theme == 'home_ten' || $userBs->theme == 'home_eleven' || $userBs->theme == 'home_fourteen')

{{ __('Categories_Section') }}


@if ($userBs->theme == 'home_eleven')

@endif
@endif @if (!empty($permissions) && in_array('Ecommerce', $permissions) && $userBs->theme == 'home_fourteen')

{{ __('Featuded_Item_Section') }}


@endif @if (!empty($permissions) && in_array('Ecommerce', $permissions) && $userBs->theme == 'home_fourteen')

{{ __('Featured_Category_Item_Section') }}



{{ __('Top_Rated_Item_Section') }}


...


{{ __('On_Sale_Section') }}


...

@endif @if (!empty($permissions) && in_array('Blog', $permissions) && $userBs->theme == 'home_thirteen')

{{ __('Featuded_Section') }}



{{ __('Latest_Item_Section') }}



{{ __('Popular Section') }}



{{ __('Gallery Section') }}



{{ __('Newsletter_Section') }}


...

@if ($userBs->theme == 'home_ten') @else @endif

@endif @if ($userBs->theme == 'home_eleven')

{{ __('Causes_Section') }}


@if ($userBs->theme == 'home_eleven')

@endif
@endif @if ( $userBs->theme == 'home_three' || $userBs->theme == 'home_four' || $userBs->theme == 'home_five' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven')

{{ __('Quote_Section') }}


@endif @if (isset($userBs->theme) && ($userBs->theme === 'home_three' || $userBs->theme === 'home_four' || $userBs->theme === 'home_five' || $userBs->theme === 'home_six' || $userBs->theme === 'home_twelve' || $userBs->theme === 'home_seven'))

{{ __('Contact_Section') }}


@if ($userBs->theme !== 'home_twelve')
...

@endif
@if ($userBs->theme != 'home_four' && $userBs->theme != 'home_five')

@endif
@endif
@if ($userBs->theme == 'home_eight')

{{ __('Feature_Item_Section') }}


@endif @if ($userBs->theme == 'home_eight')

{{ __('New_Item_Section') }}


@endif @if ($userBs->theme == 'home_eight')

{{ __('Best_Seller_Item_Section') }}



{{ __('Top_Rated_Item_Section') }}


@endif @if ($userBs->theme == 'home_eight')

{{ __('Special_Item_Section') }}


@endif @if ($userBs->theme == 'home_eight')

{{ __('Flash_Sale_Item_Section') }}


@endif
@if ($userBs->theme == 'home_eight' || $userBs->theme == 'home_ten' || $userBs->theme == 'home_eleven')

{{ __('Newsletter_Section') }}


@if ($userBs->theme == 'home_ten')
...

...

@endif

@if ($userBs->theme == 'home_ten') @else @endif

@endif
@endsection @section('scripts') @endsection