@extends('_layouts.front') @section('content') @push('style') @endpush
@include('_includes.errors.ajax_errors')
{{str_limit($advertisement['title'],30,"...")}} {{$advertisement['all_visits_count']}}   {{$advertisement['visited']}}   مانده {{$advertisement['total_visits']-$advertisement['visited']}} @if($advertisement['status']==='expired') منقضی شده   @else @if(auth()->check()) {{--own-check--}} @if($advertisement['user_id']===auth()->user()->id) آگهی شما   @else {{--visit-check--}} @if($seen) بازدید شده @else
{{$advertisement['duration_value']}} @endif @endif @endif @endif
@push('script') @push('script') @endpush @endpush @include('sites.metakar.front.social.social-icons',['advertisement'=>$advertisement]) {{--@if($advertisement['total_visits']<=$advertisement['visited'])--}} {{--@include('sites.metakar.front.advertisement._include.expired')--}} {{--@endif--}} @endsection