@extends("frontend.layouts.app") @section("title") {{ app_name() }} @endsection @section("content") Search Filter by Reviews Select Most Reviews Filter by States All States @foreach($states as $key => $state) id ? 'selected' : '' }}>{{ $state->name }} @endforeach Filter by Category All Category @foreach($uniqueDeals??[] as $deal) {{ $deal }} @endforeach Top Agents (90) @foreach($brokers as $broker) {{ $broker->contact_name ?? '' }} {{ $broker->introduction ?? '' }} Deals In: @php if(!empty($broker->deals_in)){ $dealsIn = explode(',', $broker->deals_in); @endphp @foreach($dealsIn as $deal) {{ $deal }} @endforeach @php } @endphp Operates In: {{ $broker->state ?? 'NA' }} {{ $broker->company_name ?? '' }} Phone: {{ $broker->mobile }} {{ $broker->email }} @for ($i = 1; $i <= 5; $i++) @endfor {{ $broker->average_stars }} stars Request Callback More Information @endforeach @if($brokers->lastPage() > 1) @php $start = max(1, $brokers->currentPage() - 2); $end = min($start + 4, $brokers->lastPage()); if ($end - $start < 4) { $start = max(1, $end - 4); } @endphp @for ($i = $start; $i <= $end; $i++) {{ $i }} @endfor @if($end < $brokers->lastPage()) ... {{ $brokers->lastPage() }} @endif @endif @endsection
Filter by Reviews Select Most Reviews Filter by States All States @foreach($states as $key => $state) id ? 'selected' : '' }}>{{ $state->name }} @endforeach Filter by Category All Category @foreach($uniqueDeals??[] as $deal) {{ $deal }} @endforeach
Top Agents (90)
{{ $broker->introduction ?? '' }}
{{ $deal }}
Operates In: {{ $broker->state ?? 'NA' }}
Phone: {{ $broker->mobile }}
{{ $broker->email }}