@extends('layouts.app') @section('content')
@include('admin.sidebar_menu')
@if(session('error'))

{{ session('error') }}
@endif

@lang('app.dashboard')

{{ $approved_ads }}
@lang('app.approved_ads')
{{ $pending_ads }}
@lang('app.pending_ads')
{{ $blocked_ads }}
@lang('app.blocked_ads')
@if($ten_contact_messages)
{{ $total_users }}
@lang('app.users')
{{ $total_reports }}
@lang('app.reports')
{{ $total_payments }}
@lang('app.success_payments')
{{ $total_payments_amount }} {{ get_option('currency_sign') }}
@lang('app.total_payment')
@endif
@if($lUser->is_admin())
@if($ten_contact_messages)
@lang('app.latest_ten_contact_messages')
@foreach($ten_contact_messages as $message) @endforeach
@lang('app.sender') @lang('app.message')
{{ $message->name }}
{{ $message->email }}
{{ $message->created_at->diffForHumans() }}
{{ $message->message }}
@endif @if($reports)
@lang('app.latest_ten_ads_report')
@if($reports->count() > 0) @foreach($reports as $report) @endforeach
@lang('app.reason') @lang('app.email') @lang('app.message') @lang('app.ad_info')
{{ $report->reason }} {{ $report->email }} {{ $report->message }}

@lang('app.date_time'): {{ $report->posting_datetime() }}

@if($report->ad) @lang('app.view_ad') @lang('app.reports') : {{ $report->ad->reports->count() }} @endif
@endif
@endif
@endif
@endsection