Subversion Repositories ALCASAR

Rev

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

Rev Author Line No. Line
308 richard 1
<html>
2
<?
3
# Choice of language
4
$Language = 'en';
5
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
6
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
7
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
8
if($Language == 'fr'){
9
  $l_access_denied = "ACCES REFUS&Eacute;";
10
  $l_required_domain = "Site WEB demand&eacute;";
11
  $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.";
12
  $l_contact = "Contactez votre responsable informatique (RSSI/OSSI), si vous pensez que ce filtrage est abusif.";
13
}
14
else {
15
  $l_access_denied = "ACCESS DENIED";
16
  $l_required_domain = "Required WEB site";
17
  $l_explain = "Your portal has just detected that the Internet access is down";
18
  $l_contact = "Contact your Internet provider responsive for more information";
19
}
20
?>
21
<head>
22
<title><? echo "ALCASAR - $l_access_denied";?></title>
23
</head>
24
<body bgcolor=#FFFFFF>
25
<center>
26
<table border=0 cellspacing=0 cellpadding=2 height=540 width=700>
27
<tr>
28
	<td colspan=2 bgcolor=#FEA700 height=100 align=center>
29
	<font face=arial,helvetica size=6>
30
	<b><? echo "$l_access_denied";?></b>
31
	</td>
32
</tr>
33
<tr>
34
	<td colspan=2 bgcolor=#FFFACD height=30 align=right>
35
	<font face=arial,helvetica size=3 color=black>
36
		<b><? echo "$l_required_domain : $_SERVER[HTTP_HOST]";?></b>
37
	</td>
38
</tr>
39
<tr>
40
	<td align=center valign=bottom width=150 bgcolor=#B0C4DE>
41
	<font face=arial,helvetica size=1 color=black>
42
	<img src="/logo-alcasar.png">
43
<BR><CENTER>ALCASAR</CENTER>
44
</td>
45
	<td width=550 bgcolor=#FFFFFF align=center valign=center>
46
	<font face=arial,helvetica color=black>
47
	<font size=3>
48
	<br><br><br><br>
49
<?echo "$l_explain";?>
50
	<br><br>
51
<?echo "$l_contact";?>
52
	<br><br><br><br>
53
	</td>
54
</tr>
55
</table>
56
</body>
57
</html>
58
 
59