@extends('front.layouts.main') @section('meta_tags') {{ @$category->translations->where('lang_id',$active_lang->id)->first()->name }} | {{@$setting->translation->title}} @stop @section('content')
@lang('home.home') / @if($category->parent_id != null) {{ @$category->category->translations->where('lang_id',$active_lang->id)->first()->name }} / @endif{{ @$category->translations->where('lang_id',$active_lang->id)->first()->name }}
@if($category->parent_id != null) {{ @$category->category->translations->where('lang_id',$active_lang->id)->first()->name }}
@endif @if($classifications->count() > 0)

@lang('home.classifications')

@endif
@if($classifications->count() > 0) @endif
@if($ads->count() > 0) @foreach($ads as $ad) @endforeach @else @endif
# @lang('home.title') @lang('home.ad_purpose') @lang('home.date_time') @lang('home.statistics')
{{ @$ad->id }} {{ $ad->translations->where('lang_id',$active_lang->id)->first()->title }} {{ @$ad->ad_purpose->translations->where('lang_id',$active_lang->id)->first()->name }} {{@Carbon\Carbon::parse($ad->created_at)->diffForHumans()}} - {{ @$ad->created_at }} {{ @$ad->visit }} @lang('home.visits')
{{ @$ad->reviews->count() }} @lang('home.reviews')
@lang('home.no_ads_here')
@stop