Subversion Repositories ALCASAR

Rev

Rev 895 | Rev 913 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 895 Rev 897
1
<?php
1
<?php
2
#
2
#
3
# intercept.php for Alcasar captive portal
3
# intercept.php for Alcasar captive portal
4
# Copyright (C) 2003, 2004 Mondru AB.
4
# Copyright (C) 2003, 2004 Mondru AB.
5
# Modify by REXY & steweb57
5
# Modify by REXY & steweb57
6
# UI & css style by stephane ERARD
6
# UI & css style by stephane ERARD
7
# Help for language translation by B. AUBARD (thanks)
7
# Help for language translation by B. AUBARD (thanks)
8
 
8
 
9
# The contents of this file may be used under the terms of the GNU
9
# The contents of this file may be used under the terms of the GNU
10
# General Public License Version 2, provided that the above copyright
10
# General Public License Version 2, provided that the above copyright
11
# notice and this permission notice is included in all copies or
11
# notice and this permission notice is included in all copies or
12
# substantial portions of the software.
12
# substantial portions of the software.
13
 
13
 
14
# Redirects from CoovaChilli (chilli daemon) :
14
# Redirects from CoovaChilli (chilli daemon) :
15
# Response to login:
15
# Response to login:
16
  # success :	if login successful
16
  # success :	if login successful
17
  # failed :	if login failed
17
  # failed :	if login failed
18
  # logoff :	if logout successful
18
  # logoff :	if logout successful
19
  # already :	if tried to login while already logged in
19
  # already :	if tried to login while already logged in
20
  # notyet :	if not logged in yet
20
  # notyet :	if not logged in yet
21
  # Default :	it was not a form request -> client go to login form
21
  # Default :	it was not a form request -> client go to login form
22
 
22
 
23
/****************************************************************
23
/****************************************************************
24
*			GLOBAL FILE PATHS			*
24
*			GLOBAL FILE PATHS			*
25
*****************************************************************/
25
*****************************************************************/
26
define ("CONF_FILE", "/usr/local/etc/alcasar.conf");
26
define ("CONF_FILE", "/usr/local/etc/alcasar.conf");
27
 
27
 
28
/****************************************************************
28
/****************************************************************
29
*				FILE TEST			*
29
*				FILE TEST			*
30
*****************************************************************/
30
*****************************************************************/
31
//Test de présence et des droits en lecture des fichiers de configuration.
31
//Test de présence et des droits en lecture des fichiers de configuration.
32
if (!file_exists(CONF_FILE)){
32
if (!file_exists(CONF_FILE)){
33
	exit("Fichier de configuration ".CONF_FILE." non présent");
33
	exit("Fichier de configuration ".CONF_FILE." non présent");
34
}
34
}
35
if (!is_readable(CONF_FILE)){
35
if (!is_readable(CONF_FILE)){
36
	exit("Vous n'avez pas les droits de lecture sur le fichier ".CONF_FILE);
36
	exit("Vous n'avez pas les droits de lecture sur le fichier ".CONF_FILE);
37
}
37
}
38
 
38
 
39
/****************************************************************
39
/****************************************************************
40
*			Read CONF_FILE				*
40
*			Read CONF_FILE				*
41
*****************************************************************/
41
*****************************************************************/
42
$ouvre=fopen(CONF_FILE,"r");
42
$ouvre=fopen(CONF_FILE,"r");
43
if ($ouvre){
43
if ($ouvre){
44
	while (!feof ($ouvre))
44
	while (!feof ($ouvre))
45
	{
45
	{
46
		$tampon = fgets($ouvre, 4096);
46
		$tampon = fgets($ouvre, 4096);
47
		if (strpos($tampon,"=")!==false){
47
		if (strpos($tampon,"=")!==false){
48
			$tmp = explode("=",$tampon);
48
			$tmp = explode("=",$tampon);
49
			$conf[$tmp[0]] = $tmp[1];
49
			$conf[$tmp[0]] = $tmp[1];
50
		}
50
		}
51
	}
51
	}
52
}else{
52
}else{
53
	exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1);
53
	exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1);
54
}
54
}
55
fclose($ouvre);
55
fclose($ouvre);
56
 
56
 
57
$organisme = $conf["ORGANISM"];
57
$organisme = $conf["ORGANISM"];
58
 
58
 
59
# Shared secret used to encrypt challenge with radius.
59
# Shared secret used to encrypt challenge with radius.
60
$uamsecret = "";
60
$uamsecret = "";
61
 
61
 
62
# URL loaded after success authenticates (let blank for browser defaults)
62
# URL loaded after success authenticates (let blank for browser defaults)
63
$adminurl = "";
63
$adminurl = "";
64
 
64
 
65
# Our own path
65
# Our own path
66
$loginpath	= $_SERVER['PHP_SELF'];
66
$loginpath	= $_SERVER['PHP_SELF'];
67
$alcasarpath = "http://alcasar";
67
$alcasarpath = "http://alcasar";
68
$statuspath = $alcasarpath."/status.php";
68
$statuspath = $alcasarpath."/status.php";
69
$debug		= false;
69
$debug		= false;
70
 
70
 
71
# Choice of language
71
# Choice of language
72
$Language = 'en';
72
$Language = 'en';
73
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
73
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
74
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
74
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
75
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
75
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
76
if($Language == 'es'){
76
if($Language == 'es'){
77
  $l_ChilliError	= "La autenticación debe ser un éxito a través del servicio de portal cautivo.";
77
  $l_ChilliError	= "La autenticación debe ser un éxito a través del servicio de portal cautivo.";
78
  $l_login		= "El éxito de la autenticación.<HR>Cierre esta ventana interrumpte la sesion.";
78
  $l_login		= "El éxito de la autenticación.<HR>Cierre esta ventana interrumpte la sesion.";
79
  $l_logout		= "Conexión de cierre";
79
  $l_logout		= "Conexión de cierre";
80
  $l_loginfailed	= "Error de autenticación";
80
  $l_loginfailed	= "Error de autenticación";
81
  $l_loggingin		= "Identificación en el portal cautivo";
81
  $l_loggingin		= "Identificación en el portal cautivo";
82
  $l_loggedcont		= "Control de Acceso";
82
  $l_loggedcont		= "Control de Acceso";
83
  $l_loggedout		= "Su sesión se cierra";
83
  $l_loggedout		= "Su sesión se cierra";
84
  $l_user		= "Usuario";
84
  $l_user		= "Usuario";
85
  $l_password		= "Contraseña";
85
  $l_password		= "Contraseña";
86
  $l_wait		= "Por favor, espere un momento ...";
86
  $l_wait		= "Por favor, espere un momento ...";
87
  $l_onlinetime		= "Tiempo de conexión:";
87
  $l_onlinetime		= "Tiempo de conexión:";
88
  $l_remainingtime	= "Desconexión en:";
88
  $l_remainingtime	= "Desconexión en:";
89
  $l_encrypted		= "La apertura debe usar conexión cifrada";
89
  $l_encrypted		= "La apertura debe usar conexión cifrada";
90
  $l_boutonO		= "Autenticación";
90
  $l_boutonO		= "Autenticación";
91
  $l_boutonF		= "Cerrar";
91
  $l_boutonF		= "Cerrar";
92
  $l_loggedin_stringl1 = "Information System Security";
92
  $l_loggedin_stringl1 = "Information System Security";
93
  $l_loggedin_stringl2 = "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
93
  $l_loggedin_stringl2 = "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
94
  $l_loggedin_stringl3 = "Su actividad en la red es registrada, de conformidad con la privacidad.";
94
  $l_loggedin_stringl3 = "Su actividad en la red es registrada, de conformidad con la privacidad.";
95
  $l_loggedin_stringl4 = "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
95
  $l_loggedin_stringl4 = "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
96
  $l_loggedin_stringl5 = "Estos datos se eliminan automáticamente después de un año.";
96
  $l_loggedin_stringl5 = "Estos datos se eliminan automáticamente después de un año.";
97
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
97
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
98
  $l_loggedout_string = "Cerrar sesión hizo portal cautivo!";
98
  $l_loggedout_string = "Cerrar sesión hizo portal cautivo!";
99
  $l_reply_1 = "Your daily connexion time has been reached";
99
  $l_reply_1 = "Your daily connexion time has been reached";
100
  $l_reply_2 = "Your monthly connexion time has been reached";
100
  $l_reply_2 = "Your monthly connexion time has been reached";
101
  $l_reply_3 = "You try to connect outside of your allowed timespan";
101
  $l_reply_3 = "You try to connect outside of your allowed timespan";
102
  $l_reply_4 = "your account expired";
102
  $l_reply_4 = "your account expired";
103
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
103
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
-
 
104
  $l_reply_6 = "Your authorized connexion time has been reached";
104
  $l_online_time = "Tiempo en linea";
105
  $l_online_time = "Tiempo en linea";
105
  $l_remaining_time = "Tiempo restante";
106
  $l_remaining_time = "Tiempo restante";
106
}
107
}
107
else if($Language == 'de'){
108
else if($Language == 'de'){
108
  $l_ChilliError	= "Die Authentifizierung ist erfolgreich durch die Nutzung des Portals erfolgt.";
109
  $l_ChilliError	= "Die Authentifizierung ist erfolgreich durch die Nutzung des Portals erfolgt.";
109
  $l_login		= "Erfolgreiche Authentifizierung.<HR>Schlißen dieses fensters unterbricht die sitzung";
110
  $l_login		= "Erfolgreiche Authentifizierung.<HR>Schlißen dieses fensters unterbricht die sitzung";
110
  $l_logout		= "Beenden der Verbindung";
111
  $l_logout		= "Beenden der Verbindung";
111
  $l_loginfailed	= "Authentifizierungsfehler Eigenverbrauch";
112
  $l_loginfailed	= "Authentifizierungsfehler Eigenverbrauch";
112
  $l_loggingin		= "Kennzeichnung auf dem Eigenverbrauch";
113
  $l_loggingin		= "Kennzeichnung auf dem Eigenverbrauch";
113
  $l_loggedcont		= "Zutrittskontrolle";
114
  $l_loggedcont		= "Zutrittskontrolle";
114
  $l_loggedout		= "Ihre Sitzung ist geschlossen";
115
  $l_loggedout		= "Ihre Sitzung ist geschlossen";
115
  $l_user		= "Benutzer";
116
  $l_user		= "Benutzer";
116
  $l_password		= "Passwort";
117
  $l_password		= "Passwort";
117
  $l_wait		= "Bitte warten Sie einen Moment ...";
118
  $l_wait		= "Bitte warten Sie einen Moment ...";
118
  $l_onlinetime		= "Online-Zeit:";
119
  $l_onlinetime		= "Online-Zeit:";
119
  $l_remainingtime	= "Abmelden:";
120
  $l_remainingtime	= "Abmelden:";
120
  $l_encrypted		= "Die Öffnung muß der Anschluß Zahlen";
121
  $l_encrypted		= "Die Öffnung muß der Anschluß Zahlen";
121
  $l_boutonO		= "Authentifizierung";
122
  $l_boutonO		= "Authentifizierung";
122
  $l_boutonF		= "Schließen";
123
  $l_boutonF		= "Schließen";
123
  $l_loggedin_stringl1 = "Information System Security";
124
  $l_loggedin_stringl1 = "Information System Security";
124
  $l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
125
  $l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
125
  $l_loggedin_stringl3 = "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
126
  $l_loggedin_stringl3 = "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
126
  $l_loggedin_stringl4 = "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
127
  $l_loggedin_stringl4 = "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
127
  $l_loggedin_stringl5 = "Diese Daten werden automatisch gelöscht nach einem Jahr.";
128
  $l_loggedin_stringl5 = "Diese Daten werden automatisch gelöscht nach einem Jahr.";
128
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
129
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
129
  $l_loggedout_string = "Trennung des Portals erfolgt Gefangener!";
130
  $l_loggedout_string = "Trennung des Portals erfolgt Gefangener!";
130
  $l_reply_1 = "Your daily connexion time has been reached";
131
  $l_reply_1 = "Your daily connexion time has been reached";
131
  $l_reply_2 = "Your monthly connexion time has been reached";
132
  $l_reply_2 = "Your monthly connexion time has been reached";
132
  $l_reply_3 = "You try to connect outside of your allowed timespan";
133
  $l_reply_3 = "You try to connect outside of your allowed timespan";
133
  $l_reply_4 = "your account expired";
134
  $l_reply_4 = "your account expired";
134
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
135
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
-
 
136
  $l_reply_6 = "Your authorized connexion time has been reached";
135
  $l_online_time = "Online-zeit";
137
  $l_online_time = "Online-zeit";
136
  $l_remaining_time = "Restzeit";
138
  $l_remaining_time = "Restzeit";
137
}
139
}
138
else if($Language == 'nl'){
140
else if($Language == 'nl'){
139
  $l_ChilliError	= "De authenticatie moet een succes worden via de captive portal dienst.";
141
  $l_ChilliError	= "De authenticatie moet een succes worden via de captive portal dienst.";
140
  $l_login		= "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
142
  $l_login		= "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
141
  $l_logout		= "Slotkoers verbinding";
143
  $l_logout		= "Slotkoers verbinding";
142
  $l_loginfailed	= "Authenticatie mislukt";
144
  $l_loginfailed	= "Authenticatie mislukt";
143
  $l_loggingin		= "Identificatie van de captive-portaal";
145
  $l_loggingin		= "Identificatie van de captive-portaal";
144
  $l_loggedcont		= "toegangscontrole";
146
  $l_loggedcont		= "toegangscontrole";
145
  $l_loggedout		= "Uw sessie is gesloten";
147
  $l_loggedout		= "Uw sessie is gesloten";
146
  $l_user		= "Gebruiker";
148
  $l_user		= "Gebruiker";
147
  $l_password		= "Wachtwoord";
149
  $l_password		= "Wachtwoord";
148
  $l_wait		= "Wacht een moment ...";
150
  $l_wait		= "Wacht een moment ...";
149
  $l_onlinetime		= "Sluit tijd:";
151
  $l_onlinetime		= "Sluit tijd:";
150
  $l_remainingtime	= "Verbreking in:";
152
  $l_remainingtime	= "Verbreking in:";
151
  $l_encrypted		= "De opening moet gebruiken gecodeerde verbinding";
153
  $l_encrypted		= "De opening moet gebruiken gecodeerde verbinding";
152
  $l_boutonO		= "Authenticatie";
154
  $l_boutonO		= "Authenticatie";
153
  $l_boutonF		= "Sluiten";
155
  $l_boutonF		= "Sluiten";
154
  $l_loggedin_stringl1 = "Information System Security";
156
  $l_loggedin_stringl1 = "Information System Security";
155
  $l_loggedin_stringl2 = "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
157
  $l_loggedin_stringl2 = "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
156
  $l_loggedin_stringl3 = "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
158
  $l_loggedin_stringl3 = "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
157
  $l_loggedin_stringl4 = "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
159
  $l_loggedin_stringl4 = "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
158
  $l_loggedin_stringl5 = "Deze gegevens worden automatisch verwijderd na een jaar.";
160
  $l_loggedin_stringl5 = "Deze gegevens worden automatisch verwijderd na een jaar.";
159
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
161
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
160
  $l_loggedout_string = "Logout gemaakt intern portaal!";
162
  $l_loggedout_string = "Logout gemaakt intern portaal!";
161
  $l_reply_1 = "Your daily connexion time has been reached";
163
  $l_reply_1 = "Your daily connexion time has been reached";
162
  $l_reply_2 = "Your monthly connexion time has been reached";
164
  $l_reply_2 = "Your monthly connexion time has been reached";
163
  $l_reply_3 = "You try to connect outside of your allowed timespan";
165
  $l_reply_3 = "You try to connect outside of your allowed timespan";
164
  $l_reply_4 = "your account expired";
166
  $l_reply_4 = "your account expired";
165
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
167
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
-
 
168
  $l_reply_6 = "Your authorized connexion time has been reached";
166
  $l_online_time = "Online tijd";
169
  $l_online_time = "Online tijd";
167
  $l_remaining_time = "Reterende tijd";
170
  $l_remaining_time = "Reterende tijd";
168
}
171
}
169
else if($Language == 'fr'){
172
else if($Language == 'fr'){
170
  $l_ChilliError	= "L'authentification doit &ecirc;tre r&eacute;ussie au travers du service du portail captif.";
173
  $l_ChilliError	= "L'authentification doit &ecirc;tre r&eacute;ussie au travers du service du portail captif.";
171
  $l_login		= "Authentification r&eacute;ussie.<HR>La fermeture de cette fenêtre interrompt votre session.";
174
  $l_login		= "Authentification r&eacute;ussie.<HR>La fermeture de cette fenêtre interrompt votre session.";
172
  $l_logout		= "Fermeture de la session";
175
  $l_logout		= "Fermeture de la session";
173
  $l_loginfailed	= "Echec d'authentification";
176
  $l_loginfailed	= "Echec d'authentification";
174
  $l_loggingin		= "Identification sur le portail captif";
177
  $l_loggingin		= "Identification sur le portail captif";
175
  $l_loggedcont		= "Contr&ocirc;le d'acc&egrave;s";
178
  $l_loggedcont		= "Contr&ocirc;le d'acc&egrave;s";
176
  $l_loggedout		= "Votre session est fermée";
179
  $l_loggedout		= "Votre session est fermée";
177
  $l_user		= "Identifiant";
180
  $l_user		= "Identifiant";
178
  $l_password		= "Mot de passe";
181
  $l_password		= "Mot de passe";
179
  $l_wait		= "Patientez un instant ...";
182
  $l_wait		= "Patientez un instant ...";
180
  $l_onlinetime		= "Temps de connexion:";
183
  $l_onlinetime		= "Temps de connexion:";
181
  $l_remainingtime	= "Deconnexion dans :";
184
  $l_remainingtime	= "Deconnexion dans :";
182
  $l_encrypted		= "La connexion avec le portail doit &ecirc;tre chiffr&eacute;e";
185
  $l_encrypted		= "La connexion avec le portail doit &ecirc;tre chiffr&eacute;e";
183
  $l_boutonO		= "Authentification";
186
  $l_boutonO		= "Authentification";
184
  $l_boutonF		= "Fermer";
187
  $l_boutonF		= "Fermer";
185
  $l_loggedin_stringl1 = "S&eacute;curit&eacute; des Syst&egrave;mes d'Information";
188
  $l_loggedin_stringl1 = "S&eacute;curit&eacute; des Syst&egrave;mes d'Information";
186
  $l_loggedin_stringl2 = "Ce contr&ocirc;le a &eacute;t&eacute; mis en place pour assurer r&eacute;glementairement la tra&ccedil;abilit&eacute;, l'imputabilit&eacute; et la non-r&eacute;pudiation des connexions.";
189
  $l_loggedin_stringl2 = "Ce contr&ocirc;le a &eacute;t&eacute; mis en place pour assurer r&eacute;glementairement la tra&ccedil;abilit&eacute;, l'imputabilit&eacute; et la non-r&eacute;pudiation des connexions.";
187
  $l_loggedin_stringl3 = "Votre activit&eacute; sur le r&eacute;seau est enregistr&eacute;e conform&eacute;ment au respect de la vie priv&eacute;e.";
190
  $l_loggedin_stringl3 = "Votre activit&eacute; sur le r&eacute;seau est enregistr&eacute;e conform&eacute;ment au respect de la vie priv&eacute;e.";
188
  $l_loggedin_stringl4 = "Les donn&eacute;es enregistr&eacute;es ne pourront &ecirc;tre exploit&eacute;es que par une autorit&eacute judiciaire dans le cadre d'une enqu&ecirc;te.";
191
  $l_loggedin_stringl4 = "Les donn&eacute;es enregistr&eacute;es ne pourront &ecirc;tre exploit&eacute;es que par une autorit&eacute judiciaire dans le cadre d'une enqu&ecirc;te.";
189
  $l_loggedin_stringl5 = "Ces donn&eacute;es seront automatiquement supprim&eacute;es au bout d'un an.";
192
  $l_loggedin_stringl5 = "Ces donn&eacute;es seront automatiquement supprim&eacute;es au bout d'un an.";
190
  $l_loggedin_stringl6 = "Cliquez <a href='$alcasarpath'>ici</a> pour changer votre mot de passe ou pour intégrer le certificat de sécurité à votre navigateur";
193
  $l_loggedin_stringl6 = "Cliquez <a href='$alcasarpath'>ici</a> pour changer votre mot de passe ou pour intégrer le certificat de sécurité à votre navigateur";
191
  $l_loggedout_string = "D&eacute;connexion du portail captif effectu&eacute;e !";
194
  $l_loggedout_string = "D&eacute;connexion du portail captif effectu&eacute;e !";
192
  $l_reply_1 = "Votre dur&eacute;e de connexion journali&egrave;re a &eacute;t&eacute; atteinte";
195
  $l_reply_1 = "Votre dur&eacute;e de connexion journali&egrave;re a &eacute;t&eacute; atteinte";
193
  $l_reply_2 = "Votre dur&eacute;e de connexion mensuelle a &eacute;t&eacute; atteinte";
196
  $l_reply_2 = "Votre dur&eacute;e de connexion mensuelle a &eacute;t&eacute; atteinte";
194
  $l_reply_3 = "Vous tentez de vous connecter en dehors de votre p&eacute;riode autoris&eacute;e";
197
  $l_reply_3 = "Vous tentez de vous connecter en dehors de votre p&eacute;riode autoris&eacute;e";
195
  $l_reply_4 = "Votre compte a expir&eacute";
198
  $l_reply_4 = "Votre compte a expir&eacute";
196
  $l_reply_5 = "Vous avez atteint le nombre maximum de connexions simultan&eacute;es";
199
  $l_reply_5 = "Vous avez atteint le nombre maximum de connexions simultan&eacute;es";
197
  $l_reply_6 = "Votre dur&eacute;e de connexion total autoris&eacute;e a &eacute;t&eacute; atteinte";
200
  $l_reply_6 = "Votre dur&eacute;e de connexion autoris&eacute;e a &eacute;t&eacute; atteinte";
198
  $l_online_time = "Temps de connexion";
201
  $l_online_time = "Temps de connexion";
199
  $l_remaining_time = "Temps restant";
202
  $l_remaining_time = "Temps restant";
200
}
203
}
201
else{
204
else{
202
  $l_ChilliError	= "The authentication must be successful through the captive portal service.";
205
  $l_ChilliError	= "The authentication must be successful through the captive portal service.";
203
  $l_login		= "Successful authentication.<HR>Closing this window interrupts your session";
206
  $l_login		= "Successful authentication.<HR>Closing this window interrupts your session";
204
  $l_logout		= "Closing connection";
207
  $l_logout		= "Closing connection";
205
  $l_loginfailed	= "Authentication Failed";
208
  $l_loginfailed	= "Authentication Failed";
206
  $l_loggingin		= "Identification on the captive portal";
209
  $l_loggingin		= "Identification on the captive portal";
207
  $l_loggedcont		= "Access Control";
210
  $l_loggedcont		= "Access Control";
208
  $l_loggedout		= "Your session is closed";
211
  $l_loggedout		= "Your session is closed";
209
  $l_user		= "User";
212
  $l_user		= "User";
210
  $l_password		= "Password";
213
  $l_password		= "Password";
211
  $l_wait		= "Please wait a moment ...";
214
  $l_wait		= "Please wait a moment ...";
212
  $l_onlinetime		= "Connect time:";
215
  $l_onlinetime		= "Connect time:";
213
  $l_remainingtime	= "Disconnection in:";
216
  $l_remainingtime	= "Disconnection in:";
214
  $l_encrypted		= "The connection with the portal must be encrypted";
217
  $l_encrypted		= "The connection with the portal must be encrypted";
215
  $l_boutonO		= "Authentication";
218
  $l_boutonO		= "Authentication";
216
  $l_boutonF		= "Close";
219
  $l_boutonF		= "Close";
217
  $l_loggedin_stringl1 = "Information System Security";
220
  $l_loggedin_stringl1 = "Information System Security";
218
  $l_loggedin_stringl2 = "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
221
  $l_loggedin_stringl2 = "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
219
  $l_loggedin_stringl3 = "Your activity on the network is registered in accordance with privacy.";
222
  $l_loggedin_stringl3 = "Your activity on the network is registered in accordance with privacy.";
220
  $l_loggedin_stringl4 = "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
223
  $l_loggedin_stringl4 = "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
221
  $l_loggedin_stringl5 = "These data will be automatically deleted after one year.";
224
  $l_loggedin_stringl5 = "These data will be automatically deleted after one year.";
222
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
225
  $l_loggedin_stringl6 = "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
223
  $l_loggedout_string = "Logout made captive portal!";
226
  $l_loggedout_string = "Logout made captive portal!";
224
  $l_reply_1 = "Your daily connexion time has been reached";
227
  $l_reply_1 = "Your daily connexion time has been reached";
225
  $l_reply_2 = "Your monthly connexion time has been reached";
228
  $l_reply_2 = "Your monthly connexion time has been reached";
226
  $l_reply_3 = "You try to connect outside of your allowed timespan";
229
  $l_reply_3 = "You try to connect outside of your allowed timespan";
227
  $l_reply_4 = "your account expired";
230
  $l_reply_4 = "your account expired";
228
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
231
  $l_reply_5 = "You have reached the maximum number of simultaneous logins";
229
  $l_reply_6 = "Your authorized connexion time has been reached";
232
  $l_reply_6 = "Your authorized connexion time has been reached";
230
  $l_online_time = "Online time";
233
  $l_online_time = "Online time";
231
  $l_remaining_time = "Remaining time";
234
  $l_remaining_time = "Remaining time";
232
}
235
}
233
 
236
 
234
# If https not use, tell it's wrong
237
# If https not use, tell it's wrong
235
if (!(isset($_SERVER['HTTPS'])&&($_SERVER['HTTPS'] == 'on'))) {
238
if (!(isset($_SERVER['HTTPS'])&&($_SERVER['HTTPS'] == 'on'))) {
236
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
239
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
237
<html>
240
<html>
238
<head>
241
<head>
239
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
242
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
240
  <title>$l_loggedcont</title>
243
  <title>$l_loggedcont</title>
241
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
244
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
242
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
245
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
243
</head>
246
</head>
244
<body bgColor = 'white'>
247
<body bgColor = 'white'>
245
  <h1 style=\"text-align: center;\">$l_loginfailed</h1>
248
  <h1 style=\"text-align: center;\">$l_loginfailed</h1>
246
  <center>$l_encrypted</center>
249
  <center>$l_encrypted</center>
247
</body>
250
</body>
248
</html>";
251
</html>";
249
    exit(0);
252
    exit(0);
250
}
253
}
251
 
254
 
252
# Read form parameters which we care about
255
# Read form parameters which we care about
253
if (isset($_POST['UserName'])){	$username	= $_POST['UserName'];} else {$username="";}
256
if (isset($_POST['UserName'])){	$username	= $_POST['UserName'];} else {$username="";}
254
if (isset($_POST['Password'])){	$password	= $_POST['Password'];} else {$password="";}
257
if (isset($_POST['Password'])){	$password	= $_POST['Password'];} else {$password="";}
255
if (isset($_POST['challenge'])){$challenge	= $_POST['challenge'];} else {$challenge="";}
258
if (isset($_POST['challenge'])){$challenge	= $_POST['challenge'];} else {$challenge="";}
256
if (isset($_POST['button'])){	$button		= $_POST['button'];} else { $button="";}
259
if (isset($_POST['button'])){	$button		= $_POST['button'];} else { $button="";}
257
//if (isset($_POST['logout'])){	$logout		= $_POST['logout'];} else {$logout="";}
260
//if (isset($_POST['logout'])){	$logout		= $_POST['logout'];} else {$logout="";}
258
//if (isset($_POST['prelogin'])){	$prelogin	= $_POST['prelogin'];} else {$prelogin="";}
261
//if (isset($_POST['prelogin'])){	$prelogin	= $_POST['prelogin'];} else {$prelogin="";}
259
if (isset($_POST['res'])){		$res		= $_POST['res'];} else {$res="";}
262
if (isset($_POST['res'])){		$res		= $_POST['res'];} else {$res="";}
260
if (isset($_POST['uamip'])){	$uamip		= $_POST['uamip'];} else {$uamip="";}
263
if (isset($_POST['uamip'])){	$uamip		= $_POST['uamip'];} else {$uamip="";}
261
if (isset($_POST['uamport'])){	$uamport	= $_POST['uamport'];} else {$uamport="";}
264
if (isset($_POST['uamport'])){	$uamport	= $_POST['uamport'];} else {$uamport="";}
262
if (isset($_POST['userurl'])){	$userurl	= $_POST['userurl'];} else {$userurl="";}
265
if (isset($_POST['userurl'])){	$userurl	= $_POST['userurl'];} else {$userurl="";}
263
if (isset($_POST['timeleft'])){	$timeleft	= $_POST['timeleft'];} else {$timeleft="";}
266
if (isset($_POST['timeleft'])){	$timeleft	= $_POST['timeleft'];} else {$timeleft="";}
264
if (isset($_POST['redirurl'])){	$redirurl	= $_POST['redirurl'];} else {$redirurl="";}
267
if (isset($_POST['redirurl'])){	$redirurl	= $_POST['redirurl'];} else {$redirurl="";}
265
 
268
 
266
# Read query parameters which we care about
269
# Read query parameters which we care about
267
if (isset($_GET['res']))		$res		= $_GET['res'];
270
if (isset($_GET['res']))		$res		= $_GET['res'];
268
if (isset($_GET['challenge']))	$challenge	= $_GET['challenge'];
271
if (isset($_GET['challenge']))	$challenge	= $_GET['challenge'];
269
if (isset($_GET['uamip']))		$uamip		= $_GET['uamip'];
272
if (isset($_GET['uamip']))		$uamip		= $_GET['uamip'];
270
if (isset($_GET['uamport']))	$uamport	= $_GET['uamport'];
273
if (isset($_GET['uamport']))	$uamport	= $_GET['uamport'];
271
if (isset($_GET['reply'])){		$reply		= $_GET['reply'];} else {$reply="";}
274
if (isset($_GET['reply'])){		$reply		= $_GET['reply'];} else {$reply="";}
272
if (isset($_GET['userurl']))	$userurl	= $_GET['userurl'];
275
if (isset($_GET['userurl']))	$userurl	= $_GET['userurl'];
273
if (isset($_GET['timeleft']))	$timeleft	= $_GET['timeleft'];
276
if (isset($_GET['timeleft']))	$timeleft	= $_GET['timeleft'];
274
if (isset($_GET['redirurl']))	$redirurl	= $_GET['redirurl'];
277
if (isset($_GET['redirurl']))	$redirurl	= $_GET['redirurl'];
275
 
278
 
276
# translation of radius replies
279
# translation of radius replies
277
if (isset($reply)){
280
if (isset($reply)){
278
	switch(trim ($reply)) {
281
	switch(trim ($reply)) {
279
  case 'Your maximum daily usage time has been reached' : $reply = $l_reply_1 ; break;
282
  case 'Your maximum daily usage time has been reached' : $reply = $l_reply_1 ; break;
280
  case 'Your maximum monthly usage time has been reached' : $reply = $l_reply_2 ; break;
283
  case 'Your maximum monthly usage time has been reached' : $reply = $l_reply_2 ; break;
281
  case 'You are calling outside your allowed timespan' : $reply = $l_reply_3 ; break;
284
  case 'You are calling outside your allowed timespan' : $reply = $l_reply_3 ; break;
282
  case 'Password Has Expired' : $reply =  $l_reply_4 ; break;
285
  case 'Password Has Expired' : $reply =  $l_reply_4 ; break;
283
  case 'You are already logged in - access denied' : $reply = $l_reply_5 ; break;
286
  case 'You are already logged in - access denied' : $reply = $l_reply_5 ; break;
284
  case 'Your maximum never usage time has been reached' : $reply = $l_reply_6 ; break;
287
  case 'Your maximum never usage time has been reached' : $reply = $l_reply_6 ; break;
285
  }}
288
  }}
286
 
289
 
287
# If attempt to login
290
# If attempt to login
288
if ("$button" == "$l_boutonO") {
291
if ("$button" == "$l_boutonO") {
289
  $hexchal = pack ("H32", $challenge);
292
  $hexchal = pack ("H32", $challenge);
290
  $newchal = pack ("H*", md5($hexchal . $uamsecret));
293
  $newchal = pack ("H*", md5($hexchal . $uamsecret));
291
  $response = md5("\0" . $password . $newchal);
294
  $response = md5("\0" . $password . $newchal);
292
  $newpwd = pack("a32", $password);
295
  $newpwd = pack("a32", $password);
293
  $pappassword = implode ("", unpack("H32", ($newpwd ^ $newchal)));
296
  $pappassword = implode ("", unpack("H32", ($newpwd ^ $newchal)));
294
  echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
297
  echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
295
<html>
298
<html>
296
<head>
299
<head>
297
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
300
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
298
  <title>$l_loggingin</title>
301
  <title>$l_loggingin</title>
299
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
302
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
300
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
303
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
301
  <meta http-equiv=\"refresh\" content=\"0;url=http://$uamip:$uamport/logon?username=$username&password=$pappassword&userurl=$userurl\">
304
  <meta http-equiv=\"refresh\" content=\"0;url=http://$uamip:$uamport/logon?username=$username&password=$pappassword&userurl=$userurl\">
302
  </head>
305
  </head>
303
<body bgColor = 'white'>
306
<body bgColor = 'white'>
304
<h1 style=\"text-align: center;\">$l_loggingin</h1>
307
<h1 style=\"text-align: center;\">$l_loggingin</h1>
305
  <center>
308
  <center>
306
    $l_wait
309
    $l_wait
307
  </center>
310
  </center>
308
</body>
311
</body>
309
</html>";
312
</html>";
310
exit(0);
313
exit(0);
311
}
314
}
312
 
315
 
313
switch($res) {
316
switch($res) {
314
  case 'success':     $result =  1; break; // If login successful
317
  case 'success':     $result =  1; break; // If login successful
315
  case 'failed':      $result =  2; break; // If login failed
318
  case 'failed':      $result =  2; break; // If login failed
316
  case 'logoff':      $result =  3; break; // If logout successful
319
  case 'logoff':      $result =  3; break; // If logout successful
317
  case 'already':     $result =  4; break; // If tried to login while already logged in
320
  case 'already':     $result =  4; break; // If tried to login while already logged in
318
  case 'notyet':      $result =  5; break; // If not logged in yet
321
  case 'notyet':      $result =  5; break; // If not logged in yet
319
  default: $result = 0; // Default: It was not a form request -> client go to login form
322
  default: $result = 0; // Default: It was not a form request -> client go to login form
320
}
323
}
321
 
324
 
322
# Otherwise it was not a form request
325
# Otherwise it was not a form request
323
# Send out an error message
326
# Send out an error message
324
if ($result == 0) {	//erreur
327
if ($result == 0) {	//erreur
325
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
328
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
326
<html>
329
<html>
327
<head>
330
<head>
328
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
331
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
329
  <title>$l_loggingin</title>
332
  <title>$l_loggingin</title>
330
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
333
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
331
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
334
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
332
  <meta http-equiv=\"refresh\" content=\"0;url=http://$uamip:$uamport/prelogin\">
335
  <meta http-equiv=\"refresh\" content=\"0;url=http://$uamip:$uamport/prelogin\">
333
  </head>
336
  </head>
334
<body bgColor = 'white'>
337
<body bgColor = 'white'>
335
<h1 style=\"text-align: center;\">$l_loggingin</h1>
338
<h1 style=\"text-align: center;\">$l_loggingin</h1>
336
  <center>
339
  <center>
337
    $l_wait
340
    $l_wait
338
  </center>
341
  </center>
339
</body>
342
</body>
340
</html>";
343
</html>";
341
    exit(0);
344
    exit(0);
342
}
345
}
343
# Generate the output
346
# Generate the output
344
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
347
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
345
<html>
348
<html>
346
<head>
349
<head>
347
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
350
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
348
  <title>$l_loggingin</title>
351
  <title>$l_loggingin</title>
349
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
352
  <meta http-equiv=\"Cache-control\" content=\"no-cache\">
350
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
353
  <meta http-equiv=\"Pragma\" content=\"no-cache\">
351
  <script type=\"text/javascript\" language=\"JavaScript\">
354
  <script type=\"text/javascript\" language=\"JavaScript\">
352
    var blur = 0; // not un use
355
    var blur = 0; // not un use
353
	var mytimeleft = 0; // not un use
356
	var mytimeleft = 0; // not un use
354
	alcasar_popup = null;
357
	alcasar_popup = null;
355
 
358
 
356
    function popUp(URL) {
359
    function popUp(URL) {
357
      if (self.name != \"alcasar_popup\") {
360
      if (self.name != \"alcasar_popup\") {
358
        alcasar_popup = window.open(URL, 'alcasar_popup', 'width=500,height=460,directories=no,resizable=no,scrollbars=yes,location=no,toolbar=no,statusbar=no,menubar=no');
361
        alcasar_popup = window.open(URL, 'alcasar_popup', 'width=500,height=460,directories=no,resizable=no,scrollbars=yes,location=no,toolbar=no,statusbar=no,menubar=no');
359
      }
362
      }
360
    }
363
    }
361
 
364
 
362
    function doOnLoad(result, userurl, redirurl, adminurl, timeleft) {
365
    function doOnLoad(result, userurl, redirurl, adminurl, timeleft) {
363
	    if (timeleft) { // not in use
366
	    if (timeleft) { // not in use
364
        mytimeleft = timeleft;
367
        mytimeleft = timeleft;
365
      }
368
      }
366
      if ((result == 1)||(result == 4)) {	//success or already
369
      if ((result == 1)||(result == 4)) {	//success or already
367
	      //window.location = userurl;
370
	      //window.location = userurl;
368
		  if (alcasar_popup != null) alcasar_popup.focus();
371
		  if (alcasar_popup != null) alcasar_popup.focus();
369
		  
372
		  
370
		  if (adminurl != ''){
373
		  if (adminurl != ''){
371
			  window.location = adminurl;
374
			  window.location = adminurl;
372
		  } else if (redirurl != '') {
375
		  } else if (redirurl != '') {
373
			  window.location = redirurl;
376
			  window.location = redirurl;
374
		  } else if (userurl != '') {
377
		  } else if (userurl != '') {
375
			  window.location = userurl;
378
			  window.location = userurl;
376
		  } else {
379
		  } else {
377
			  window.home();
380
			  window.home();
378
		  }
381
		  }
379
      }
382
      }
380
      if ((result == 2) || (result == 3) || result == 5) { //failed or logoff or notyet
383
      if ((result == 2) || (result == 3) || result == 5) { //failed or logoff or notyet
381
		if (alcasar_popup != null) alcasar_popup.close();
384
		if (alcasar_popup != null) alcasar_popup.close();
382
			document.form1.UserName.focus();
385
			document.form1.UserName.focus();
383
      }
386
      }
384
    }
387
    }
385
  </script>
388
  </script>
386
<link rel=\"stylesheet\" href=\"/css/style_intercept.css\" type=\"text/css\">
389
<link rel=\"stylesheet\" href=\"/css/style_intercept.css\" type=\"text/css\">
387
</head>
390
</head>
388
<body onLoad=\"javascript:doOnLoad($result,'$userurl','$redirurl','$adminurl','$timeleft')\">
391
<body onLoad=\"javascript:doOnLoad($result,'$userurl','$redirurl','$adminurl','$timeleft')\">
389
  <center>";
392
  <center>";
390
if ($result == 2 || $result == 3 || $result == 5) { //failed or logoff or notyet
393
if ($result == 2 || $result == 3 || $result == 5) { //failed or logoff or notyet
391
  echo "
394
  echo "
392
	<div id=\"logon\">
395
	<div id=\"logon\">
393
	<h1>$organisme</h1>
396
	<h1>$organisme</h1>
394
	<h2>$l_loggedcont</h2>";
397
	<h2>$l_loggedcont</h2>";
395
	if ($result == 2) { //failed
398
	if ($result == 2) { //failed
396
		echo "	
399
		echo "	
397
		<h3>$l_loginfailed</h3>";
400
		<h3>$l_loginfailed</h3>";
398
		if ($reply) {
401
		if ($reply) {
399
		#traitement du reply ...
402
		#traitement du reply ...
400
		echo "<center> $reply <br /><br /></center>";
403
		echo "<center> $reply <br /><br /></center>";
401
		}
404
		}
402
	}
405
	}
403
	echo "
406
	echo "
404
	<img id=\"logo-alcasar\" src=\"/images/logo-alcasar.png\">
407
	<img id=\"logo-alcasar\" src=\"/images/logo-alcasar.png\">
405
	<form name=\"form1\" method=\"post\" action=\"$loginpath\">
408
	<form name=\"form1\" method=\"post\" action=\"$loginpath\">
406
	<input type=\"hidden\" name=\"challenge\" value=\"$challenge\">
409
	<input type=\"hidden\" name=\"challenge\" value=\"$challenge\">
407
	<input type=\"hidden\" name=\"uamip\" value=\"$uamip\">
410
	<input type=\"hidden\" name=\"uamip\" value=\"$uamip\">
408
	<input type=\"hidden\" name=\"uamport\" value=\"$uamport\">
411
	<input type=\"hidden\" name=\"uamport\" value=\"$uamport\">
409
	<input type=\"hidden\" name=\"userurl\" value=\"$userurl\">
412
	<input type=\"hidden\" name=\"userurl\" value=\"$userurl\">
410
		<table id=\"boite-logon\">
413
		<table id=\"boite-logon\">
411
			<tr>
414
			<tr>
412
				<td width=\"20%\" rowspan=\"3\"><img id=\"logo-organ\" src=\"/images/organisme.png\"></td>
415
				<td width=\"20%\" rowspan=\"3\"><img id=\"logo-organ\" src=\"/images/organisme.png\"></td>
413
				<td width=\"30%\" align=\"right\">$l_user</td>
416
				<td width=\"30%\" align=\"right\">$l_user</td>
414
				<td width=\"50%\" align=\"left\"><INPUT type=\"text\" maxLength=\"32\" name=\"UserName\"></td>
417
				<td width=\"50%\" align=\"left\"><INPUT type=\"text\" maxLength=\"32\" name=\"UserName\"></td>
415
			</tr>
418
			</tr>
416
			<tr>
419
			<tr>
417
				<td align=\"right\">$l_password</td>
420
				<td align=\"right\">$l_password</td>
418
				<td align=\"left\"><INPUT maxLength=\"32\" type=\"password\" name=\"Password\"></td>
421
				<td align=\"left\"><INPUT maxLength=\"32\" type=\"password\" name=\"Password\"></td>
419
			</tr>
422
			</tr>
420
			<tr>
423
			<tr>
421
				<td height=\"23\" colSpan=\"2\" align=\"center\"><INPUT value=\"$l_boutonO\" type=\"submit\" name=\"button\" onclick=\"javascript:popUp('$statuspath')\"></td>
424
				<td height=\"23\" colSpan=\"2\" align=\"center\"><INPUT value=\"$l_boutonO\" type=\"submit\" name=\"button\" onclick=\"javascript:popUp('$statuspath')\"></td>
422
			</tr>
425
			</tr>
423
		</table>
426
		</table>
424
		<table id=\"boite-info\" cellSpacing=\"0\" cellPadding=\"0\" width=\"100%\">
427
		<table id=\"boite-info\" cellSpacing=\"0\" cellPadding=\"0\" width=\"100%\">
425
			<tr>
428
			<tr>
426
				<td align=\"center\"><FONT color=\"red\"><B>$l_loggedin_stringl1</B></FONT></td>
429
				<td align=\"center\"><FONT color=\"red\"><B>$l_loggedin_stringl1</B></FONT></td>
427
			</tr>
430
			</tr>
428
			<tr>
431
			<tr>
429
				<td align=\"left\">
432
				<td align=\"left\">
430
					<ul>
433
					<ul>
431
						<LI>$l_loggedin_stringl2</LI>
434
						<LI>$l_loggedin_stringl2</LI>
432
						<LI>$l_loggedin_stringl4</LI>
435
						<LI>$l_loggedin_stringl4</LI>
433
						<LI>$l_loggedin_stringl3</LI>
436
						<LI>$l_loggedin_stringl3</LI>
434
						<LI>$l_loggedin_stringl5</LI>
437
						<LI>$l_loggedin_stringl5</LI>
435
						<LI>$l_loggedin_stringl6</LI>
438
						<LI>$l_loggedin_stringl6</LI>
436
					</ul>
439
					</ul>
437
				</td>
440
				</td>
438
			</tr>
441
			</tr>
439
		</table>
442
		</table>
440
  </form>
443
  </form>
441
  </div>
444
  </div>
442
  </center>
445
  </center>
443
</body>
446
</body>
444
</html>";
447
</html>";
445
}
448
}
446
exit(0);
449
exit(0);
447
?>
450
?>
448
 
451