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

{{ $page_title }}

@if ($posts->count() > 0) @foreach ($posts as $post) @endforeach @else @endif
{{ ___('Ads') }} {{ ___('Status') }} {{ ___('Action') }}
@php $picture = explode(',' ,$post->images); if($picture[0] != ""){ $main_picture = $picture[0]; }else{ $main_picture = "default.png"; } @endphp

{{ $post->title }}

@if($post->status == 'active') {{ ___('Active') }} @endif @if($post->status == 'pending') {{ ___('pending') }} @endif @if($post->status == 'rejected') {{ ___('rejected') }} @endif @if($post->status == 'expire') {{ ___('expire') }} @endif @if($post->hide == '1') {{ ___('Hidden') }} @endif
{{ ___('Nothing found') }}
{{ $posts->links($activeTheme.'pagination/default') }}
@push('scripts_at_bottom') @endpush @endsection