Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 358 → Rev 359

/web/index-access-deny.php
10,60 → 10,92
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
if($Language == 'fr'){
$l_access_denied = "ACCÈS REFUSÉ";
$l_access_controled = "ACCÈS CONTROLÉ";
$l_required_domain = "Site WEB demandé";
$l_explain = "Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées.";
$l_contact = "Contactez le responsable de la sécurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
$l_welcome = "Bienvenue sur la page d'accueil du portail.<br>Actions possibles : ";
$l_welcome = "Bienvenue sur la page d'accueil du portail ALCASAR";
$l_acc_access = "<a href=\"https://$private_ip/acc\">Acc&eacute;der au centre de gestion (ALCASAR Control Center)</A>";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Vous d&eacute;connecter si votre session est ouverte</A>";
$l_acc_access_explain = "Acc&egrave;s aux param&egrave;tres d'administration. Vous devez avoir le couple login / mot de passe vous autorisant &agrave; modifier les param&egrave;tres du portail captif.";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">D&eacute;connexion</A>";
$l_logout_explain = "Vous permet de d&eacute;connectez une session ouverte.";
$l_password_change = "<a href=\"https://$private_ip/pass\">Changer votre mot de passe</A>";
$l_password_change_explain = "Vous redirige sur la pages de changement du mot de passe de votre compte d'acc&egrave;s &agrave; internet.";
$l_back_page = "<a href=\"javascript:history.back()\">Page pr&eacute;c&eacute;dente</a>";
}
else {
$l_access_denied = "ACCESS DENIED";
$l_access_controled = "ACESS CONTROLED";
$l_required_domain = "Required WEB site";
$l_explain = "Your portal has just detected that the Internet access is down";
$l_contact = "Contact your Internet provider responsive for more information";
$l_welcome = "Welcome on the captive portal ALCASAR.<br>Possible actions : ";
$l_welcome = "Welcome on the captive portal ALCASAR";
$l_acc_access = "<a href=\"https://$private_ip/acc\">go to the ALCASAR Control Center (ACC)</A>";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Logoff if your session is open</A>";
$l_acc_access_explain = "Admin. access. You must have administrator login and password to modify ALCASAR's properties";
$l_logout = "<a href=\"http://$private_ip:3990/logoff\">Loging off</A>";
$l_logout_explain = "Logoff if your session is open.";
$l_paasword_change = "<a href=\"https://$private_ip/pass\">Change your password</A>";
$l_password_change_explain = "Redirects you to the password change's page of your internet access account.";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
}
?>
<head>
<title>
<title>
<? if ($direct_access == "true"){echo "ALCASAR - $l_access_controled";} else {echo "ALCASAR - $l_access_denied";}?>
</title>
</title>
<LINK rel=stylesheet type=text/css href="css/style_intercept.css">
</head>
<body bgcolor=#FFFFFF>
<center>
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
<tr>
<td colspan=2 bgcolor=#FEA700 height=100 align=center>
<font face=arial,helvetica size=6>
<? if ($direct_access == "true"){echo "<img height=\"90\" src=\"images/titre-alcasar.png\">";} else {echo "<b>$l_access_denied</b>";}?>
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#FFFACD height=30 align=right>
<font face=arial,helvetica size=3 color=black>
<b><? if ($direct_access != "true"){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?></b>
</td>
</tr>
<tr>
<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
<font face=arial,helvetica size=1 color=black>
<img height="150" src="images/logo-alcasar.png">
</td>
<td width=550 bgcolor=#FFFFFF valign=center>
<font face=arial,helvetica color=black>
<font size=3>
 
<BODY>
<?
if ($direct_access == "true"){
echo "<center>$l_welcome</center> <br> <li> $l_logout <li> $l_password_change <li> $l_acc_access";}
else {echo "$l_explain <br><br> $l_contact";}
echo "
<DIV id=\"cadre_titre\" class=\"titre_controle\">
<P id=\"acces_controle\" class=\"titre_controle\">$l_access_controled</P>";
}
else{
echo"
<DIV id=\"cadre_titre\" class=\"titre_refus\">
<P id=\"acces_controle\" class=\"titre_refus\">$l_access_denied</P>";
}
?>
</td>
</tr>
</table>
</body>
<DIV id="boite_logo">
<IMG src="images/organisme.png">
</DIV>
</DIV>
<DIV id="contenu_acces">
<DIV id="box_url">
<? if ($direct_access != "true"){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?>
</DIV>
<? if ($direct_access == "true"){
echo "
<DIV id=\"box_bienvenue\">
$l_welcome
</DIV>
<DIV class=\"box_menu_courte\" id=\"box_1\">
<IMG src=\"images/cle.png\">
<SPAN>$l_password_change</SPAN>
<P>$l_password_change_explain</P>
</DIV>
<DIV class=\"box_menu_courte\" id=\"box_2\">
<SPAN>$l_logout</SPAN>
<IMG src=\"images/globe.png\">
<P>$l_logout_explain</P>
</DIV>
<DIV class=\"box_menu_large\" id=\"box_3\">
<SPAN>$l_acc_access</SPAN>
<IMG src=\"images/logo-alcasar.png\">
<P>$l_acc_access_explain</P>
</DIV>";}
else {echo "
<DIV id=\"box_refuse\">
<img src=\"images/interdit.png\">
<P>$l_explain</P>
<P>$l_contact</P>
</DIV>
<DIV id=\"liens_redir\">
<P>$l_back_page</P>
</DIV>";}?>
</DIV>
</BODY>
</html>