Line 14... |
Line 14... |
14 |
$l_required_domain = "Site WEB demandé";
|
14 |
$l_required_domain = "Site WEB demandé";
|
15 |
$l_explain = "Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées.";
|
15 |
$l_explain = "Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées.";
|
16 |
$l_contact = "Contactez le responsable de la sécurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
|
16 |
$l_contact = "Contactez le responsable de la sécurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
|
17 |
$l_welcome = "Bienvenue sur le portail captif ALCASAR.<br>Vous pouvez : ";
|
17 |
$l_welcome = "Bienvenue sur le portail captif ALCASAR.<br>Vous pouvez : ";
|
18 |
$l_acc_access = "<a href=\"https://$private_ip/acc\">Accéder au centre de gestion (ALCASAR Control Center)</A>";
|
18 |
$l_acc_access = "<a href=\"https://$private_ip/acc\">Accéder au centre de gestion (ALCASAR Control Center)</A>";
|
- |
|
19 |
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Vous déconnecter si votre session est ouverte</A>";
|
19 |
$l_internet_access = "<a href=\"https://$private_ip/intercept.php\">Tester l'interception de l'accès à Internet</A>";
|
20 |
$l_internet_access = "<a href=\"https://$private_ip/intercept.php\">Tester l'interception de l'accès à Internet</A>";
|
20 |
}
|
21 |
}
|
21 |
else {
|
22 |
else {
|
22 |
$l_access_denied = "ACCESS DENIED";
|
23 |
$l_access_denied = "ACCESS DENIED";
|
23 |
$l_access_controled = "ACCESS CONTROLED";
|
24 |
$l_access_controled = "ACCESS CONTROLED";
|
24 |
$l_required_domain = "Required WEB site";
|
25 |
$l_required_domain = "Required WEB site";
|
25 |
$l_explain = "Your portal has just detected that the Internet access is down";
|
26 |
$l_explain = "Your portal has just detected that the Internet access is down";
|
26 |
$l_contact = "Contact your Internet provider responsive for more information";
|
27 |
$l_contact = "Contact your Internet provider responsive for more information";
|
27 |
$l_welcome = "Welcome on the captive portal ALCASAR.<br>You can connect: ";
|
28 |
$l_welcome = "Welcome on the captive portal ALCASAR.<br>You can connect: ";
|
28 |
$l_acc_access = "<a href=\"https://$private_ip/acc\">to the ALCASAR Control Center (ACC)</A>";
|
29 |
$l_acc_access = "<a href=\"https://$private_ip/acc\">to the ALCASAR Control Center (ACC)</A>";
|
- |
|
30 |
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Logoff if your session is open</A>";
|
29 |
$l_internet_access = "<a href=\"https://$private_ip/intercept.php\">Internet intercept page for Test</A>";
|
31 |
$l_internet_access = "<a href=\"https://$private_ip/intercept.php\">Internet intercept page for Test</A>";
|
30 |
}
|
32 |
}
|
31 |
?>
|
33 |
?>
|
32 |
<head>
|
34 |
<head>
|
33 |
<title>
|
35 |
<title>
|
Line 50... |
Line 52... |
50 |
</td>
|
52 |
</td>
|
51 |
</tr>
|
53 |
</tr>
|
52 |
<tr>
|
54 |
<tr>
|
53 |
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
|
55 |
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
|
54 |
<font face=arial,helvetica size=1 color=black>
|
56 |
<font face=arial,helvetica size=1 color=black>
|
55 |
<img src="images/logo-alcasar.png">
|
57 |
<img height="150" src="images/logo-alcasar.png">
|
56 |
<BR><CENTER>ALCASAR</CENTER>
|
- |
|
57 |
</td>
|
58 |
</td>
|
58 |
<td width=550 bgcolor=#FFFFFF valign=center>
|
59 |
<td width=550 bgcolor=#FFFFFF valign=center>
|
59 |
<font face=arial,helvetica color=black>
|
60 |
<font face=arial,helvetica color=black>
|
60 |
<font size=3>
|
61 |
<font size=3>
|
61 |
<?
|
62 |
<?
|
62 |
if ($direct_access == "true"){
|
63 |
if ($direct_access == "true"){
|
63 |
echo "<center>$l_welcome</center> <br><li> $l_acc_access <li> $l_internet_access";}
|
64 |
echo "<center>$l_welcome</center> <br><li> $l_acc_access <li> $l_logout <li> $l_internet_access";}
|
64 |
else {echo "$l_explain <br><br> $l_contact";}
|
65 |
else {echo "$l_explain <br><br> $l_contact";}
|
65 |
?>
|
66 |
?>
|
66 |
</td>
|
67 |
</td>
|
67 |
</tr>
|
68 |
</tr>
|
68 |
</table>
|
69 |
</table>
|