@extends('layouts.frontend')
@push('title', get_phrase('Real-Estate Directory Listing'))
@push('meta')@endpush
@push('css')
@endpush
@section('frontend_layout')
@php
$RealEstateDiscount = json_decode(get_homepage_settings('RealEstateDiscount') ?? '{}');
$title = $RealEstateDiscount->title ?? '';
$lastWordStart = strrpos($title, ' ');
$firstPart = $lastWordStart !== false ? substr($title, 0, $lastWordStart) : '';
$lastPart = $lastWordStart !== false ? substr($title, $lastWordStart + 1) : $title;
@endphp
{{ get_phrase('Discount') }} {{ $RealEstateDiscount->description }} {{ $city_name . ', ' . $country_name }} {{ substr_replace($listing->description, '...', 50) }} {{ $listing->bed . ' ' . get_phrase('Bed') }} {{ $listing->bath . ' ' . get_phrase('Bath') }} {{ $listing->size . ' ' . get_phrase('sqft') }} {{ $city_name . ', ' . $country_name }} {{ substr_replace($listing->description, '...', 50) }} {{ $listing->bed . ' ' . get_phrase('Bed') }} {{ $listing->bath . ' ' . get_phrase('Bath') }} {{ $listing->size . ' ' . get_phrase('sqft') }} {{ $city_name . ', ' . $country_name }} {{ substr_replace($listing->description, '...', 50) }} {{ $listing->bed . ' ' . get_phrase('Bed') }} {{ $listing->bath . ' ' . get_phrase('Bath') }} {{ $listing->size . ' ' . get_phrase('sqft') }}{{ $firstPart }} {{ $lastPart }}
{{ get_phrase('New Properties') }}
{{ get_phrase('Explore All Properties') }}
@php
$city_name = App\Models\City::where('id', $listing->city)->first()->name;
$country_name = App\Models\Country::where('id', $listing->country)->first()->name;
@endphp
{{ get_phrase('For Sell') }}
{{ get_phrase('Explore All Properties') }}
@php
$city_name = App\Models\City::where('id', $listing->city)->first()->name;
$country_name = App\Models\Country::where('id', $listing->country)->first()->name;
@endphp
{{ get_phrase('For Rent') }}
{{ get_phrase('Explore All Properties') }}
@php
$city_name = App\Models\City::where('id', $listing->city)->first()->name;
$country_name = App\Models\Country::where('id', $listing->country)->first()->name;
@endphp