@extends('layouts.site') @section('content') @php /**/ [ $name, $email, $phone, $whatsapp, $google_map_url, $addresss, $facebook, $instagram, $twitter, $youtube, $tiktok, ] = getGeneralSettings(); $slug = 'slug_' . app()->getLocale(); // $slug = 'slug_en'; @endphp @php $lang = app()->getLocale(); $name = 'name_' . $lang; $details = 'details_' . $lang; $description = 'description_' . $lang; $img_alt = 'img_alt_' . $lang; // related_posts @endphp {{ app()->getLocale() == 'ar' ? 'الوحدات ' : 'Units' }} {{ __('Home') }} {{ app()->getLocale() == 'ar' ? 'تفاصيل الوحدات' : 'Unit details' }} {{ $post->$name }} {!! html_entity_decode($post->$details) !!} {{ app()->getLocale() == 'ar' ? 'الوحدات الفندقية' : 'Units' }} @php $posts = \App\Models\Post::where('is_active', 1)->get(); @endphp @if ($posts && $posts->count() > 0) @foreach ($posts as $poste) {{ $poste->$name }} @endforeach @endif @stop @section('scripts') @stop
{!! html_entity_decode($post->$details) !!}