Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
# $Id: intercept.php 2823 2020-05-24 17:38:00Z rexy $
|
2 |
# $Id: intercept.php 2837 2020-06-16 22:24:15Z rexy $
|
3 |
#
|
3 |
#
|
4 |
# intercept.php for ALCASAR captive portal
|
4 |
# intercept.php for ALCASAR captive portal
|
5 |
# Copyright (C) 2003, 2004 Mondru AB.
|
5 |
# Copyright (C) 2003, 2004 Mondru AB.
|
6 |
# Modify by REXY & steweb57
|
6 |
# Modify by REXY & steweb57
|
7 |
# UI & css style by stephane ERARD
|
7 |
# UI & css style by stephane ERARD
|
Line 419... |
Line 419... |
419 |
switch ($reply) {
|
419 |
switch ($reply) {
|
420 |
case 'Username not found' : $reply = $l_reply_0; break;
|
420 |
case 'Username not found' : $reply = $l_reply_0; break;
|
421 |
case 'Login failed' : $reply = $l_reply_0; break;
|
421 |
case 'Login failed' : $reply = $l_reply_0; break;
|
422 |
case 'Your maximum daily usage time has been reached' : $reply = $l_reply_1; break;
|
422 |
case 'Your maximum daily usage time has been reached' : $reply = $l_reply_1; break;
|
423 |
case 'Your maximum monthly usage time has been reached' : $reply = $l_reply_2; break;
|
423 |
case 'Your maximum monthly usage time has been reached' : $reply = $l_reply_2; break;
|
424 |
case 'You are calling outside your allowed timespan' : $reply = $l_reply_3; break;
|
424 |
case 'You are out your allowed time period' : $reply = $l_reply_3; break;
|
425 |
case 'Password Has Expired' : $reply = $l_reply_4; break;
|
425 |
case 'Your expiration date has been reached' : $reply = $l_reply_4; break;
|
426 |
case 'You are already logged in - access denied' : $reply = $l_reply_5; break;
|
426 |
case 'You are already logged in - access denied' : $reply = $l_reply_5; break;
|
427 |
case 'Your maximum never usage time has been reached' : $reply = $l_reply_6; break;
|
427 |
case 'Your usage time has been reached' : $reply = $l_reply_6; break;
|
428 |
}
|
428 |
}
|
429 |
}
|
429 |
}
|
430 |
|
430 |
|
431 |
// If attempt to login
|
431 |
// If attempt to login
|
432 |
if ($button === $l_boutonO) {
|
432 |
if ($button === $l_boutonO) {
|