@extends('layouts.app') @section('contentSection') @if (request()->location) {{ request()->location }} @else Location @endif Search Home Search Results Search Results {{ number_format($pros->total()) }} Results Found @if ($pros->total() > 0) Sort by: has('sort') && request()->input('sort') == 5 ? 'selected' : '' }} value="5">Date - New to Old has('sort') && request()->input('sort') == 4 ? 'selected' : '' }} value="4">Date - Old to New has('sort') && request()->input('sort') == 1 ? 'selected' : '' }} value="1">Price - Low to High has('sort') && request()->input('sort') == 2 ? 'selected' : '' }} value="2">Price - High to Low has('sort') && request()->input('sort') == 3 ? 'selected' : '' }} value="3">Featured Listings First has('sort') && request()->input('sort') == 6 ? 'selected' : '' }} value="6">Title - ASC has('sort') && request()->input('sort') == 7 ? 'selected' : '' }} value="7">Title - DESC @endif @foreach ($pros as $listing) @if ($listing->is_featured == 1) Featured @endif @if ($listing->sale_status) {{ $listing->sale_status->name }} @endif @if ($listing->cheque) {{$listing->cheque->name}} @endif {!! $listing->title !!} @if ($listing->getHK()) {{ $listing->getHK() }} @endif @if ($listing->area) Area (sqft): {{ number_format($listing->area) }}{{ $listing->max_area ? '-' . number_format($listing->max_area) : '' }} @endif @if ($listing->price) Starting From AED {{ number_format($listing->price) }} @if ($listing->purpose && $listing->purpose->id == 37 && $listing->rent_frequency) / {{ $listing->rent_frequency->name }} @endif @endif @endforeach @foreach ($pros as $listing) @if ($listing->is_featured == 1) Featured @endif @if ($listing->sale_status) {{ $listing->sale_status->name }} @endif @if ($listing->cheque) {{ $listing->cheque->name }} @endif @if ($listing->price) AED {{ number_format($listing->price) }} @if ($listing->purpose && $listing->purpose->id == 37 && $listing->rent_frequency) / {{ $listing->rent_frequency->name }} @endif @endif {!! $listing->title !!} @if ($listing->getHK()) {{ $listing->getHK() }} @endif @endforeach @if ($pros->hasMorePages()) Load More @endif Recently Viewed Featured Properties @foreach (App\Models\Listing::where('purpose_id', 38)->where('status', 1)->where('is_featured', 1)->get() as $listing) Featured AED {{ number_format($listing->price) }} @if ($listing->purpose && $listing->purpose->id == 37 && $listing->rent_frequency) / {{ $listing->rent_frequency->name }} @endif {!! $listing->title !!} @endforeach Latest Posts @foreach (App\Models\Post::whereStatus(1)->latest()->take(5)->get() as $post) {{ $post->title }} @endforeach @endsection @section('pageSpecificScripts') @endsection
{{ number_format($pros->total()) }} Results Found
{{ $listing->getHK() }}
Area (sqft): {{ number_format($listing->area) }}{{ $listing->max_area ? '-' . number_format($listing->max_area) : '' }}