@extends('layouts.main') @section('content')
TREN KUNJUNGAN USER
TOTAL USER
TREN KEGIATAN
KOMPARASI USER DAN ANGGOTA
USER BERDASARKAN PROVINSI
@if(($showTopActiveUsers ?? true))
10 USER TERAKTIF
    @forelse(($topActiveUsers ?? []) as $i => $u)
  • @if(!empty($u['photo'])) avatar @else
    {{ strtoupper(substr($u['name'],0,1)) }}
    @endif
    {{ $i+1 }}. {{ $u['name'] }}
    aktif
    {{ $u['total'] }} @php $delta = (int)($u['delta'] ?? 0); @endphp @if($delta > 0) @elseif($delta < 0) @else @endif
  • @empty
  • Belum ada data
  • @endforelse
@endif @if(($showTopRatedActivities ?? true))
5 AKTIVITAS RATING TERTINGGI
    @forelse(($topRatedActivities ?? []) as $i => $a)
  • {{ $i+1 }}. {{ $a['name'] }}{{ number_format($a['rating'], 1) }}
  • @empty
  • Belum ada data
  • @endforelse
@endif @if(($showTopCreators ?? true))
10 CREATOR TERBAIK
@forelse(($topCreators ?? []) as $i => $c) @empty @endforelse
AUTHOR AKT. PESERTA CHART VIEW
@if(!empty($c['photo'])) avatar @else
{{ strtoupper(substr($c['name'],0,1)) }}
@endif
{{ $c['name'] }}
{{ $c['province'] ?? '-' }}
{{ $c['activities_active'] ?? $c['activities_all'] ?? 0 }} {{ $c['participants_active'] ?? $c['participants_total'] ?? 0 }}
Belum ada data
@endif
@push('styles') @endpush @push('scripts') @endpush @endsection