Subversion Repositories ALCASAR

Rev

Go to most recent revision | Blame | Last modification | View Log

<html>
<?
# Choice of language
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
if($Language == 'fr'){
  $l_access_denied = "ACCES REFUS&Eacute;";
  $l_required_domain = "Site WEB demand&eacute;";
  $l_explain = "Vous tentez d'acc&eacute;der &agrave; une ressource dont le contenu est r&eacute;put&eacute; contenir des informations inappropri&eacute;es.";
  $l_contact = "Contactez votre responsable informatique (RSSI/OSSI), si vous pensez que ce filtrage est abusif.";
}
else {
  $l_access_denied = "ACCESS DENIED";
  $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";
}
?>
<head>
<title><? echo "ALCASAR - $l_access_denied";?></title>
</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>
        <b><? echo "$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><? 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 src="/logo-alcasar.png">
<BR><CENTER>ALCASAR</CENTER>
</td>
        <td width=550 bgcolor=#FFFFFF align=center valign=center>
        <font face=arial,helvetica color=black>
        <font size=3>
        <br><br><br><br>
<?echo "$l_explain";?>
        <br><br>
<?echo "$l_contact";?>
        <br><br><br><br>
        </td>
</tr>
</table>
</body>
</html>