@extends('layouts.backend') @section('content')

Dashboard

TOTAL Posts View All
{{ $post }}
TOTAL Categories View Details
{{ $cat }}
TOTAL Videos View Details
{{ $video }}
TOTAL Users View Details
{{ $user-1 }}
Latest Post View All
@foreach($latest_post as $post) @endforeach
Id Headline Time Publisher Total Hit Action
{{ $post->id }} {{ $post->headline}} {{ Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $post->created_at)->format('H:i/d-m') }} {{ $post->User ? $post->User->name : '' }} {{ $post->view_count }}
{{ csrf_field() }}
Latest Video
@foreach($latest_video as $video) @endforeach
Id Thumbnail Title Action
{{ $video->id }} {{ $video->title }}
{{ csrf_field() }}
@endsection