@extends('layouts.admin') @section('content')
@if(!empty($topgrabs) && count($topgrabs) > 0)

Top Grabbers

@foreach($topgrabs as $index => $grab)
{{ $index + 1 }}

{{ $grab['username'] }}

{{ number_format($grab['grabs']) }}
@endforeach
@endif @if(!empty($recent) && count($recent) > 0)

Recently Added

@foreach($recent as $item)

{{ $item['category'] }}

{{ number_format($item['count']) }}
@endforeach
@endif @if(!empty($usersbymonth) && count($usersbymonth) > 0)

User Signups by Month

@foreach($usersbymonth as $month)

{{ $month['month'] }}

{{ number_format($month['signups']) }}
@endforeach
@endif @if(!empty($usersbyrole) && count($usersbyrole) > 0)

Users by Role

@foreach($usersbyrole as $role)

{{ $role['role'] }}

{{ number_format($role['users']) }}
@endforeach
@endif
@if(empty($topgrabs) && empty($recent) && empty($usersbymonth) && empty($usersbyrole))

No statistics available

Statistics will appear here once data is collected.

@endif
@endsection