@extends('layouts.main_frontend') @section('content')
  • @if (!empty($favouriteAqarsitems)) @foreach($favouriteAqarsitems as $aqar) @if(!empty($aqar))
    --}}
    @if (!empty(auth()->user())) @else @endif image 1
    @lang('site.id number')({{$aqar->id}})
    {{-- {{ dd($aqar) }} --}} {{ round($aqar->review_element_id) ?? 0 }}
    {{$aqar->aqarComment ?? 0}} @lang('site.comments')

    {!! strip_tags(html_entity_decode($aqar->name ?? '')) !!}

    {{$aqar->countryname ??''}}, {{$aqar->name_ar ??''}}
    {!! strip_tags(html_entity_decode(strlen($aqar->details) > 90 ? substr($aqar->details , 0, 90) . '..' : $aqar->details ?? '')) !!} {{-- {!! strip_tags(html_entity_decode($aqar->details ?? '')) !!} --}}
    @if ($aqar->fixed_price != null)
    @lang('site.price_day'): {{ $aqar->fixed_price ? $aqar->fixed_price . ' ' . ($aqar->country->currency_ar ?? '') : '' }}
    @else
    @lang('site.price based on person')
    @endif
    @endif @endforeach
@elseif (!empty($favouriteAqarsitems) && !empty($AqarSelector)) @foreach ($AqarSelector as $aqar ) @if (!empty($aqar)) @endif @endforeach @endif @unless(empty($favouriteAqarsitems) && empty($AqarSelector))
@lang('site.No Favourite')
empty icon
@endunless
  • @if (!empty($favouriteCarsitems->favourite_car)) @foreach($favouriteCarsitems->favourite_car as $car) @if(!empty($car))
    {{--
    image 1
    --}}
    @if (!empty(auth()->user())) @else @endif image 1
    @lang('site.id number')({{$car->id}})
    {{ round($car->carReview2()) ?? 0}}
    {{$car->carComment->count() ?? 0}} @lang('site.comments')

    {!! strip_tags(html_entity_decode($car->name ?? '')) !!}

    {!! strip_tags(html_entity_decode(strlen($car->description) > 90 ? substr($car->description, 0, 90) . '...' : $car->description ?? '')) !!} {{-- {!! strip_tags(html_entity_decode($car->description ?? '')) !!} --}} {{-- {!! html_entity_decode(substr($car->description , 0, 125)) !!} --}}
    {{$car->car_numbers ?? ''}}
    {{$car->year ?? ''}}
    @if ($car->fixed_price != null)
    @lang('site.price_day'): {{ $car->fixed_price ? $car->fixed_price . ' ' . ($car->country->currency_ar ?? '') : '' }}
    @else
    @lang('site.price based on dayes')
    @endif
    @endif @endforeach
    @elseif(empty($favouriteCarsitems->favourite_car) && !empty($CarSelector)) @foreach ($CarSelector as $car) @if (!empty($car)) @endif @endforeach @elseif(empty($favouriteCarsitems->favourite_car) && empty($CarSelector))
    @lang('site.No Favourite')
    empty icon
    @endif
  • @if (!empty($favouritePlacesitems->favourite_place)) @foreach($favouritePlacesitems->favourite_place as $place) @if(!empty($place))
    {{--
    image 1
    @if(!empty(auth()->user())) @else @endif
    --}}
    @if (!empty(auth()->user())) @else @endif @if (!empty($place->display_photo)) {{-- @foreach (explode(',', $place->images) as $image) --}} image 1 {{-- @endforeach --}} @else image 1 @endif
    @lang('site.id number')({{$place->id}})
    {{ round($place->placeReview2()) ?? 0}}
    {{$place->placeCommentsAll->count() ?? 0}} @lang('site.comments')

    {!! strip_tags(html_entity_decode($place->name ?? '')) !!}

    {!! strip_tags(html_entity_decode(strlen($place->descrption) > 90 ? substr($place->descrption, 0, 90) . '...' : $place->descrption ?? '')) !!} {{-- {!! strip_tags(html_entity_decode($place->descrption ?? '')) !!} --}} {{-- {!! html_entity_decode($place->descrption) !!} --}} {{$place->country->name ?? ''}} {{$place->city->name ?? ''}}
    {!! strip_tags(html_entity_decode($place->address ?? '')) !!}
    @endif @endforeach
    @elseif(empty($favouritePlacesitems->favourite_place) && !empty($PlaceSelector)) @foreach ($PlaceSelector as $place) @if (!empty($place)) @endif @endforeach @elseif(empty($favouritePlacesitems->favourite_place) && empty($PlaceSelector))
    @lang('site.No Favourite')
    empty icon
    @endif
  • @endsection @section('scripts') @endsection