@extends($activeTheme.'layouts.main') @section('content')
@csrf
    @foreach ($categories as $category)
  • @if($category->picture == "") @else {{ $category->get_translated_title() }} @endif {{ $category->get_translated_title() }}
  • @endforeach
{!! ads_on_top() !!}
@if(count($premiumPosts))

{{ ___('Premium Listings') }}

{{ ___('View More') }}
@foreach ($premiumPosts as $post)
@include($activeTheme.'user.posts.inc.grid-block')
@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 @if (@$settings->show_partner_logo_home)
@endif {!! ads_on_bottom() !!} @endsection