Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
$private_ip = "192.168.182.1";
|
2 |
$private_ip = "192.168.182.1";
|
3 |
$hostname = "alcasar";
|
3 |
$hostname = "alcasar";
|
4 |
$network_pb = False;
|
4 |
$network_pb = False;
|
5 |
$cert_add = "http://alcasar/certs";
|
5 |
$cert_add = "http://alcasar/certs";
|
6 |
|
- |
|
7 |
$direct_access = False;
|
6 |
$direct_access = False;
|
8 |
$diagnostic = "eth0 link down";
|
7 |
$diagnostic = "eth0 link down";
|
9 |
$remote_ip = ($_SERVER['REMOTE_ADDR']);
|
8 |
$remote_ip = ($_SERVER['REMOTE_ADDR']);
|
10 |
$tab = array();$user = array();
|
9 |
$tab = array();$user = array();
|
- |
|
10 |
$connection_history = "";
|
- |
|
11 |
$nb_connection_history = 3;
|
- |
|
12 |
|
11 |
# on discrimine les accès directs sur Alcasar par rapport aux redirections (blacklist ou pannes rso)
|
13 |
# on discrimine les accès directs sur Alcasar par rapport aux redirections (blacklist ou pannes rso)
|
12 |
if (($_SERVER['HTTP_HOST'] == $private_ip) || preg_match ("/^alcasar/", $_SERVER['HTTP_HOST']) || preg_match ("/^$hostname/", $_SERVER['HTTP_POST']))
|
14 |
if (($_SERVER['HTTP_HOST'] == $private_ip) || preg_match ("/^alcasar/", $_SERVER['HTTP_HOST']) || preg_match ("/^$hostname/", $_SERVER['HTTP_POST']))
|
13 |
{
|
15 |
{
|
14 |
$direct_access=True;
|
16 |
$direct_access=True;
|
15 |
exec ("sudo /usr/sbin/chilli_query list|grep $remote_ip" , $tab);
|
17 |
exec ("sudo /usr/sbin/chilli_query list|grep $remote_ip" , $tab);
|
16 |
$user = explode (" ", $tab[0]);
|
18 |
$user = explode (" ", $tab[0]);
|
17 |
}
|
19 |
}
|
- |
|
20 |
#### Affichage des 3 dernières connexions de $user[5]
|
- |
|
21 |
function secondsToDuration($seconds = null){
|
- |
|
22 |
if ($seconds == null) return "";
|
- |
|
23 |
|
- |
|
24 |
$temp = $seconds % 3600;
|
- |
|
25 |
$time[0] = ( $seconds - $temp ) / 3600 ; // hours
|
- |
|
26 |
$time[2] = $temp % 60 ; // seconds
|
- |
|
27 |
$time[1] = ( $temp - $time[2] ) / 60; // minutes
|
- |
|
28 |
|
- |
|
29 |
return $time[0]." h ".$time[2]." m ".$time[1]." s";
|
- |
|
30 |
}
|
18 |
|
31 |
|
- |
|
32 |
$l_connected = "connected"; // a traduire (choix de la langue ci-dessous mais nécessitant de $connection_history)
|
- |
|
33 |
// si on a pas d'accès à la bdd, la page s'affiche quand même correctement
|
- |
|
34 |
if ($user[4] != "0"){
|
- |
|
35 |
if ((is_file("./acc/manager/lib/sql/drivers/mysql/functions.php"))&&(is_file("/etc/freeradius-web/config.php"))){
|
- |
|
36 |
include_once("/etc/freeradius-web/config.php");
|
- |
|
37 |
include_once("./acc/manager/lib/sql/drivers/mysql/functions.php");
|
- |
|
38 |
|
- |
|
39 |
$sql = "SELECT UserName, AcctStartTime, AcctStopTime, acctsessiontime FROM radacct WHERE UserName='$user[5]' ORDER BY AcctStartTime DESC LIMIT 0 , $nb_connection_history";
|
- |
|
40 |
$link = @da_sql_pconnect($config); // on affiche pas les erreurs
|
- |
|
41 |
|
- |
|
42 |
if ($link){
|
- |
|
43 |
$res = @da_sql_query($link,$config,$sql); // on affiche pas les erreurs
|
- |
|
44 |
|
- |
|
45 |
if ($res){
|
19 |
#### Connexion DB à faire !
|
46 |
$connection_history.= "<ul>";
|
20 |
#### Avec retour 3 dernière connexion de $user[5]
|
47 |
while(($row = @da_sql_fetch_array($res,$config))){
|
- |
|
48 |
$connected = "";
|
21 |
$result_user = "3 dernières connexions :";
|
49 |
if ($row[acctstoptime] == "") $connected = " ($l_connected)";
|
- |
|
50 |
$connection_history.="<li title='$row[username] $row[acctstarttime] $row[acctstoptime] (".secondsToDuration($row[acctsessiontime]).")'>$row[acctstarttime] (".secondsToDuration($row[acctsessiontime]).") $connected</li>";
|
- |
|
51 |
}
|
- |
|
52 |
$connection_history.="</ul>";
|
- |
|
53 |
}
|
- |
|
54 |
}
|
- |
|
55 |
}
|
22 |
|
56 |
}
|
23 |
####
|
57 |
####
|
24 |
|
58 |
|
25 |
|
- |
|
26 |
# Choice of language
|
59 |
# Choice of language
|
27 |
$Language = 'en';
|
60 |
$Language = 'en';
|
28 |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
|
61 |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
|
29 |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
62 |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
30 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
|
63 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
|
Line 37... |
Line 70... |
37 |
$l_explain_access_deny = "Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées.";
|
70 |
$l_explain_access_deny = "Vous tentez d'accéder à une ressource dont le contenu est réputé contenir des informations inappropriées.";
|
38 |
$l_explain_net_pb = "Votre portail détecte que l'accès à Internet est indisponible.";
|
71 |
$l_explain_net_pb = "Votre portail détecte que l'accès à Internet est indisponible.";
|
39 |
$l_contact_access_deny = "Contactez le responsable de la sécurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
|
72 |
$l_contact_access_deny = "Contactez le responsable de la sécurité (OSSI/RSSI) si vous pensez que ce filtrage est abusif.";
|
40 |
$l_contact_net_pb = "Contactez votre responsable informatique ou votre prestataire Internet pour plus d'information.";
|
73 |
$l_contact_net_pb = "Contactez votre responsable informatique ou votre prestataire Internet pour plus d'information.";
|
41 |
$l_welcome = "Page principale de votre portail captif";
|
74 |
$l_welcome = "Page principale de votre portail captif";
|
42 |
$l_acc_access = "<a href=\"https://$hostname/acc\">Accès au centre de gestion</A>";
|
75 |
$l_acc_access = "<a href=\"https://$hostname/acc\">Accès au centre de gestion</a>";
|
43 |
$l_install_certif = "<a href=\"$cert_add/certificat_alcasar_ca.crt\">Installer le certificat racine</A>";
|
76 |
$l_install_certif = "<a href=\"$cert_add/certificat_alcasar_ca.crt\">Installer le certificat racine</a>";
|
44 |
$l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.crt\">Installation du certificat de l'autorité racine d'ALCASAR</A>";
|
77 |
$l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.crt\">Installation du certificat de l'autorité racine d'ALCASAR</a>";
|
45 |
$l_certif_explain = "Permet l'échange de données sécurisées entre votre station de consultation et le portail captif ALCASAR.<BR>Si ce certificat n'est pas enregistré sur votre station de consultation, il est possible que des alertes de sécurités soient émises par votre navigateur.<br><br>";
|
78 |
$l_certif_explain = "Permet l'échange de données sécurisées entre votre station de consultation et le portail captif ALCASAR.<BR>Si ce certificat n'est pas enregistré sur votre station de consultation, il est possible que des alertes de sécurités soient émises par votre navigateur.<br><br>";
|
46 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Aide pour les certificats</a>";
|
79 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Aide pour les certificats</a>";
|
47 |
if ($user[4] == "0") {
|
80 |
if ($user[4] == "0") {
|
48 |
$l_logout_explain = "Aucune session de consultation Internet n'est actuellement ouverte sur votre système.";
|
81 |
$l_logout_explain = "Aucune session de consultation Internet n'est actuellement ouverte sur votre système.";
|
49 |
$l_logout = "<a href=\"http://www.google.fr\">Ouvrir une session Internet</A>";}
|
82 |
$l_logout = "<a href=\"http://www.google.fr\">Ouvrir une session Internet</a>";}
|
50 |
else {
|
83 |
else {
|
51 |
$l_logout_explain = "Ferme la session de l'usager actuellement connecté. <br><br>Utilisateur connecté :<br><br><a href=\"http://$hostname:3990/logoff\" title=\"Deconnecter l'utilisateur $user[5]\"><b>$user[5]</b></a><br><br>$result_user";
|
84 |
$l_logout_explain = "Ferme la session de l'usager actuellement connecté. <br><br>Utilisateur connecté : <a href=\"http://$hostname:3990/logoff\" title=\"Deconnecter l'utilisateur $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history dernières connexions :$connection_history";
|
52 |
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Se déconnecter d'internet</A>";}
|
85 |
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Se déconnecter d'internet</a>";}
|
53 |
$l_password_change = "<a href=\"https://$hostname/pass\">Changer votre mot de passe</A>";
|
86 |
$l_password_change = "<a href=\"https://$hostname/pass\">Changer votre mot de passe</a>";
|
54 |
$l_password_change_explain = "Vous redirige sur la page de changement du mot de passe de votre compte d'accès à internet.<br><br>Vous devez avoir un compte internet valide.";
|
87 |
$l_password_change_explain = "Vous redirige sur la page de changement du mot de passe de votre compte d'accès à internet.<br><br>Vous devez avoir un compte internet valide.";
|
55 |
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>";
|
88 |
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>";
|
56 |
}
|
89 |
}
|
57 |
else {
|
90 |
else {
|
58 |
$l_access_denied = "ACCESS DENIED";
|
91 |
$l_access_denied = "ACCESS DENIED";
|
Line 63... |
Line 96... |
63 |
$l_explain_access_deny = "Your portal has just detected that the Internet access is down";
|
96 |
$l_explain_access_deny = "Your portal has just detected that the Internet access is down";
|
64 |
$l_explain_net_pb = "Your portal has just detected that the Internet access is down";
|
97 |
$l_explain_net_pb = "Your portal has just detected that the Internet access is down";
|
65 |
$l_contact_access_deny = "Contact your security system manager if you think this filtering is abusive.";
|
98 |
$l_contact_access_deny = "Contact your security system manager if you think this filtering is abusive.";
|
66 |
$l_contact_net_pb = "Contact your network responsive or your Internet provider for more information";
|
99 |
$l_contact_net_pb = "Contact your network responsive or your Internet provider for more information";
|
67 |
$l_welcome = "Your captive portal main page";
|
100 |
$l_welcome = "Your captive portal main page";
|
68 |
$l_acc_access = "<a href=\"https://$hostname/acc\">ALCASAR Control Center</A>";
|
101 |
$l_acc_access = "<a href=\"https://$hostname/acc\">ALCASAR Control Center</a>";
|
69 |
$l_install_certif = "<a href=\"$cert_add/certificate_alcasar_ca.crt\">Install ALCASAR AC Certificate</A>";
|
102 |
$l_install_certif = "<a href=\"$cert_add/certificate_alcasar_ca.crt\">Install ALCASAR AC Certificate</a>";
|
70 |
$l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.cert\">Install ALCASAR AC Certificate</A>";
|
103 |
$l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.cert\">Install ALCASAR AC Certificate</a>";
|
71 |
$l_certif_explain = "A TRADUIRE<br><br>";
|
104 |
$l_certif_explain = "A TRADUIRE<br><br>";
|
72 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Help for ALCASAR certificate</a>";
|
105 |
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Help for ALCASAR certificate</a>";
|
73 |
if ($user[4] == "0") {
|
106 |
if ($user[4] == "0") {
|
74 |
$l_logout_explain = "No Internet consultation session is actualy open on your system";
|
107 |
$l_logout_explain = "No Internet consultation session is actualy open on your system";
|
75 |
$l_logout = "<a href=\"http://www.google.fr\">Open an Internet session</A>";}
|
108 |
$l_logout = "<a href=\"http://www.google.fr\">Open an Internet session</a>";}
|
76 |
else {
|
109 |
else {
|
77 |
$l_logout_explain = "Close the session of the user actualy connecterd.<br> User logged-on :<br><br><a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$result_user";
|
110 |
$l_logout_explain = "Close the session of the user actualy connecterd.<br> User logged-on : <a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history last connections :$connection_history";
|
78 |
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</A>";}
|
111 |
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>";}
|
79 |
$l_password_change = "<a href=\"https://$hostname/pass\">Change your password</A>";
|
112 |
$l_password_change = "<a href=\"https://$hostname/pass\">Change your password</a>";
|
80 |
$l_password_change_explain = "Ridirect you on password change page.<br><br> You should already have an Internet access account.";
|
113 |
$l_password_change_explain = "Ridirect you on password change page.<br><br> You should already have an Internet access account.";
|
81 |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
|
114 |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
|
82 |
}
|
115 |
}
|
83 |
$l_title = ($direct_access ? $l_access_welcome : ($network_pb ? $l_access_unavailable : $l_access_denied));
|
116 |
$l_title = ($direct_access ? $l_access_welcome : ($network_pb ? $l_access_unavailable : $l_access_denied));
|
84 |
$l_explain = ($direct_access ? $l_explain_acc_access : ($network_pb ? $l_explain_net_pb : $l_explain_access_deny));
|
117 |
$l_explain = ($direct_access ? $l_explain_acc_access : ($network_pb ? $l_explain_net_pb : $l_explain_access_deny));
|
Line 105... |
Line 138... |
105 |
}
|
138 |
}
|
106 |
else {
|
139 |
else {
|
107 |
$img_internet = $img_connect;
|
140 |
$img_internet = $img_connect;
|
108 |
}
|
141 |
}
|
109 |
|
142 |
|
110 |
|
- |
|
111 |
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
143 |
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
112 |
echo "<html><head><title>ALCASAR - $l_title";
|
- |
|
113 |
?>
|
144 |
?>
|
- |
|
145 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
114 |
</title>
|
146 |
<html>
|
- |
|
147 |
<head>
|
- |
|
148 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
- |
|
149 |
<title>ALCASAR - <?php echo $l_title; ?></title>
|
- |
|
150 |
<meta http-equiv="Cache-control" content="no-cache">
|
- |
|
151 |
<meta http-equiv="Pragma" content="no-cache">
|
115 |
<LINK rel=stylesheet type=text/css href="css/style_intercept.css">
|
152 |
<link rel="stylesheet" type="text/css" href="css/style_intercept.css">
|
116 |
<script>
|
153 |
<script type="text/javascript">
|
117 |
function valoriserDiv5(param){
|
154 |
function valoriserDiv5(param){
|
118 |
document.getElementById("box_info").innerHTML = param.innerHTML;
|
155 |
document.getElementById("box_info").innerHTML = param.innerHTML;
|
119 |
}
|
156 |
}
|
120 |
</script>
|
157 |
</script>
|
121 |
</head>
|
158 |
</head>
|
122 |
|
- |
|
123 |
<BODY onload="valoriserDiv5(text_conn);">
|
159 |
<body onload="valoriserDiv5(text_conn);">
|
124 |
<?php
|
160 |
<?php
|
125 |
if ($direct_access){
|
161 |
if ($direct_access){
|
126 |
echo "
|
162 |
echo "
|
127 |
<DIV id=\"cadre_titre\" class=\"titre_controle\">
|
163 |
<div id=\"cadre_titre\" class=\"titre_controle\">
|
128 |
<P id=\"acces_controle\" class=\"titre_controle\">$l_title</P>";
|
164 |
<p id=\"acces_controle\" class=\"titre_controle\">$l_title</p>";
|
129 |
if ($network_pb) {
|
165 |
if ($network_pb) {
|
130 |
echo " <SPAN>$l_explain_net_pb</SPAN>";
|
166 |
echo " <span>$l_explain_net_pb</span>";
|
131 |
}
|
167 |
}
|
132 |
}
|
168 |
}
|
133 |
else {
|
169 |
else {
|
134 |
echo"
|
170 |
echo"
|
135 |
<DIV id=\"cadre_titre\" class=\"titre_refus\">
|
171 |
<div id=\"cadre_titre\" class=\"titre_refus\">
|
136 |
<P id=\"acces_controle\" class=\"titre_refus\">$l_title</P>";
|
172 |
<p id=\"acces_controle\" class=\"titre_refus\">$l_title</p>";
|
137 |
}
|
173 |
}
|
138 |
?>
|
174 |
?>
|
139 |
<DIV id="boite_logo">
|
175 |
<div id="boite_logo">
|
140 |
<IMG src="images/organisme.png">
|
176 |
<img src="images/organisme.png">
|
141 |
</DIV>
|
177 |
</div>
|
142 |
</DIV>
|
178 |
</div>
|
143 |
<DIV id="contenu_acces">
|
179 |
<div id="contenu_acces">
|
144 |
<DIV id="box_url">
|
180 |
<div id="box_url">
|
145 |
<?php if (! $direct_access){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?>
|
181 |
<?php if (! $direct_access){echo "$l_required_domain : $_SERVER[HTTP_HOST]";}?>
|
146 |
</DIV>
|
182 |
</div>
|
147 |
<?php
|
183 |
<?php
|
148 |
if ($direct_access){
|
184 |
if ($direct_access){
|
149 |
echo " <DIV id=\"box_bienvenue\">
|
185 |
echo " <div id=\"box_bienvenue\">
|
150 |
$l_welcome
|
186 |
$l_welcome
|
151 |
</DIV>
|
187 |
</div>
|
152 |
<DIV class=\"box_menu\" id=\"box_conn\" onmouseover=\"valoriserDiv5(text_conn);\">
|
188 |
<div class=\"box_menu\" id=\"box_conn\" onmouseover=\"valoriserDiv5(text_conn);\">
|
153 |
<SPAN>$l_logout</SPAN>
|
189 |
<span>$l_logout</span>
|
154 |
<IMG src=\"$img_rep$img_internet\">
|
190 |
<img src=\"$img_rep$img_internet\">
|
155 |
</DIV>
|
191 |
</div>
|
156 |
<DIV class=\"box_menu\" id=\"box_certif\" onmouseover=\"valoriserDiv5(text_certif);\">
|
192 |
<div class=\"box_menu\" id=\"box_certif\" onmouseover=\"valoriserDiv5(text_certif);\">
|
157 |
<SPAN>$l_install_certif</SPAN>
|
193 |
<span>$l_install_certif</span>
|
158 |
<IMG src=\"$img_rep$img_certificate\">
|
194 |
<img src=\"$img_rep$img_certificate\">
|
159 |
</DIV>
|
195 |
</div>
|
160 |
|
- |
|
161 |
<DIV class=\"box_menu\" id=\"box_mdp\" onmouseover=\"valoriserDiv5(text_mdp);\">
|
196 |
<div class=\"box_menu\" id=\"box_mdp\" onmouseover=\"valoriserDiv5(text_mdp);\">
|
162 |
<IMG src=\"$img_rep$img_pwd\">
|
197 |
<img src=\"$img_rep$img_pwd\">
|
163 |
<SPAN>$l_password_change</SPAN>
|
198 |
<span>$l_password_change</span>
|
164 |
</DIV>
|
199 |
</div>
|
165 |
<DIV class=\"box_menu\" id=\"box_acc\" onmouseover=\"valoriserDiv5(text_acc);\">
|
200 |
<div class=\"box_menu\" id=\"box_acc\" onmouseover=\"valoriserDiv5(text_acc);\">
|
166 |
<SPAN>$l_acc_access</SPAN>
|
201 |
<span>$l_acc_access</span>
|
167 |
<IMG src=\"$img_rep$img_acc\">
|
202 |
<img src=\"$img_rep$img_acc\">
|
168 |
</DIV>
|
203 |
</div>
|
169 |
<DIV class=\"div-cache\" id=\"text_conn\">
|
204 |
<div class=\"div-cache\" id=\"text_conn\">
|
170 |
<H2>$l_logout</H2>
|
205 |
<h2>$l_logout</h2>
|
171 |
<P>$l_logout_explain</P>
|
206 |
<p>$l_logout_explain</p>
|
172 |
<IMG src=\"$img_rep$img_internet\">
|
207 |
<img src=\"$img_rep$img_internet\">
|
173 |
</DIV>
|
208 |
</div>
|
174 |
<DIV class=\"div-cache\" id=\"text_certif\">
|
209 |
<div class=\"div-cache\" id=\"text_certif\">
|
175 |
<H2>$l_install_certif_more</H2>
|
210 |
<h2>$l_install_certif_more</h2>
|
176 |
<P>$l_certif_explain $l_certif_explain_help</P>
|
211 |
<p>$l_certif_explain $l_certif_explain_help</p>
|
177 |
<IMG src=\"$img_rep$img_certificate\">
|
212 |
<img src=\"$img_rep$img_certificate\">
|
178 |
</DIV>
|
213 |
</div>
|
179 |
<DIV class=\"div-cache\" id=\"text_mdp\">
|
214 |
<div class=\"div-cache\" id=\"text_mdp\">
|
180 |
<H2>$l_password_change</H2>
|
215 |
<h2>$l_password_change</h2>
|
181 |
<P>$l_password_change_explain</P>
|
216 |
<p>$l_password_change_explain</p>
|
182 |
<IMG src=\"$img_rep$img_pwd\">
|
217 |
<img src=\"$img_rep$img_pwd\">
|
183 |
</DIV>
|
218 |
</div>
|
184 |
<DIV class=\"div-cache\" id=\"text_acc\">
|
219 |
<div class=\"div-cache\" id=\"text_acc\">
|
185 |
<H2>$l_acc_access</H2>
|
220 |
<h2>$l_acc_access</h2>
|
186 |
<P>$l_explain</P>
|
221 |
<p>$l_explain</p>
|
187 |
<IMG src=\"$img_rep$img_acc\">
|
222 |
<img src=\"$img_rep$img_acc\">
|
188 |
</DIV>
|
223 |
</div>
|
189 |
<DIV id=\"box_info\">
|
224 |
<div id=\"box_info\">
|
190 |
</DIV>";
|
225 |
</div>";
|
191 |
}
|
226 |
}
|
192 |
else {
|
227 |
else {
|
193 |
echo "
|
228 |
echo "
|
194 |
<DIV id=\"box_refuse\">
|
229 |
<div id=\"box_refuse\">
|
195 |
<img src=\"$img_rep$img_false\">
|
230 |
<img src=\"$img_rep$img_false\">
|
196 |
<P>$l_explain</P>
|
231 |
<p>$l_explain</p>
|
197 |
</DIV>
|
232 |
</div>
|
198 |
<DIV id=\"liens_redir\">
|
233 |
<div id=\"liens_redir\">
|
199 |
<P>$l_back_page</P>
|
234 |
<p>$l_back_page</p>
|
200 |
</DIV>";
|
235 |
</div>";
|
201 |
}
|
236 |
}
|
202 |
if (($network_pb)&&(! $direct_access)) {
|
237 |
if (($network_pb)&&(! $direct_access)) {
|
203 |
echo " <SPAN>Diagnostic : $diagnostic</SPAN>";
|
238 |
echo " <span>Diagnostic : $diagnostic</span>";
|
204 |
}
|
239 |
}
|
205 |
|
- |
|
206 |
?>
|
240 |
?>
|
207 |
</DIV>
|
241 |
</div>
|
208 |
</BODY>
|
242 |
</body>
|
209 |
</html>
|
243 |
</html>
|