@extends($activeTheme.'layouts.main') @section('title', $page_title) @section('content')

{{ ___('We found').' '.$posts->total().' '.___('Ads Listings') }}

{!! ads_on_top() !!}

@if(isset($subcategory_id)) {{ $subCatTitle }} @elseif(isset($category_id)) {{ $catTitle }} @elseif(isset($keywords)) {{ ___('Search result for ') }}"{{ $keywords }}" @else {{ ___('All Listings') }} @endif

@php $view = @$settings->listing_view; if(request()->get('view') == "list"){ $view = "list"; }elseif (request()->get('view') == "grid"){ $view = "grid"; } @endphp {{ $posts->total() }} {{ ___('Ads Listing Found') }}
{{ ___('Sort by') }}
@if ($posts->count() > 0) @foreach ($posts as $post)
@include($activeTheme.'user.posts.inc.grid-block')
@endforeach @else
{{ ___('Nothing found') }}
@endif
@if ($posts->count() > 0) @foreach ($posts as $post) @include($activeTheme.'user.posts.inc.list-block') @endforeach @else
{{ ___('Nothing found') }}
@endif
{{ $posts->links($activeTheme.'pagination/default') }}
{!! ads_on_bottom() !!} @push('scripts_at_bottom') @endpush @endsection