@extends('layouts.index') @section('title') Dashboard @endsection @section('css') @endsection @section('content')

Dashboard untuk

Website Profil

Hallo {{Auth::user()->name}},

Semoga hari ini semangat

Semangat !

Jumlah Visitor

{{$count_visitor}}

Visitor
Visitor Bulan ini

{{$count_monthly_visitor}}

Grafik Visitor

Selama Pertahun
  • Visitor
  • Page View

Kategori Berita

Selama Pertahun
Total Kategori

{{$count_kategori}}

  • Kesehatan
  • Informasi
  • Kegiatan

Berita dan Informasi teratas

Sesuai dengan jumlah baca

{{$count_user}}

Jumlah User

{{$count_artikel}}

Jumlah Berita

{{$count_file}}

Jumlah File

{{$count_download_profile}}

Jumlah File Download

Total File

{{$count_file}}

Halaman Download @foreach ($top_download as $item) @if ($item->download == null) @continue; @endif
{{$item->download->nama}}
{{$item->total}} Download
@endforeach Halaman Lakip @foreach ($top_lakip as $item) @if ($item->lakip == null) @continue; @endif
{{$item->lakip->nama}}
{{$item->total}} Download
@endforeach

Kunjungan Halaman

Untuk satu tahun
@foreach ($top_page as $item) @php $border = null; if($loop->last){ $border = 'border-bottom'; } $c = ['info','primary','success','warning','dark']; $k = array_rand($c); @endphp
Halaman
{{ucwords($item->page)}}
{{$item->total}} View
@endforeach

Log Aktivitas

Terakhir
{{date('d, M Y')}}
@if ($log->isEmpty()) Belum ada aktivitas @endif
    @foreach ($log as $item) @php $count = $loop->iteration; if($count == 1){ $color = 'primary'; }elseif ($count == 2) { $color = 'info'; }elseif ($count == 3) { $color = 'warning'; }elseif ($count == 4) { $color = 'danger'; }elseif ($count == 5) { $color = 'dark'; } @endphp
  • {{date('H.i', strtotime($item->created_at))}}
    {{$item->description}}
  • @endforeach
@endsection @section('js') @endsection