Subversion Repositories ALCASAR

Rev

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

Rev 640 Rev 725
1
<?php
1
<?php
2
#
2
#
3
# status.php for Alcasar captive portal
3
# status.php for Alcasar captive portal
4
# by steweb57
4
# by steweb57
5
# 
5
# 
6
$organisme = "";
6
$organisme = "";
-
 
7
$remote_ip = ($_SERVER['REMOTE_ADDR']);
-
 
8
$connection_history =  "";
-
 
9
$nb_connection_history = 3;
-
 
10
 
-
 
11
//On récupère le nom de connexion de la session active. //on a l'info en ajax, mais trop tard -> A MODIFIER
-
 
12
exec ("sudo /usr/sbin/chilli_query list|grep $remote_ip" , $tab);
-
 
13
$user = explode (" ", $tab[0]);
-
 
14
 
-
 
15
#### Affichage des 3 dernières connexions de $user[5]
-
 
16
function secondsToDuration($seconds = null){
-
 
17
	if ($seconds == null) return "";
-
 
18
 
-
 
19
	$temp = $seconds % 3600;
-
 
20
	$time[0] = ( $seconds - $temp ) / 3600 ;	// hours
-
 
21
	$time[2] = $temp % 60 ;						// seconds
-
 
22
	$time[1] = ( $temp - $time[2] ) / 60;		// minutes
-
 
23
	
-
 
24
	return $time[0]." h ".$time[2]." m ".$time[1]." s";
-
 
25
}
-
 
26
 
-
 
27
$l_connected = "connected"; // a traduire (choix de la langue ci-dessous mais nécessitant de $connection_history)
-
 
28
// si on a pas d'accès à la bdd, la page s'affiche quand même correctement
-
 
29
if (isset($user[5])){
-
 
30
	if ((is_file("./acc/manager/lib/sql/drivers/mysql/functions.php"))&&(is_file("/etc/freeradius-web/config.php"))){
-
 
31
		include_once("/etc/freeradius-web/config.php");
-
 
32
		include_once("./acc/manager/lib/sql/drivers/mysql/functions.php");
-
 
33
		
-
 
34
		$sql = "SELECT UserName, AcctStartTime, AcctStopTime, acctsessiontime FROM radacct WHERE UserName='$user[5]' ORDER BY AcctStartTime DESC LIMIT 0 , $nb_connection_history";
-
 
35
		$link = @da_sql_pconnect($config); // on affiche pas les erreurs
-
 
36
		
-
 
37
		if ($link){
-
 
38
			$res = @da_sql_query($link,$config,$sql); // on affiche pas les erreurs
-
 
39
			
-
 
40
			if ($res){
-
 
41
				$connection_history.= "<ul>";
-
 
42
				while(($row = @da_sql_fetch_array($res,$config))){
-
 
43
					$connected = "";
-
 
44
					if ($row[acctstoptime] == "") $connected = " ($l_connected)";
-
 
45
					$connection_history.="<li title='$row[username] $row[acctstarttime] $row[acctstoptime] (".secondsToDuration($row[acctsessiontime]).")'>$row[acctstarttime] (".secondsToDuration($row[acctsessiontime]).") $connected</li>";
-
 
46
				}
-
 
47
				$connection_history.="</ul>";
-
 
48
			}
-
 
49
		}
-
 
50
	}
-
 
51
}
-
 
52
####
-
 
53
 
7
 
54
 
8
# Choice of language
55
# Choice of language
9
//reste quelques traductions à faire
56
//reste quelques traductions à faire
10
$Language = 'en';
57
$Language = 'en';
11
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
58
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
12
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
59
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
13
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
60
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
14
if($Language == 'es'){
61
if($Language == 'es'){
15
	$l_login1			= "El éxito de la autenticación.";
62
	$l_login1			= "El éxito de la autenticación.";
16
	$l_login2			= "Cierre esta ventana interrumpte la sesion.";
63
	$l_login2			= "Cierre esta ventana interrumpte la sesion.";
17
	$l_logout			= "Conexión de cierre";
64
	$l_logout			= "Conexión de cierre";
18
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
65
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
19
	$l_loggedout		= "Su sesión se cierra";
66
	$l_loggedout		= "Su sesión se cierra";
20
	$l_wait				= "Por favor, espere un momento ...";
67
	$l_wait				= "Por favor, espere un momento ...";
21
	$l_state_label				= "State";		//à traduire
68
	$l_state_label				= "State";		//à traduire
22
	$l_session_id_label			= "Session ID";	//à traduire
69
	$l_session_id_label			= "Session ID";	//à traduire
23
	$l_max_session_time_label	= "Max Session Time";	//à traduire
70
	$l_max_session_time_label	= "Max Session Time";	//à traduire
24
	$l_max_idle_time_label		= "Max Idle Time";		//à traduire
71
	$l_max_idle_time_label		= "Max Idle Time";		//à traduire
25
	$l_start_time_label			= "Start Time";	//à traduire
72
	$l_start_time_label			= "Start Time";	//à traduire
26
	$l_session_time_label		= "Tiempo de conexión";
73
	$l_session_time_label		= "Tiempo de conexión";
27
	$l_idle_time_label			= "Idle Time";	//à traduire
74
	$l_idle_time_label			= "Idle Time";	//à traduire
28
	$l_downloaded_label			= "Downloaded";	//à traduire
75
	$l_downloaded_label			= "Downloaded";	//à traduire
29
	$l_uploaded_label			= "Uploaded";	//à traduire
76
	$l_uploaded_label			= "Uploaded";	//à traduire
30
	$l_original_url_label		= "Original URL";	//à traduire
77
	$l_original_url_label		= "Original URL";	//à traduire
31
	$l_not_available			= "Not available";	//à traduire
78
	$l_not_available			= "Not available";	//à traduire
32
	$l_na						= "N/A";		//à traduire
79
	$l_na						= "N/A";		//à traduire
33
	$l_error					= "error";		//à traduire
80
	$l_error					= "error";		//à traduire
34
	$l_welcome					= "Welcome";	//à traduire
81
	$l_welcome					= "Welcome";	//à traduire
-
 
82
	$l_conn_history				= "$nb_connection_history last connections";	//à traduire
35
}
83
}
36
else if($Language == 'de'){
84
else if($Language == 'de'){
37
	$l_login1			= "Erfolgreiche Authentifizierung.";
85
	$l_login1			= "Erfolgreiche Authentifizierung.";
38
	$l_login2			= "Schlißen dieses fensters unterbricht die sitzung";
86
	$l_login2			= "Schlißen dieses fensters unterbricht die sitzung";
39
	$l_logout			= "Beenden der Verbindung";
87
	$l_logout			= "Beenden der Verbindung";
40
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
88
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
41
	$l_loggedout		= "Ihre Sitzung ist geschlossen";
89
	$l_loggedout		= "Ihre Sitzung ist geschlossen";
42
	$l_wait				= "Bitte warten Sie einen Moment ...";
90
	$l_wait				= "Bitte warten Sie einen Moment ...";
43
	$l_state_label				= "State";		//à traduire
91
	$l_state_label				= "State";		//à traduire
44
	$l_session_id_label			= "Session ID";	//à traduire
92
	$l_session_id_label			= "Session ID";	//à traduire
45
	$l_max_session_time_label	= "Max Session Time";	//à traduire
93
	$l_max_session_time_label	= "Max Session Time";	//à traduire
46
	$l_max_idle_time_label		= "Max Idle Time";		//à traduire
94
	$l_max_idle_time_label		= "Max Idle Time";		//à traduire
47
	$l_start_time_label			= "Start Time";	//à traduire
95
	$l_start_time_label			= "Start Time";	//à traduire
48
	$l_session_time_label		= "Online-zeit";
96
	$l_session_time_label		= "Online-zeit";
49
	$l_idle_time_label			= "Idle Time";	//à traduire
97
	$l_idle_time_label			= "Idle Time";	//à traduire
50
	$l_downloaded_label			= "Downloaded";	//à traduire
98
	$l_downloaded_label			= "Downloaded";	//à traduire
51
	$l_uploaded_label			= "Uploaded";	//à traduire
99
	$l_uploaded_label			= "Uploaded";	//à traduire
52
	$l_original_url_label		= "Original URL";	//à traduire
100
	$l_original_url_label		= "Original URL";	//à traduire
53
	$l_not_available			= "Not available";	//à traduire
101
	$l_not_available			= "Not available";	//à traduire
54
	$l_na						= "N/A";		//à traduire
102
	$l_na						= "N/A";		//à traduire
55
	$l_error					= "error";		//à traduire
103
	$l_error					= "error";		//à traduire
56
	$l_welcome					= "Welcome"; 	//à traduire
104
	$l_welcome					= "Welcome"; 	//à traduire
-
 
105
	$l_conn_history				= "$nb_connection_history last connections";	//à traduire
57
}
106
}
58
else if($Language == 'nl'){
107
else if($Language == 'nl'){
59
	$l_login1			= "Succesvolle authenticatie.";
108
	$l_login1			= "Succesvolle authenticatie.";
60
	$l_login2			= "Dit venster te sluiten onderbreekt uw sessie.";
109
	$l_login2			= "Dit venster te sluiten onderbreekt uw sessie.";
61
	$l_logout			= "Slotkoers verbinding";
110
	$l_logout			= "Slotkoers verbinding";
62
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
111
	$l_logout_question	= "Are you sure you want to disconnect now?";	//à traduire
63
	$l_loggedout		= "Uw sessie is gesloten";
112
	$l_loggedout		= "Uw sessie is gesloten";
64
	$l_wait				= "Wacht een moment ...";
113
	$l_wait				= "Wacht een moment ...";
65
	$l_state_label				= "State";		//à traduire
114
	$l_state_label				= "State";		//à traduire
66
	$l_session_id_label			= "Session ID";	//à traduire
115
	$l_session_id_label			= "Session ID";	//à traduire
67
	$l_max_session_time_label	= "Max Session Time";	//à traduire
116
	$l_max_session_time_label	= "Max Session Time";	//à traduire
68
	$l_max_idle_time_label		= "Max Idle Time";		//à traduire
117
	$l_max_idle_time_label		= "Max Idle Time";		//à traduire
69
	$l_start_time_label			= "Start Time";	//à traduire
118
	$l_start_time_label			= "Start Time";	//à traduire
70
	$l_session_time_label		= "Online tijd";
119
	$l_session_time_label		= "Online tijd";
71
	$l_idle_time_label			= "Idle Time";	//à traduire
120
	$l_idle_time_label			= "Idle Time";	//à traduire
72
	$l_downloaded_label			= "Downloaded";	//à traduire
121
	$l_downloaded_label			= "Downloaded";	//à traduire
73
	$l_uploaded_label			= "Uploaded";	//à traduire
122
	$l_uploaded_label			= "Uploaded";	//à traduire
74
	$l_original_url_label		= "Original URL";	//à traduire
123
	$l_original_url_label		= "Original URL";	//à traduire
75
	$l_not_available			= "Not available";	//à traduire
124
	$l_not_available			= "Not available";	//à traduire
76
	$l_na						= "N/A";		//à traduire
125
	$l_na						= "N/A";		//à traduire
77
	$l_error					= "error";		//à traduire
126
	$l_error					= "error";		//à traduire
78
	$l_welcome					= "Welcome";	//à traduire
127
	$l_welcome					= "Welcome";	//à traduire
-
 
128
	$l_conn_history				= "$nb_connection_history last connections";	//à traduire
79
}
129
}
80
else if($Language == 'fr'){
130
else if($Language == 'fr'){
81
	$l_login1			= "Authentification r&eacute;ussie.";
131
	$l_login1			= "Authentification r&eacute;ussie.";
82
	$l_login2			= "La fermeture de cette fenêtre interrompt votre session.";
132
	$l_login2			= "La fermeture de cette fenêtre interrompt votre session.";
83
	$l_logout			= "Fermeture de la session";
133
	$l_logout			= "Fermeture de la session";
84
	$l_logout_question	= "Etes vous sûr de vouloir vous déconnecter?";
134
	$l_logout_question	= "Etes vous sûr de vouloir vous déconnecter?";
85
	$l_loggedout		= "Votre session est fermée";
135
	$l_loggedout		= "Votre session est fermée";
86
	$l_wait				= "Patientez un instant ....";
136
	$l_wait				= "Patientez un instant ....";
87
	$l_state_label				= "Etat";
137
	$l_state_label				= "Etat";
88
	$l_session_id_label			= "Session ID";
138
	$l_session_id_label			= "Session ID";
89
	$l_max_session_time_label	= "Temps de connexion autoris&eacute";
139
	$l_max_session_time_label	= "Temps de connexion autoris&eacute";
90
	$l_max_idle_time_label		= "Inactivit&eacute; max. autoris&eacute;e";
140
	$l_max_idle_time_label		= "Inactivit&eacute; max. autoris&eacute;e";
91
	$l_start_time_label			= "D&eacute;but de connexion";
141
	$l_start_time_label			= "D&eacute;but de connexion";
92
	$l_session_time_label		= "Dur&eacute;e de connexion";
142
	$l_session_time_label		= "Dur&eacute;e de connexion";
93
	$l_idle_time_label			= "Inactivit&eacute;";
143
	$l_idle_time_label			= "Inactivit&eacute;";
94
	$l_downloaded_label			= "Donn&eacute;es t&eacute;l&eacute;charg&eacute;es";
144
	$l_downloaded_label			= "Donn&eacute;es t&eacute;l&eacute;charg&eacute;es";
95
	$l_uploaded_label			= "Donn&eacute;es envoy&eacute;es";
145
	$l_uploaded_label			= "Donn&eacute;es envoy&eacute;es";
96
	$l_original_url_label		= "URL demand&eacute;e";
146
	$l_original_url_label		= "URL demand&eacute;e";
97
	$l_not_available			= "Non disponible";
147
	$l_not_available			= "Non disponible";
98
	$l_na						= "N/D";	//à traduire
148
	$l_na						= "N/D";	//à traduire
99
	$l_error					= "erreur";
149
	$l_error					= "erreur";
100
	$l_welcome					= "Bienvenue";
150
	$l_welcome					= "Bienvenue";
-
 
151
	$l_conn_history				= "$nb_connection_history derni&egrave;res connexions";
101
}
152
}
102
else {
153
else {
103
	$l_login1			= "Successful authentication.";
154
	$l_login1			= "Successful authentication.";
104
	$l_login2			= "Closing this window interrupts your session.";
155
	$l_login2			= "Closing this window interrupts your session.";
105
	$l_logout			= "Closing connection";
156
	$l_logout			= "Closing connection";
106
	$l_logout_question	= "Are you sure you want to disconnect now?";
157
	$l_logout_question	= "Are you sure you want to disconnect now?";
107
	$l_loggedout		= "Your session is closed";
158
	$l_loggedout		= "Your session is closed";
108
	$l_wait				= "Please wait a moment ...";
159
	$l_wait				= "Please wait a moment ...";
109
	$l_state_label				= "State";
160
	$l_state_label				= "State";
110
	$l_session_id_label			= "Session ID";
161
	$l_session_id_label			= "Session ID";
111
	$l_max_session_time_label	= "Max Session Time";
162
	$l_max_session_time_label	= "Max Session Time";
112
	$l_max_idle_time_label		= "Max Idle Time";
163
	$l_max_idle_time_label		= "Max Idle Time";
113
	$l_start_time_label			= "Start Time";
164
	$l_start_time_label			= "Start Time";
114
	$l_session_time_label		= "Session Time";
165
	$l_session_time_label		= "Session Time";
115
	$l_idle_time_label			= "Idle Time";
166
	$l_idle_time_label			= "Idle Time";
116
	$l_downloaded_label			= "Downloaded";
167
	$l_downloaded_label			= "Downloaded";
117
	$l_uploaded_label			= "Uploaded";
168
	$l_uploaded_label			= "Uploaded";
118
	$l_original_url_label		= "Original URL";
169
	$l_original_url_label		= "Original URL";
119
	$l_not_available			= "Not available";
170
	$l_not_available			= "Not available";
120
	$l_na						= "N/A";
171
	$l_na						= "N/A";
121
	$l_error					= "error";
172
	$l_error					= "error";
122
	$l_welcome					= "Welcome";
173
	$l_welcome					= "Welcome";
-
 
174
	$l_conn_history				= "$nb_connection_history last connections";
123
}
175
}
124
?>
176
?>
125
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
177
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
126
<html lang="fr">
178
<html lang="fr">
127
<!-- written by steweb57 -->
179
<!-- written by steweb57 -->
128
<head>
180
<head>
129
<title>Alcasar - <?php echo $organisme; ?></title>
181
<title>Alcasar - <?php echo $organisme; ?></title>
130
<meta http-equiv="Cache-control" content="no-cache">
182
<meta http-equiv="Cache-control" content="no-cache">
131
<meta http-equiv="Pragma" content="no-cache">
183
<meta http-equiv="Pragma" content="no-cache">
132
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
184
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
133
<script type="text/javascript" src="./js/ChilliLibrary.js"></script>
185
<script type="text/javascript" src="./js/ChilliLibrary.js"></script>
134
<script type="text/javascript" src="./js/statusControler.js"></script>
186
<script type="text/javascript" src="./js/statusControler.js"></script>
135
<link type="text/css" href="./css/status.css" rel="stylesheet">
187
<link type="text/css" href="./css/status.css" rel="stylesheet">
136
</head>
188
</head>
137
<body>
189
<body>
138
<div id="Chilli">
190
<div id="Chilli">
139
<div id="locationName"></div>
191
<div id="locationName"></div>
140
<div id="chilliPage">
192
<div id="chilliPage">
141
<div id="loggedOutPage" class="c1">
193
<div id="loggedOutPage" class="c1">
142
<table id="disconnectTable">
194
<table id="disconnectTable">
143
<tr>
195
<tr>
144
<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
196
<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
145
<td>
197
<td>
146
<p class="text_auth"><?php echo $l_loggedout; ?></p>
198
<p class="text_auth"><?php echo $l_loggedout; ?></p>
147
</td>
199
</td>
148
</tr>
200
</tr>
149
</table>
201
</table>
150
</div>
202
</div>
151
<div id="statusPage" class="c1">
203
<div id="statusPage" class="c1">
152
<table border="0" id="statusTable">
204
<table border="0" id="statusTable">
153
<tr>
205
<tr>
154
<td rowspan="2" valign="top"><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
206
<td rowspan="2" valign="top"><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
155
<td>
207
<td>
156
<p class="text_auth"><?php echo $l_welcome; ?> <span id="userName"></span>.</p>
208
<p class="text_auth"><?php echo $l_welcome; ?> <span id="userName"></span>.</p>
157
<p class="text_auth"><?php echo $l_login1; ?></p>
209
<p class="text_auth"><?php echo $l_login1; ?></p>
158
<hr>
210
<hr>
159
<?php echo $l_login2; ?></td>
211
<?php echo $l_login2; ?></td>
160
</tr>
212
</tr>
161
<tr>
213
<tr>
162
<td align="center"><br>
214
<td align="center"><br>
163
<a href="#" onclick="return logoutWithConfirmation('<?php echo $l_logout_question;?>');" class="lien_deco"><?php echo $l_logout; ?></a><br>
215
<a href="#" onclick="return logoutWithConfirmation('<?php echo $l_logout_question;?>');" class="lien_deco"><?php echo $l_logout; ?></a><br>
164
<br></td>
216
<br></td>
165
</tr>
217
</tr>
166
<!--tr id="connectRow">
218
<!--tr id="connectRow">
167
<td id="statusMessageLabel" class="chilliLabel"><strong><?php echo $l_state_label; ?></strong></td>
219
<td id="statusMessageLabel" class="chilliLabel"><strong><?php echo $l_state_label; ?></strong></td>
168
<td id="statusMessage" class="chilliValue">Connected</td>
220
<td id="statusMessage" class="chilliValue">Connected</td>
169
</tr-->
221
</tr-->
170
<!--tr id="sessionIdRow">
222
<!--tr id="sessionIdRow">
171
<td id="sessionIdLabel" class="chilliLabel"><strong><?php echo $l_session_id_label; ?></strong></td>
223
<td id="sessionIdLabel" class="chilliLabel"><strong><?php echo $l_session_id_label; ?></strong></td>
172
<td id="sessionId" class="chilliValue"><?php echo $l_not_available; ?></td>
224
<td id="sessionId" class="chilliValue"><?php echo $l_not_available; ?></td>
173
</tr-->
225
</tr-->
174
<tr id="sessionTimeoutRow">
226
<tr id="sessionTimeoutRow">
175
<td id="sessionTimeoutLabel" class="chilliLabel"><strong><?php echo $l_max_session_time_label; ?></strong></td>
227
<td id="sessionTimeoutLabel" class="chilliLabel"><strong><?php echo $l_max_session_time_label; ?></strong></td>
176
<td id="sessionTimeout" class="chilliValue"><?php echo $l_not_available; ?></td>
228
<td id="sessionTimeout" class="chilliValue"><?php echo $l_not_available; ?></td>
177
</tr>
229
</tr>
178
<tr id="idleTimeoutRow">
230
<tr id="idleTimeoutRow">
179
<td id="idleTimeoutLabel" class="chilliLabel"><strong><?php echo $l_max_idle_time_label; ?></strong></td>
231
<td id="idleTimeoutLabel" class="chilliLabel"><strong><?php echo $l_max_idle_time_label; ?></strong></td>
180
<td id="idleTimeout" class="chilliValue"><?php echo $l_not_available; ?></td>
232
<td id="idleTimeout" class="chilliValue"><?php echo $l_not_available; ?></td>
181
</tr>
233
</tr>
182
<tr id="startTimeRow">
234
<tr id="startTimeRow">
183
<td id="startTimeLabel" class="chilliLabel"><strong><?php echo $l_start_time_label; ?></strong></td>
235
<td id="startTimeLabel" class="chilliLabel"><strong><?php echo $l_start_time_label; ?></strong></td>
184
<td id="startTime" class="chilliValue"><?php echo $l_not_available; ?></td>
236
<td id="startTime" class="chilliValue"><?php echo $l_not_available; ?></td>
185
</tr>
237
</tr>
186
<tr id="sessionTimeRow">
238
<tr id="sessionTimeRow">
187
<td id="sessionTimeLabel" class="chilliLabel"><strong><?php echo $l_session_time_label; ?></strong></td>
239
<td id="sessionTimeLabel" class="chilliLabel"><strong><?php echo $l_session_time_label; ?></strong></td>
188
<td id="sessionTime" class="chilliValue"><?php echo $l_not_available; ?></td>
240
<td id="sessionTime" class="chilliValue"><?php echo $l_not_available; ?></td>
189
</tr>
241
</tr>
190
<tr id="idleTimeRow">
242
<tr id="idleTimeRow">
191
<td id="idleTimeLabel" class="chilliLabel"><strong><?php echo $l_idle_time_label; ?></strong></td>
243
<td id="idleTimeLabel" class="chilliLabel"><strong><?php echo $l_idle_time_label; ?></strong></td>
192
<td id="idleTime" class="chilliValue"><?php echo $l_not_available; ?></td>
244
<td id="idleTime" class="chilliValue"><?php echo $l_not_available; ?></td>
193
</tr>
245
</tr>
194
<tr id="inputOctetsRow">
246
<tr id="inputOctetsRow">
195
<td id="inputOctetsLabel" class="chilliLabel"><strong><?php echo $l_downloaded_label; ?></strong></td>
247
<td id="inputOctetsLabel" class="chilliLabel"><strong><?php echo $l_downloaded_label; ?></strong></td>
196
<td id="inputOctets" class="chilliValue"><?php echo $l_na; ?></td>
248
<td id="inputOctets" class="chilliValue"><?php echo $l_na; ?></td>
197
</tr>
249
</tr>
198
<tr id="outputOctetsRow">
250
<tr id="outputOctetsRow">
199
<td id="outputOctetsLabel" class="chilliLabel"><strong><?php echo $l_uploaded_label; ?></strong></td>
251
<td id="outputOctetsLabel" class="chilliLabel"><strong><?php echo $l_uploaded_label; ?></strong></td>
200
<td id="outputOctets" class="chilliValue"><?php echo $l_na; ?></td>
252
<td id="outputOctets" class="chilliValue"><?php echo $l_na; ?></td>
201
</tr>
253
</tr>
202
<tr id="originalURLRow">
254
<!--tr id="originalURLRow">
203
<td id="originalURLLabel" class="chilliLabel"><strong><?php echo $l_original_url_label; ?></strong></td>
255
<td id="originalURLLabel" class="chilliLabel"><strong><?php echo $l_original_url_label; ?></strong></td>
204
<td id="originalURL" class="chilliValue"><?php echo $l_na; ?></td>
256
<td id="originalURL" class="chilliValue"><?php echo $l_na; ?></td>
-
 
257
</tr-->
-
 
258
<tr id="conHistoryRow">
-
 
259
<td id="conHistoryLabel" class="chilliLabel"><strong><?php echo $l_conn_history; ?></strong></td>
-
 
260
<td id="conHistory" class="chilliValue"><?php echo $connection_history; ?></td>
205
</tr>
261
</tr>
206
</table>
262
</table>
207
</div>
263
</div>
208
<div id="waitPage">
264
<div id="waitPage">
209
<table id="waitTable">
265
<table id="waitTable">
210
<tr>
266
<tr>
211
<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
267
<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
212
<td>
268
<td>
213
<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>
269
<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>
214
</td>
270
</td>
215
</tr>
271
</tr>
216
</table>
272
</table>
217
</div>
273
</div>
218
<div id="errorPage">
274
<div id="errorPage">
219
<table id="errorTable">
275
<table id="errorTable">
220
<tr>
276
<tr>
221
<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
277
<td><img height="150" src="./images/logo-alcasar.png" alt="logo"></td>
222
<td><span id="errorMessage"><?php echo $l_error; ?></span></td>
278
<td><span id="errorMessage"><?php echo $l_error; ?></span></td>
223
</tr>
279
</tr>
224
</table>
280
</table>
225
</div>
281
</div>
226
</div>
282
</div>
227
<!--div id="debugPage" style="display:inline;">
283
<!--div id="debugPage" style="display:inline;">
228
<textarea id="debugarea" rows="20" cols="60">
284
<textarea id="debugarea" rows="20" cols="60">
229
</textarea>
285
</textarea>
230
</div--></div>
286
</div--></div>
231
</body>
287
</body>
232
</html>
288
</html>
233
 
289