@extends($activeTheme.'layouts.main') @section('content') @if(@$settings->map_type == 'google')
@else
@endif
{!! ads_on_top() !!}
@if(count($premiumPosts))

{{ ___('Premium Listings') }}

{{ ___('View More') }}
@foreach ($premiumPosts as $post)
@php $picture = explode(',' ,$post->images); if($picture[0] != ""){ $main_picture = $picture[0]; }else{ $main_picture = "default.png"; } @endphp

{{ $post->title }}

{{ @$post->city->name }}, {{ @$post->country->name }}

@if($post->custom_field_data->count() > 0)
    @foreach ($post->custom_field_data as $customdata) @if($customdata->active && $customdata->show_in_view) @if($customdata->type == 'drop-down' || $customdata->type == 'radio-buttons') @php $option = get_customOptions_by_id($customdata->pivot->field_data); @endphp @if($option)
  • {{ $customdata->get_translated_title() }}: {{ $option->get_translated_title() }}
  • @endif @elseif($customdata->type == 'text-field' || $customdata->type == 'textarea')
  • {{ $customdata->get_translated_title() }}: {{ $customdata->pivot->field_data }}
  • @endif @endif @endforeach
@else
  • {{ \Illuminate\Support\Str::limit(strip_tags($post->description), 110, $end='...') }}
@endif
@endforeach
@endif @if(count($latestPosts))

{{ ___('Latest Listings') }}

{{ ___('View More') }}
@foreach ($latestPosts as $post)
@php $picture = explode(',' ,$post->images); if($picture[0] != ""){ $main_picture = $picture[0]; }else{ $main_picture = "default.png"; } @endphp

{{ $post->title }} @if($post->urgent == '1')
{{ ___('Urgent') }}
@endif @if($post->featured == '1')
{{ ___('Featured') }}
@endif

{{ $post->category->get_translated_title() }}
@endforeach
@endif {!! ads_on_home_1() !!} @if($settings->testimonials_enable && $settings->show_testimonials_home && $testimonials->count() > 0)

{{ ___('Testimonials') }}

@endif @if($settings->show_membershipplan_home)

{{ ___('Membership Plans') }}

@if($total_monthly)
@endif @if($total_annual)
@endif @if($total_lifetime)
@endif
@foreach ([$free_plan, $trial_plan] as $plan) @include($activeTheme.'layouts.includes.pricing-table') @endforeach @foreach ($plans as $plan) @include($activeTheme.'layouts.includes.pricing-table') @endforeach
@endif {!! ads_on_home_2() !!} @if ($settings->blog_enable && $settings->show_blog_home && $blogArticles->count() > 0)
@endif {!! ads_on_bottom() !!} @push('scripts_at_bottom') @if(@$settings->map_type == 'google') @else @endif @endpush @endsection