@extends('backend.layouts.app') @section('title', localize('dashboard')) @push('css') @endpush @section('content') @include('backend.layouts.common.message')

{{localize('total_posts')}}

{{$total_post}} {{localize('posts')}}

{{localize('total_comments')}}

{{ $total_comments }}

{{localize('total_subscribers')}}

{{$total_subscribers}}

{{localize('total_users')}}

{{$user->total_users}}

{{localize('todays_posts')}}

{{$today_post}} {{localize('posts')}}

{{localize('todays_comments')}}

{{$today_comments}}

{{localize('todays_subscribers')}}

{{$today_subscribers}}

{{localize('total_reporters')}}

{{$user->total_reporter}}

{{ucwords(localize('last_week_performance'))}}
{{ucwords(localize('latest_posts'))}}
@foreach($latest_posts as $latest) @php $imageurl = ''; $imageurl = (storage_asset_image($latest->thumb_image) ?? null); // Default image URL if image_base_url is empty @endphp @endforeach
{{localize('image')}} {{localize('title')}} {{localize('category')}} {{localize('reporter')}} {{localize('read_hit')}}
@php if($latest->thumb_image != null){ @endphp @php }else{ @endphp N/A @php } @endphp {{ $latest->title }} {{ $latest->category_name }} {{ $latest->name }} {{ $latest->reader_hit }}
{{ucwords(localize('popular_posts'))}}
@foreach($populer_posts as $populer) @php $imageurl = ''; $imageurl = (storage_asset_image($populer->thumb_image) ?? null); // Default image URL if image_base_url is empty @endphp @endforeach
{{localize('image')}} {{localize('title')}} {{localize('category')}} {{localize('reporter')}} {{localize('read_hit')}}
@php if($populer->thumb_image != null){ @endphp @php }else{ @endphp N/A @php } @endphp {{ $populer->title }} {{ $populer->category_name }} {{ $populer->name }} {{ $populer->reader_hit }}
@endsection @push('js') @endpush