@extends('layouts.front') @push('css') @endpush @section('content') @if (in_array('Banner', $home_modules))
@endif @if (in_array('Partners', $home_modules))
{{ $ps->partner_title }}

{{ $ps->partner_subtitle }}

@foreach ($partners as $key=>$data)
@endforeach
@endif @if (in_array('Feature Directory', $home_modules))
{{ $ps->directory_title }}

{{ $ps->directory_subtitle }}

@if (count($resturant_listings)>0) @foreach ($resturant_listings as $key => $restaurant)
{{ $restaurant->openClose($restaurant->id) }}
@if (count($restaurant->reviews)>0)
{{ $restaurant->directoryRatting($restaurant->id) }}
@php $rate = ceil($restaurant->directoryRatting($restaurant->id)); @endphp @for($i=1; $i<=$rate; $i++) @endfor @for($i=1; $i<=(5-$rate); $i++) @endfor
{{ count($restaurant->reviews) }} @lang('Reviews')
@endif
@if ($restaurant->user_id == NULL && $restaurant->admin_id == NULL) @else @endif

{{ $restaurant->name }}

{{ $restaurant->real_address }}
{{ $restaurant->phone_number }}
@endforeach @endif
@if (count($hotel_listings)>0) @foreach ($hotel_listings as $key => $hotel)
@if ($hotel->is_featured)
@endif
@if (count($hotel->reviews)>0)
{{ $hotel->directoryRatting($hotel->id) }}
@php $rate = ceil($hotel->directoryRatting($hotel->id)); @endphp @for($i=1; $i<=$rate; $i++) @endfor @for($i=1; $i<=(5-$rate); $i++) @endfor
{{ count($hotel->reviews)}} @lang('Reviews')
@endif

{{ $hotel->name }}

{{ $hotel->real_address }}
{{ $hotel->phone_number }}
@endforeach @endif
@if (count($beauty_listings)>0) @foreach ($beauty_listings as $key => $beauty)

{{ $beauty->name }}

{{ $beauty->real_address }}
@endforeach @endif
@if (count($real_listings)>0) @foreach ($real_listings as $key => $real)
{{ $real->r_property_type }}
@if ($real->is_featured) @endif
{{ showSignAmount($real->r_price) }}
@if ($real->user_id == NULL && $real->admin_id == NULL) @else @endif
@if ($real->reviews->count()>0) {{ $real->reviews->count() }} @endif {{ $real->category->title }}

{{ $real->real_address }}

  • {{ $real->r_bed }} @lang('Beds')
  • {{ $real->r_baths }} @lang('Baths')
  • {{ $real->r_square }} @lang('sqft')
  • {{ $real->created_at->diffForHumans() }} @lang('Days Ago')
@endforeach @endif
@if (count($doctors_listings)>0) @foreach ($doctors_listings as $key=>$doctor)
{{ $doctor->designation }}
@if (count($doctor->reviews)>0)
    @php $rate = ceil($restaurant->directoryRatting($doctor->id)); @endphp @for($i=1; $i<=$rate; $i++)
  • @endfor @for($i=1; $i<=(5-$rate); $i++)
  • @endfor
({{ count($doctor->reviews) }} @lang('Reviews'))
@endif
{{ $doctor->real_address }}
@endforeach @endif
@if (count($cars_listings)>0) @foreach ($cars_listings as $key => $car)
{{ showSignAmount($car->car_price) }}

{{ $car->name }}

  • {{ $car->car_fuel_type }}
  • {{ $car->car_manufacture_year }}
  • {{ $car->car_mileage }}
  • {{ $car->car_engine_capacity }}
@endforeach @endif
@endif @if (in_array('Category', $home_modules))
{{ $ps->category_title }}

{{ $ps->category_subtitle }}

@if ($categories) @foreach ($categories as $key => $category) @endforeach @endif
@endif @if (in_array('Space', $home_modules))
Book Your Space

Book Your Room in California

@foreach ($room_listings as $key=>$data)
@if ($data->is_feature)
@endif @if (count($data->reviews)>0)
{{ $data->directoryRatting($data->id) }}
@php $rate = ceil($data->directoryRatting($data->id)); @endphp @for($i=1; $i<=$rate; $i++) @endfor @for($i=1; $i<=(5-$rate); $i++) @endfor
{{ count($data->reviews) }} @lang('Reviews')
@endif

{{ $data->name }}

{{ $data->distance }}
@if ($data->amenity_icons != NULL)
    @foreach (json_decode($data->amenity_icons,true) as $key=>$icon)
  • @endforeach
@endif
@endforeach
@endif @if (in_array('Submit listing', $home_modules))

{{ $ps->listing_title }}

{{ $ps->listing_subtitle }}

@php echo $ps->listing_details; @endphp

@endif @if (in_array('Author', $home_modules))
Featured Authors

Meet Top Authors in Las Vegas

@foreach ($authors as $key=>$author)
{{ count($author->listings) }} @lang('Listings')

{{ $author->name }}

{{ $author->address }}
@endforeach
@endif @if (in_array('CTAs', $home_modules)) @include('partials.front.cta') @endif @include('partials.front.footer') @endsection @push('js') @endpush