@if(count($post_data_archive))
@foreach($post_data_archive as $item)
@endforeach
@else
{{ NO_POST_FOUND }}
@endif
{{ $item->rSubCategory->sub_category_name }}
{{ $item->post_title }}
@if($item->author_id==0)
@php
$user_data = \App\Models\Admin::where('id',$item->admin_id)->first();
@endphp
@else
@php
$user_data = \App\Models\Author::where('id',$item->author_id)->first();
@endphp
@endif
{{ $user_data->name }}
@php
$ts = strtotime($item->updated_at);
$updated_date = date('d F, Y',$ts);
@endphp
{{ $updated_date }}
{{ $post_data_archive->links() }}