@extends('layout.admin') @section('styles') @endsection @section('content')

General Setting / Edit

{{csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@php $txt = json_decode($setting['contents'], true); @endphp @switch($setting->id) @case(3)
@if (!empty($txt['main_logo'])) logo @endif
@if (!empty($txt['favicon'])) Favicon @endif
@if (!empty($txt['footer_logo'])) Footer Logo @endif
@break @case(5)
@break @case(6)
@break @case(11)
@break @case(12)
@break @case(13)

Reviews Portal Logos and Links

@php $logoIndex = 1; @endphp @while(!empty($txt["upload_logo_{$logoIndex}"]))
Logo Preview
@php $logoIndex++; @endphp @endwhile
Logo Preview

Popular Cities

@php $selectedCities = []; if (isset($txt['choose_popular_cities'])) { $selectedCities = is_array($txt['choose_popular_cities']) ? $txt['choose_popular_cities'] : explode(',', $txt['choose_popular_cities']); } @endphp

Holiday Country

Business Slogans with Icons

@php $i = 1; @endphp @while(!empty($txt["business_slogan_icon_$i"]) || !empty($txt["business_slogan_input_$i"]))
@php $i++; @endphp @endwhile

Continents Slider on Home Page

@break @case(14)

Footer Link 1

Footer Link 2

Footer Contacts

Footer Copyright Text

Footer Below Copyright Text

Footer Cookies Notice

@break @case(15)
@php $j = 1; @endphp @while(!empty($txt["social_media_icons_$j"]) || !empty($txt["social_media_icons_$j"]))
@php $j++; @endphp @endwhile
@break @case(16)
@break @case(18)
@break @case(19)
@endsection @section('script') @endsection