@extends('admin.layouts.app') @section('title', 'Dashboard') @section('content')

Dashboard

{{-- Stats Cards --}}
Total Users
{{ number_format($stats['total_users']) }}
+{{ $stats['new_users_today'] }} today
Active Subscriptions
{{ number_format($stats['active_subs']) }}
Total Content
{{ number_format($stats['total_content']) }}
{{ $stats['total_movies'] }} movies ยท {{ $stats['total_series'] }} series
Monthly Revenue
${{ number_format($stats['revenue_month'], 2) }}
{{-- Plan Breakdown --}}
Subscription Plans
@foreach(['basic','standard','premium'] as $plan)
{{ $plan }} {{ $stats['plan_breakdown'][$plan] ?? 0 }}
@endforeach
{{-- Top Content --}}
Top Content by Views
@foreach($stats['top_content'] as $item) @endforeach
Title Type Views
{{ $item->title }} {{ $item->type }} {{ number_format($item->views_count) }} View
@endsection