@extends('layouts.app') @section('title', 'Admin Panel - Trust Seal Portal') @section('content')

Admin Panel

System Administration & Management

Total Users
{{ count($users) }}
Total Domains
{{ count($domains) }}
Active Seals
{{ count($trustSeals) }}
System Status
Online
@foreach($users as $user) @endforeach
ID Name Email Role Status Created Actions
{{ $user['id'] }}
{{ substr($user['name'], 0, 1) }}
{{ $user['name'] }}
{{ $user['email'] }} @if($user['role'] === 'admin') Admin @else User @endif @if($user['email_verified_at']) Verified @else Unverified @endif {{ date('M j, Y', strtotime($user['created_at'])) }}
@foreach($domains as $domain) @endforeach
ID Domain Owner Status Security Score Created Actions
{{ $domain['id'] }}
{{ $domain['domain_name'] }}
@php $owner = collect($users)->firstWhere('id', $domain['user_id']); @endphp {{ $owner['name'] ?? 'Unknown' }} @if($domain['is_verified']) Verified @else Pending @endif
{{ $domain['security_score'] ?? 0 }}%
{{ date('M j, Y', strtotime($domain['created_at'])) }}
@foreach($trustSeals as $seal)
ID Seal Code Domain Status Views Created Actions
{{ $seal['id'] }} {{ $seal['seal_code'] }} @php $domain = collect($domains)->firstWhere('id', $seal['domain_id']); @endphp {{ $domain['domain_name'] ?? 'Unknown' }} @if($seal['is_active']) Active @else Inactive @endif {{ number_format($seal['view_count'] ?? 0) }} {{ date('M j, Y', strtotime($seal['created_at'])) }}