Subversion Repositories ALCASAR

Rev

Rev 2137 | Rev 2240 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
528 stephane 1
<?php
958 franck 2
# $Id: status.php 2172 2017-04-21 22:15:39Z tom.houdayer $
528 stephane 3
#
4
# status.php for Alcasar captive portal
847 richard 5
# by steweb57 & Rexy
528 stephane 6
# 
847 richard 7
/****************************************************************
8
*			GLOBAL FILE PATHS			*
9
*****************************************************************/
10
define ("CONF_FILE", "/usr/local/etc/alcasar.conf");
11
 
12
/****************************************************************
13
*				FILE TEST			*
14
*****************************************************************/
15
//Test de présence et des droits en lecture des fichiers de configuration.
16
if (!file_exists(CONF_FILE)){
17
	exit("Fichier de configuration ".CONF_FILE." non présent");
18
}
19
if (!is_readable(CONF_FILE)){
20
	exit("Vous n'avez pas les droits de lecture sur le fichier ".CONF_FILE);
21
}
22
 
23
/****************************************************************
24
*			Read CONF_FILE				*
25
*****************************************************************/
26
$ouvre=fopen(CONF_FILE,"r");
27
if ($ouvre){
28
	while (!feof ($ouvre))
29
	{
30
		$tampon = fgets($ouvre, 4096);
31
		if (strpos($tampon,"=")!==false){
32
			$tmp = explode("=",$tampon);
33
			$conf[$tmp[0]] = $tmp[1];
34
		}
35
	}
36
}else{
1030 stephane 37
	exit("Erreur d'ouverture du fichier ".CONF_FILE);
847 richard 38
}
39
fclose($ouvre);
40
 
41
$organisme = $conf["ORGANISM"];
2134 richard 42
$remote_ip = preg_match('#^([0-9]{1,3}\.){3}[0-9]{1,3}$#', $_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : "";
725 stephane 43
$connection_history =  "";
44
$nb_connection_history = 3;
528 stephane 45
 
2134 richard 46
// Wait for chilli (uptade its tables)
1026 richard 47
sleep (1);
2134 richard 48
// Retrieve user info in tab $user[]
1026 richard 49
exec ("sudo /usr/sbin/chilli_query list | grep 'pass' | grep -Ew '($remote_ip)'" , $tab);
1878 raphael.pi 50
if(isset($tab[0]))
725 stephane 51
$user = explode (" ", $tab[0]);
52
 
2134 richard 53
#### Time conversion 
725 stephane 54
function secondsToDuration($seconds = null){
55
	if ($seconds == null) return "";
56
	$temp = $seconds % 3600;
57
	$time[0] = ( $seconds - $temp ) / 3600 ;	// hours
732 richard 58
	$time[2] = $temp % 60 ;				// seconds
725 stephane 59
	$time[1] = ( $temp - $time[2] ) / 60;		// minutes
732 richard 60
	return $time[0]." h ".$time[1]." m ".$time[2]." s";
725 stephane 61
}
62
 
528 stephane 63
# Choice of language
64
//reste quelques traductions à faire
65
$Language = 'en';
66
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
2172 tom.houday 67
	$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
68
	$Language = strtolower(substr(chop($Langue[0]),0,2));
69
}
528 stephane 70
if($Language == 'es'){
734 richard 71
	$l_login1			= "El éxito de la autenticación";
528 stephane 72
	$l_logout			= "Conexión de cierre";
2066 richard 73
	$l_logout_question		= "¿Seguro que desea desconectar?";
955 richard 74
	$l_loggedout			= "Su sesión se cierra";
528 stephane 75
	$l_wait				= "Por favor, espere un momento ...";
2066 richard 76
	$l_state_label			= "Estado";
77
	$l_session_id_label		= "Sesión ID";
78
	$l_max_session_time_label	= "Tiempo máximo de sesión";
79
	$l_max_idle_time_label		= "Tiempo de inactividad autorizado";
2064 richard 80
	$l_start_time_label		= "Start Time";	// to translate
528 stephane 81
	$l_session_time_label		= "Tiempo de conexión";
2064 richard 82
	$l_idle_time_label		= "Idle Time";	// to translate
83
	$l_downloaded_label		= "Downloaded";	// to translate
84
	$l_uploaded_label		= "Uploaded";	// to translate
85
	$l_original_url_label		= "Original URL";	// to translate
86
	$l_not_available		= "Not available";	// to translate
87
	$l_error			= "error";		// to translate
88
	$l_welcome			= "Welcome";	// to translate
89
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
90
	$l_connected 			= "logged"; // to translate
91
	$l_a_connection			= "You have"; // to translate
92
	$l_a_connection_time		= "active connections on the network"; // to translate
2172 tom.houday 93
	$l_close_warning		= "Advertencia: se desconectará si cierra esta ventana";
528 stephane 94
}
2086 richard 95
else if ($Language == 'zh'){
2066 richard 96
	$l_login1			= "验证通过";
97
	$l_logout			= "关闭连接";
98
	$l_logout_question		= "您确定需要断开连接吗?";
99
	$l_loggedout			= "您已登出";
100
	$l_wait				= "请等待 ...";
101
	$l_state_label			= "连接状态";
102
	$l_session_id_label		= "连接ID";
103
	$l_max_session_time_label	= "最大连接时间";
104
	$l_max_idle_time_label		= "最大闲置时间";
105
	$l_start_time_label		= "起始连接时间";
106
	$l_session_time_label		= "连接时间";
107
	$l_idle_time_label		= "闲置时间";
108
	$l_downloaded_label		= "数据下载";
109
	$l_uploaded_label		= "数据上传";
110
	$l_original_url_label		= "初始网址";
111
	$l_not_available		= "不可用";
112
	$l_error			= "出错";
113
	$l_welcome			= "欢迎";
2172 tom.houday 114
	$l_conn_history			= "您最近的{$nb_connection_history}次连接";
2066 richard 115
	$l_connected 			= "已登录";  
116
	$l_a_connection			= "您已经有";
117
	$l_a_connection_time		= "在线时间";
2172 tom.houday 118
	$l_close_warning		= "警告: 您将会断开连接如果您在关闭此窗口";
2066 richard 119
}
2086 richard 120
else if ($Language == 'ar'){
121
	$l_login1			= "نجاح المصادقة";
122
	$l_logout			= "إغلاق الدورة";
123
	$l_logout_question		= "هل تريد فعلاً قطع الاتصال؟";
124
	$l_loggedout			= "دورتكَ مُغلَقة";
125
	$l_wait				= "...إنتظر بعض اللحظات";
126
	$l_state_label			= "وَضْع";
127
	$l_session_id_label		= "معرف الدورة";
128
	$l_max_session_time_label	= "الوقت المسموح للإتصال";
129
	$l_max_idle_time_label		= "الحد الأقصى لعدم التنشيط";
130
	$l_start_time_label		= "بداية الإتصال";
131
	$l_session_time_label		= "مدة الإتصال";
132
	$l_idle_time_label		= "انعدام التنشيط";
133
	$l_downloaded_label		= "تم تحميل المعطيات";
134
	$l_uploaded_label		= "تم إرسال المعطيات";
135
	$l_original_url_label		= "تم طلب URL";
136
	$l_not_available		= "غير متوفّر";
137
	$l_na				= "N/D";
138
	$l_error			= "خطأ";
139
	$l_welcome			= "مرحباً بك";
140
	$l_conn_history			= "($nb_connection_history) سِجِل اتصالاتك الاخيرة";
141
	$l_connected 			= "دورة ناشطة";  
142
	$l_a_connection			= "لديك";
143
	$l_a_connection_time		= "اتصالات ناشطة على الشبكة";
2172 tom.houday 144
	$l_close_warning		= "تحذير: سيتم قطع الاتصال إذا قمت بإغلاق هذه النافذة";
2086 richard 145
}
912 richard 146
else if ($Language == 'pt'){
147
	$l_login1			= "Autenticação bem sucedida.";
148
	$l_logout			= "Fechando a conexão";
955 richard 149
	$l_logout_question		= "Tem certeza de que deseja desconectar agora?";
971 richard 150
	$l_loggedout			= "Sua conexão será fechada";
912 richard 151
	$l_wait				= "Por favor, aguarde um momento ...";
971 richard 152
	$l_state_label			= "Estado da conexão";
955 richard 153
	$l_session_id_label		= "Sessão ID";
971 richard 154
	$l_max_session_time_label	= "Restante em horas da conexão";
155
	$l_max_idle_time_label		= "Restante máximo liberado por dia";
156
	$l_start_time_label		= "Dia, mês, ano e hora da conexão";
955 richard 157
	$l_session_time_label		= "Duração da conexão";
158
	$l_idle_time_label		= "Tempo de Espera";
971 richard 159
	$l_downloaded_label		= "Recebidos";
160
	$l_uploaded_label		= "Enviados";
912 richard 161
	$l_original_url_label		= "URL Original";
955 richard 162
	$l_not_available		= "Não disponível";
163
	$l_error			= "Erro";
971 richard 164
	$l_welcome			= "Bem-vindo(a)";
165
	$l_conn_history			= "Suas últimos conexões : $nb_connection_history";
955 richard 166
	$l_connected 			= "Conectado"; 
971 richard 167
	$l_a_connection			= "Conexão ativa já detectada para essa LAN";
912 richard 168
	$l_a_connection_time		= "Tempo (s)";
2172 tom.houday 169
	$l_close_warning		= "Aviso: você será desconectado se fechar esta janela";
912 richard 170
}
2086 richard 171
else if ($Language == 'de'){
734 richard 172
	$l_login1			= "Erfolgreiche Authentifizierung";
528 stephane 173
	$l_logout			= "Beenden der Verbindung";
2074 richard 174
	$l_logout_question		= "Möchten Sie die Verbindung jetzt wirklich trennen?";
2064 richard 175
	$l_loggedout			= "Ihre Sitzung ist geschlossen";
528 stephane 176
	$l_wait				= "Bitte warten Sie einen Moment ...";
2064 richard 177
	$l_state_label			= "State";		// to translate
178
	$l_session_id_label		= "Session ID";	// to translate
179
	$l_max_session_time_label	= "Max Session Time";	// to translate
180
	$l_max_idle_time_label		= "Max Idle Time";		// to translate
181
	$l_start_time_label		= "Start Time";	// to translate
528 stephane 182
	$l_session_time_label		= "Online-zeit";
2064 richard 183
	$l_idle_time_label		= "Idle Time";	// to translate
184
	$l_downloaded_label		= "Downloaded";	// to translate
185
	$l_uploaded_label		= "Uploaded";	// to translate
186
	$l_original_url_label		= "Original URL";	// to translate
187
	$l_not_available		= "Not available";	// to translate
188
	$l_error			= "error";		// to translate
189
	$l_welcome			= "Welcome"; 	// to translate
190
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
191
	$l_connected 			= "logged"; // to translate 
192
	$l_a_connection			= "You have"; // to translate
193
	$l_a_connection_time		= "active connections on the network"; // to translate
2172 tom.houday 194
	$l_close_warning		= "Warnung: Sie werden getrennt, wenn Sie dieses Fenster schließen";
528 stephane 195
}
2086 richard 196
else if ($Language == 'nl'){
734 richard 197
	$l_login1			= "Succesvolle authenticatie";
528 stephane 198
	$l_logout			= "Slotkoers verbinding";
2073 richard 199
	$l_logout_question		= "Bent u zeker dat u wilt nu los te koppelen?";
2064 richard 200
	$l_loggedout			= "Uw sessie is gesloten";
528 stephane 201
	$l_wait				= "Wacht een moment ...";
2064 richard 202
	$l_state_label			= "State";		// to translate
203
	$l_session_id_label		= "Session ID";	// to translate
204
	$l_max_session_time_label	= "Max Session Time";	// to translate
205
	$l_max_idle_time_label		= "Max Idle Time";		// to translate
206
	$l_start_time_label		= "Start Time";	// to translate
528 stephane 207
	$l_session_time_label		= "Online tijd";
2064 richard 208
	$l_idle_time_label		= "Idle Time";	// to translate
209
	$l_downloaded_label		= "Downloaded";	// to translate
210
	$l_uploaded_label		= "Uploaded";	// to translate
211
	$l_original_url_label		= "Original URL";	// to translate
212
	$l_not_available		= "Not available";	// to translate
213
	$l_error			= "error";		// to translate
214
	$l_welcome			= "Welcome";	// to translate
215
	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
216
	$l_connected 			= "logged"; // to translate 
217
	$l_a_connection			= "You have"; // to translate
218
	$l_a_connection_time		= "active connections on the network"; // to translate
2172 tom.houday 219
	$l_close_warning		= "Waarschuwing: u zal worden afgebroken als u dit venster sluiten";
528 stephane 220
}
2086 richard 221
else if ($Language == 'fr'){
2064 richard 222
	$l_login1			= "Authentification réussie";
528 stephane 223
	$l_logout			= "Fermeture de la session";
2066 richard 224
	$l_logout_question		= "Êtes vous sûr de vouloir vous déconnecter?";
2064 richard 225
	$l_loggedout			= "Votre session est fermée";
528 stephane 226
	$l_wait				= "Patientez un instant ....";
2066 richard 227
	$l_state_label			= "État";
2064 richard 228
	$l_session_id_label		= "Session ID";
229
	$l_max_session_time_label	= "Temps de connexion autorisé";
2066 richard 230
	$l_max_idle_time_label		= "Temps d'inactivité autorisé";
2064 richard 231
	$l_start_time_label		= "Début de connexion";
232
	$l_session_time_label		= "Durée de connexion";
233
	$l_idle_time_label		= "Inactivité";
234
	$l_downloaded_label		= "Données téléchargées";
235
	$l_uploaded_label		= "Données envoyées";
236
	$l_original_url_label		= "URL demandée";
237
	$l_not_available		= "Non disponible";
238
	$l_error			= "erreur";
239
	$l_welcome			= "Bienvenue";
240
	$l_conn_history			= "Vos $nb_connection_history dernières connexions";
737 franck 241
	$l_connected 			= "session active";  
1708 richard 242
	$l_a_connection			= "Vous avez";
243
	$l_a_connection_time		= "connexions actives sur le réseau";
2172 tom.houday 244
	$l_close_warning		= "Attention : vous serez déconnecté si vous fermez cette fenêtre";
528 stephane 245
}
246
else {
247
	$l_login1			= "Successful authentication.";
248
	$l_logout			= "Closing connection";
2064 richard 249
	$l_logout_question		= "Are you sure you want to disconnect now?";
250
	$l_loggedout			= "Your session is closed";
528 stephane 251
	$l_wait				= "Please wait a moment ...";
2064 richard 252
	$l_state_label			= "State";
253
	$l_session_id_label		= "Session ID";
528 stephane 254
	$l_max_session_time_label	= "Max Session Time";
255
	$l_max_idle_time_label		= "Max Idle Time";
2064 richard 256
	$l_start_time_label		= "Start Time";
528 stephane 257
	$l_session_time_label		= "Session Time";
2064 richard 258
	$l_idle_time_label		= "Idle Time";
259
	$l_downloaded_label		= "Downloaded";
260
	$l_uploaded_label		= "Uploaded";
528 stephane 261
	$l_original_url_label		= "Original URL";
2064 richard 262
	$l_not_available		= "Not available";
263
	$l_error			= "error";
264
	$l_welcome			= "Welcome";
265
	$l_conn_history			= "Your last $nb_connection_history connections";
734 richard 266
	$l_connected 			= "logged"; 
2064 richard 267
	$l_a_connection			= "You have";
268
	$l_a_connection_time		= "active connections on the network";
2172 tom.houday 269
	$l_close_warning		= "Warning: you will be disconnected if you close this window";
528 stephane 270
}
734 richard 271
 
272
if (isset($user[5])){
2134 richard 273
// Retrieve the last connections
734 richard 274
	if ((is_file("./acc/manager/lib/sql/drivers/mysql/functions.php"))&&(is_file("/etc/freeradius-web/config.php"))){
275
		include_once("/etc/freeradius-web/config.php");
276
		include_once("./acc/manager/lib/sql/drivers/mysql/functions.php");
277
		$sql = "SELECT UserName, AcctStartTime, AcctStopTime, acctsessiontime FROM radacct WHERE UserName='$user[5]' ORDER BY AcctStartTime DESC LIMIT 0 , $nb_connection_history";
2134 richard 278
		$link = @da_sql_pconnect($config);
734 richard 279
		if ($link){
2134 richard 280
			$res = @da_sql_query($link,$config,$sql);
734 richard 281
			if ($res){
1026 richard 282
				$a_connection = ""; $a_connected=0; $connection_history.= "<ul>";
734 richard 283
				while(($row = @da_sql_fetch_array($res,$config))){
284
					$connected = "";
872 richard 285
					$start_conn = date_create($row['acctstarttime']);
737 franck 286
					$connection_history.="<li>".date_format($start_conn, 'd M Y - H:i:s')." - (";
872 richard 287
					if ($row['acctstoptime'] == "") {
737 franck 288
						$connected = $l_connected;
1026 richard 289
						$a_connected = $a_connected +1;
737 franck 290
					}else{
872 richard 291
						$connected = secondsToDuration($row['acctsessiontime']);
737 franck 292
					}
293
					$connection_history.= "$connected)</li>";
734 richard 294
				}
295
				$connection_history.="</ul>";
737 franck 296
				if ($a_connected > 1){
1026 richard 297
					$a_connection = $l_a_connection." ".$a_connected." ".$l_a_connection_time; }
737 franck 298
			}
299
		}
2134 richard 300
// Retrieve first name & last name
2137 richard 301
		$sql = "SELECT Name FROM userinfo WHERE UserName='$user[5]'";
302
		$link = @da_sql_pconnect($config);
303
		if ($link){
304
			$res = @da_sql_query($link,$config,$sql);
305
			if ($res){
306
				$row = @da_sql_fetch_array($res,$config);
307
				$cn = ($row['name'] != '') ? $row['name'] : $user[5];
308
			}
309
		}
2134 richard 310
//store the user @IP in a file (to test if he is still active).
2108 richard 311
		$filename='/var/tmp/havp/current_users.txt';
2134 richard 312
		$change_me = 1; //avoid duplicate user @IP
2013 raphael.pi 313
		if(file_exists($filename)){
314
			$fichier = fopen($filename, "r");
315
			$content = file($filename);
2137 richard 316
			if (empty($content))
2013 raphael.pi 317
			{
318
				file_put_contents($filename, $_SERVER['REMOTE_ADDR']);
319
			}
320
			else
321
			{
2134 richard 322
				// if we found duplicate IP, we will not write user @IP (just set change_me = 0)
2013 raphael.pi 323
				foreach($content as $line){
324
				        $line = preg_replace('/\s+/', '', $line);
325
				        if($line == $_SERVER['REMOTE_ADDR'])
326
				        {
327
				                $change_me = 0;
328
				        }
329
				}
2134 richard 330
				// if user @IP does not exist, we write it
2013 raphael.pi 331
				if($change_me)
332
				{
333
				        file_put_contents($filename, $_SERVER['REMOTE_ADDR'].PHP_EOL , FILE_APPEND);
334
				}
335
			}
336
		}
337
		else
338
		{
2134 richard 339
			//we create filename and we write user @IP.
2013 raphael.pi 340
			file_put_contents($filename, $_SERVER['REMOTE_ADDR'].PHP_EOL);
341
		}
734 richard 342
	}
343
}
528 stephane 344
?>
345
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2137 richard 346
<html>
347
<!-- written by steweb57 & Rexy -->
734 richard 348
	<head>
349
		<title>Alcasar - <?php echo $organisme; ?></title>
350
		<meta http-equiv="Cache-control" content="no-cache">
351
		<meta http-equiv="Pragma" content="no-cache">
352
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
353
		<script type="text/javascript" src="./js/ChilliLibrary.js"></script>
354
		<script type="text/javascript" src="./js/statusControler.js"></script>
355
		<link type="text/css" href="./css/status.css" rel="stylesheet">
356
	</head>
357
	<body>
358
		<div id="Chilli">
359
		<div id="locationName"></div>
360
		<div id="chilliPage">
361
		<div id="loggedOutPage" class="c1">
362
			<table id="disconnectTable">
363
				<tr>
364
					<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
365
					<td><p class="text_auth"><?php echo $l_loggedout; ?></p></td>
366
				</tr>
367
			</table>
368
		</div>
369
		<div id="statusPage" class="c1">
370
			<table border="0" id="statusTable">
371
				<tr>
737 franck 372
					<td colspan="2">
373
						<table border="0" cellpadding="0" cellspacing="0" width="100%">
374
							<tr>
375
								<td valign="top" rowspan="4">
376
									<img height="150" src="./images/logo-alcasar.png" alt="logo">
377
								</td>
378
								<td class="text_auth_welcom">
379
									<?php echo $l_login1; ?>
380
								</td>
381
							</tr>
382
							<tr>
383
								<td class="text_auth">
2137 richard 384
									<?php echo "$l_welcome <br> $cn";?>
737 franck 385
								</td>
386
							</tr>
387
							<tr>
388
								<td class="alert">
1878 raphael.pi 389
									<?php if(isset($a_connection))echo $a_connection; ?>
737 franck 390
								</td>
391
							</tr>
392
							<tr>
393
								<td colspan="2" align="center" class="link_logout">
394
									<a href="#" onclick="return logoutWithConfirmation('<?php echo $l_logout_question;?>');" class="lien_deco"><?php echo $l_logout; ?></a>
395
								</td>
396
							</tr>
397
						</table>
734 richard 398
					</td>
399
				</tr>
528 stephane 400
<!--tr id="connectRow">
401
<td id="statusMessageLabel" class="chilliLabel"><strong><?php echo $l_state_label; ?></strong></td>
402
<td id="statusMessage" class="chilliValue">Connected</td>
403
</tr-->
404
<!--tr id="sessionIdRow">
405
<td id="sessionIdLabel" class="chilliLabel"><strong><?php echo $l_session_id_label; ?></strong></td>
406
<td id="sessionId" class="chilliValue"><?php echo $l_not_available; ?></td>
407
</tr-->
734 richard 408
				<tr id="sessionTimeoutRow">
409
					<td id="sessionTimeoutLabel" class="chilliLabel"><?php echo $l_max_session_time_label; ?></td>
410
					<td id="sessionTimeout" class="chilliValue"><?php echo $l_not_available; ?></td>
411
				</tr>
412
				<tr id="idleTimeoutRow">
413
					<td id="idleTimeoutLabel" class="chilliLabel"><?php echo $l_max_idle_time_label; ?></td>
414
					<td id="idleTimeout" class="chilliValue"><?php echo $l_not_available; ?></td>
415
				</tr>
416
				<tr id="startTimeRow">
417
					<td id="startTimeLabel" class="chilliLabel"><?php echo $l_start_time_label; ?></td>
418
					<td id="startTime" class="chilliValue"><?php echo $l_not_available; ?></td>
419
				</tr>
420
				<tr id="sessionTimeRow">
421
					<td id="sessionTimeLabel" class="chilliLabel"><?php echo $l_session_time_label; ?></td>
422
					<td id="sessionTime" class="chilliValue"><?php echo $l_not_available; ?></td>
423
				</tr>
424
				<tr id="idleTimeRow">
425
					<td id="idleTimeLabel" class="chilliLabel"><?php echo $l_idle_time_label; ?></td>
426
					<td id="idleTime" class="chilliValue"><?php echo $l_not_available; ?></td>
427
				</tr>
428
				<tr id="inputOctetsRow">
429
					<td id="inputOctetsLabel" class="chilliLabel"><?php echo $l_downloaded_label; ?></td>
2073 richard 430
					<td id="inputOctets" class="chilliValue"><?php echo $l_not_available; ?></td>
734 richard 431
				</tr>
432
				<tr id="outputOctetsRow">
433
					<td id="outputOctetsLabel" class="chilliLabel"><?php echo $l_uploaded_label; ?></td>
2073 richard 434
					<td id="outputOctets" class="chilliValue"><?php echo $l_not_available; ?></td>
734 richard 435
				</tr>
725 stephane 436
<!--tr id="originalURLRow">
734 richard 437
<td id="originalURLLabel" class="chilliLabel"><?php echo $l_original_url_label; ?></td>
2073 richard 438
<td id="originalURL" class="chilliValue"><?php echo $l_not_available; ?></td>
725 stephane 439
</tr-->
734 richard 440
				<tr>
441
					<td colspan=2 id="conHistoryLabel" class="chilliLabel"><?php echo $l_conn_history; ?></td>
442
				</tr>
443
				<tr id="conHistoryRow">
444
					<td colspan=2 id="conHistory" class="chilliValue"><?php echo $connection_history; ?></td>
445
				</tr>
2172 tom.houday 446
				<tr>
447
					<td colspan=2 id="close-warning">(<?php echo $l_close_warning; ?>)</td>
448
				</tr>
734 richard 449
			</table>
450
		</div>
451
		<div id="waitPage">
452
			<table id="waitTable">
453
				<tr>
454
					<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
455
					<td><p class="text_auth"><img src="./images/wait.gif" width="16" height="16" class="wait" alt="<?php echo $l_wait; ?>"><?php echo $l_wait; ?></p></td>
456
				</tr>
457
			</table>
458
		</div>
459
		<div id="errorPage">
460
			<table id="errorTable">
461
				<tr>
462
					<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
463
					<td><span id="errorMessage"><?php echo $l_error; ?></span></td>
464
				</tr>
465
			</table>
466
		</div>
467
		</div>
528 stephane 468
<!--div id="debugPage" style="display:inline;">
469
<textarea id="debugarea" rows="20" cols="60">
470
</textarea>
734 richard 471
</div-->
472
		</div>
473
	</body>
528 stephane 474
</html>