@extends('layouts.front') @push('css') @endpush @section('content') @if (in_array('Banner', $home_modules))
@endif @if (in_array('Feature Directory', $home_modules))
@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($doctor->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('Packages', $home_modules))
{{ $ps->plan_title }}

{{ $ps->plan_subtitle }}

@if (count($plans)>0) @foreach ($plans as $key => $data)

{{ globalCurrency()->sign}}{{ showAmount($data->price) }}per month @if ($data->prev_price>0) {{ globalCurrency()->sign}}{{ showAmount($data->prev_price) }} @endif

{{ $data->title }}

{{ $data->subtitle }}
    @if ($data->attribute != NULL) @foreach (json_decode($data->attribute) as $key => $attribute)
  • {{ $attribute }}
  • @endforeach @endif
@endforeach @endif
@endif @if (in_array('CTAs', $home_modules)) @include('partials.front.cta') @endif @include('partials.front.footer')

@endsection @push('js') @endpush