@extends('admin/layouts/default') {{-- Page title --}} @section('title') Josh Admin Template @parent @stop {{-- page level styles --}} @section('header_styles') @stop {{-- Page content --}} @section('content')

Welcome to Dashboard

Visitors
Users
Page Views
Articles

Users Stats

{!! $db_chart->html() !!}

User Roles

{!! $user_roles->html() !!}

Yearly visitors

Users from countries

{!! $geo->html() !!}

Recent Users

@foreach($users as $user )
@if($user->pic) @if((substr($user->pic, 0,5)) == 'https') img @else @endif @else @endif
{{ $user->full_name }}

{{ $user->email }} {{ $user->created_at->format('d M') }}

@endforeach

This week visitors

Recent Blogs

@foreach($blogs as $blog )
@if($blog->author->pic) @else @endif
{{ $blog->title }}

category: {{ $blog->category->title }} by {{ $blog->author->full_name }}

@endforeach
@stop {{-- page level scripts --}} @section('footer_scripts') {{----}} {!! Charts::scripts() !!} {!! $db_chart->script() !!} {!! $geo->script() !!} {!! $user_roles->script() !!} {{--{!! $line_chart->script() !!}--}} @stop