@extends('layouts.backend.app') @section('title','Dashboard') @push('css') @endpush @section('content')

DASHBOARD

playlist_add_check
TOTAL POSTS
favorite
TOTAL FAVORITE
library_books
PENDING POSTS
person_add
TOTAL VIEWS
apps
CATEGORIES
labels
TAGS
account_circle
TOTAL AUTHOR
fiber_new
TODAY AUTHOR

MOST POPULAR POST

@foreach($popular_posts as $key=>$post) @endforeach
Rank Title Author Views Favorite Comments Status Action
{{ $key + 1 }} {{ str_limit($post->title,'20') }} {{ $post->user->name }} {{ $post->view_count }} {{ $post->favorite_to_users_count }} {{ $post->comments_count }} @if($post->status == true) Published @else Pending @endif View

TOP 10 ACTIVE AUTHOR

@foreach($active_authors as $key=>$author) @endforeach
Rank List Name Posts Comments Favorite
{{ $key + 1 }} {{ $author->name }} {{ $author->posts_count }} {{ $author->comments_count }} {{ $author->favorite_posts_count }}
@endsection @push('js') @endpush