@extends('layouts.app') @section('title', 'Tablou de bord') @section('content')

Tablou de bord

Stare: {{ $protectionEnabled ? 'Activ' : 'Inactiv' }}
@csrf
Actualizare statistici

{{ number_format($stats['total_queries']) }}

Interogări DNS

{{ number_format($stats['blocked_filters']) }}

{{ $stats['total_queries'] > 0 ? round(($stats['blocked_filters'] / $stats['total_queries']) * 100, 2) : 0 }}%

Blocate de Filtre

{{ number_format($stats['blocked_malware']) }}

{{ $stats['total_queries'] > 0 ? round(($stats['blocked_malware'] / $stats['total_queries']) * 100, 2) : 0 }}%

Malware/phishing blocate

{{ number_format($stats['blocked_adult']) }}

{{ $stats['total_queries'] > 0 ? round(($stats['blocked_adult'] / $stats['total_queries']) * 100, 2) : 0 }}%

Site-uri cu conținut adult blocate

Statistici generale
în ultima zi
  • Interogări DNS {{ number_format($stats['total_queries']) }}
  • Blocate de Filtre {{ number_format($stats['blocked_filters']) }}
  • Malware/phishing blocate {{ number_format($stats['blocked_malware']) }}
  • Site-uri cu conținut adult blocate {{ number_format($stats['blocked_adult']) }}
Clienți de top
în ultima zi
@foreach($stats['top_clients'] as $ip => $count) @php // Resolve Name $name = $clientMap[$ip] ?? ''; if (!$name) { $subnet = substr($ip, 0, strrpos($ip, '.')) . '.0'; $name = $clientMap[$subnet] ?? ''; } $percent = $stats['total_queries'] > 0 ? round(($count / $stats['total_queries']) * 100, 2) : 0; @endphp @endforeach
Client Cont interogări
{{ $name ?: $ip }} {{ $ip }}
{{ number_format($count) }} {{ $percent }}%
Domeniile cele mai căutate
în ultima zi
@foreach($stats['top_domains'] as $domain => $count) @php $percent = $stats['total_queries'] > 0 ? round(($count / $stats['total_queries']) * 100, 2) : 0; @endphp @endforeach
Domeniu Cont interogări
{{ $domain }}
{{ number_format($count) }} {{ $percent }}%
Domeniile blocate cel mai des
în ultima zi
@foreach($stats['top_blocked'] as $domain => $count) @php $percent = $stats['total_queries'] > 0 ? round(($count / $stats['total_queries']) * 100, 2) : 0; @endphp @endforeach
Domeniu Cont interogări
{{ $domain }}
{{ number_format($count) }} {{ $percent }}%
@push('scripts') @endpush @endsection