@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') }}
@if (!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
@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 & 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_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 @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_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 @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')

{{ __('Categories Section') }}


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

@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