delete_value('login_attempts_'.$_POST['ip']); } View::show_header('Login Watch'); $AttemptIPs = $Cache->get_value('login_attempts'); $AllAttempts = array(); foreach($AttemptIPs as $IP => $Time) { if (time() > $Time) { continue; } list($Attempts, $Banned) = $Cache->get_value('login_attempts_'.$IP); if (!isset($Attempts) && !isset($Banned)) { continue; } $AllAttempts[] = [$IP, $Attempts, $Banned, $Time]; } ?>

Login Watch Management

IP Attempts Banned Time Submit Submit