@extends($activeTheme.'layouts.main') @section('title', $post->title) @section('content')

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

@if(is_plugin_enabled('quickchatajax')) @auth
{{ ___('Chat Now') }}
@endauth @guest @endguest @endif
@if($post->images != '')
@foreach(explode(',' ,$post->images) as $image) @endforeach
@endif

{{ ___('Details') }}

{{ ___('Location') }}
{{ @$post->city->name }}, {{ @$post->country->name }}
@if($post->price != '0')
{{ ___('Price') }}
{!! price_format_by_country($post->price,$post->country_code) !!} @if($post->negotiable == '1')
{{ ___('Negotiate') }}
@endif
@endif
{{ ___('Posted On') }}
{{ date_formating($post->created_at) }}

{{ ___('Additional Details') }}

{{ ___('ID') }}
{{ $post->id }}
{{ ___('Views') }}
{{ $postviews }}
@if($post->custom_field_data->count() > 0) @foreach ($post->custom_field_data as $customdata) @if($customdata->type == 'drop-down' || $customdata->type == 'radio-buttons') @php $option = get_customOptions_by_id($customdata->pivot->field_data); @endphp @if($option)
@if($customdata->icon) @else @endif {{ $customdata->get_translated_title() }}
{{ @$option->get_translated_title() }}
@endif @elseif($customdata->type == 'checkboxes')
@if($customdata->icon) @else @endif {{ $customdata->get_translated_title() }}
    @foreach (explode(',',$customdata->pivot->field_data) as $option_id) @php $option = get_customOptions_by_id($option_id); @endphp @if($option)
  • {{ trim(@$option->get_translated_title()) }}
  • @endif @endforeach
@elseif($customdata->type == 'text-field')
@if($customdata->icon) @else @endif {{ $customdata->get_translated_title() }}
{{ $customdata->pivot->field_data }}
@elseif($customdata->type == 'textarea')
@if($customdata->icon) @else @endif {{ $customdata->get_translated_title() }}
{!! $customdata->pivot->field_data !!}
@endif @endforeach @endif

{{ ___('Description') }}

{!! $post->description !!} @if(strlen($post->description) > 1000) {{ ___('Show More') }} @endif
@if($post->tag)

{{ ___('Tags') }}

@endif @if(@$settings->post_address_mode == '1' && $post->latlong != '')

{{ ___('Location') }}

@endif

@auth
@endauth

{{ $reviews }} {{ ___('Reviews') }}



@guest @endguest
@if($similarPosts->count())

{{ ___('Similar Listings') }}

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

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

{{ $similarPost->user->username }}
@endforeach
@endif
@push('scripts_at_bottom') {!! google_captcha() !!} @if(@$settings->map_type == 'google') @else @endif @endpush @endsection