@extends('admin.layout') @if (!empty($abe->language) && $abe->language->rtl == 1) @section('styles') @endsection @endif @section('content') @php $section = request()->section; $sectionTitle = ''; if ($section == 'hero_bg') { $sectionTitle = 'Hero Section'; } elseif ($section == 'feature_section_bg_image') { $sectionTitle = 'Feature Section'; } elseif ($section == 'special_section_bg_image') { $sectionTitle = 'Special Section'; } elseif ($section == 'footer_section_bg_image') { $sectionTitle = 'Footer Section'; } @endphp
@php $section = request()->section; $sectionName =''; if($section == "testimonial_bg_img") { $sectionName = "Testimonial Section"; }elseif($section == 'footer_section_bg_image'){ $sectionName = "Footer Section"; }elseif($section == 'footer_section_bg_image'){ $sectionName = "Footer Section"; }elseif($section == 'intro_bg_image'){ $sectionName = "Intro Section"; }elseif($section == 'feature_section_bg_image'){ $sectionName = "Feature Section"; }elseif($section == "blog_section_bg_image"){ $sectionName = "Blog Section"; } @endphp
Update {{ $sectionName }} Background Image
@if (!empty($langs)) @endif
@csrf
@if ($section == 'testimonial_bg_img')
@if (!empty($abe->testimonial_bg_img)) @endif ...

@elseif($section == 'feature_section_bg_image')
@if (!empty($abe->feature_section_bg_image)) @endif ...

@elseif($section == 'special_section_bg_image')
@if (!empty($abe->special_section_bg_image)) @endif ...

@elseif($section == 'intro_bg_image')
@if (!empty($abe->intro_bg_image)) @endif ...

@elseif($section == 'blog_section_bg_image')
@if (!empty($abe->blog_section_bg_image)) @endif ...

@elseif($section == 'footer_section_bg_image')
@if (!empty($abe->footer_section_bg_image)) @endif ...

@endif
{{-- @dd(url()->full()) --}} @endsection @section('scripts') @endsection