{{-- * LaraClassifier - Classified Ads Web Application * Copyright (c) BeDigit. All Rights Reserved * * Website: https://laraclassifier.com * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of the above copyright notice. If you Purchased from CodeCanyon, * Please read the full License from here - http://codecanyon.net/licenses/standard --}} @extends('layouts.master') @php $post ??= []; $catBreadcrumb ??= []; $topAdvertising ??= []; $bottomAdvertising ??= []; @endphp @section('content') {!! csrf_field() !!} @if (session()->has('flash_notification')) @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer']) @php $paddingTopExists = true; @endphp
@include('flash::message')
@php session()->forget('flash_notification.message'); @endphp @endif {{-- Archived listings message --}} @if (!empty(data_get($post, 'archived_at'))) @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer']) @php $paddingTopExists = true; @endphp
@endif
@if (!empty($topAdvertising)) @includeFirst( [config('larapen.core.customizedViewPath') . 'layouts.inc.advertising.top', 'layouts.inc.advertising.top'], ['paddingTopExists' => $paddingTopExists ?? false] ) @php $paddingTopExists = false; @endphp @endif
@php $innerBoxStyle = (!auth()->check() && plugin_exists('reviews')) ? 'overflow: visible;' : ''; @endphp

{{ data_get($post, 'title') }} @if (config('settings.single.show_listing_types')) @if (!empty(data_get($post, 'postType'))) {{ data_get($post, 'postType.name') }} @endif @endif @if (data_get($post, 'featured') == 1 && !empty(data_get($post, 'latestPayment.package'))) @endif

@if (!config('settings.single.hide_dates')) {!! data_get($post, 'created_at_formatted') !!}   @endif {{ data_get($post, 'category.parent.name', data_get($post, 'category.name')) }}   {{ data_get($post, 'city.name') }}   {{ \App\Helpers\Number::short(data_get($post, 'visits')) . ' ' . trans_choice('global.count_views', getPlural(data_get($post, 'visits')), [], config('app.locale')) }} {{ t('reference') }}: {{ hashId(data_get($post, 'id'), false, false) }} @include('post.show.inc.pictures-slider') @if (config('plugins.reviews.installed')) @if (view()->exists('reviews::ratings-single')) @include('reviews::ratings-single') @endif @endif @includeFirst([config('larapen.core.customizedViewPath') . 'post.show.inc.details', 'post.show.inc.details'])
@includeFirst([config('larapen.core.customizedViewPath') . 'post.show.inc.sidebar', 'post.show.inc.sidebar'])
@if (config('settings.single.similar_listings') == '1' || config('settings.single.similar_listings') == '2') @php $widgetType = (config('settings.single.similar_listings_in_carousel') ? 'carousel' : 'normal'); @endphp @includeFirst([ config('larapen.core.customizedViewPath') . 'search.inc.posts.widget.' . $widgetType, 'search.inc.posts.widget.' . $widgetType ], ['widget' => ($widgetSimilarPosts ?? null), 'firstSection' => false] ) @endif @includeFirst( [config('larapen.core.customizedViewPath') . 'layouts.inc.advertising.bottom', 'layouts.inc.advertising.bottom'], ['firstSection' => false] ) @if (isVerifiedPost($post)) @includeFirst( [config('larapen.core.customizedViewPath') . 'layouts.inc.tools.facebook-comments', 'layouts.inc.tools.facebook-comments'], ['firstSection' => false] ) @endif
@endsection @php if (!session()->has('emailVerificationSent') && !session()->has('phoneVerificationSent')) { if (session()->has('message')) { session()->forget('message'); } } @endphp @section('modal_message') @if (config('settings.single.show_security_tips') == '1') @includeFirst([config('larapen.core.customizedViewPath') . 'post.show.inc.security-tips', 'post.show.inc.security-tips']) @endif @if (auth()->check() || config('settings.single.guests_can_contact_authors')=='1') @includeFirst([config('larapen.core.customizedViewPath') . 'account.messenger.modal.create', 'account.messenger.modal.create']) @endif @endsection @section('after_styles') @endsection @section('before_scripts') @endsection @section('after_scripts') @if (config('services.googlemaps.key')) {{-- More Info: https://developers.google.com/maps/documentation/javascript/versions --}} @endif @endsection