Subversion Repositories ALCASAR

Rev

Rev 2324 | Rev 2378 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2324 Rev 2370
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: intercept.php 2324 2017-07-10 10:18:59Z tom.houdayer $
2
# $Id: intercept.php 2370 2017-08-09 23:20:58Z tom.houdayer $
3
#
3
#
4
# intercept.php for ALCASAR captive portal
4
# intercept.php for ALCASAR captive portal
5
# Copyright (C) 2003, 2004 Mondru AB.
5
# Copyright (C) 2003, 2004 Mondru AB.
6
# Modify by REXY & steweb57
6
# Modify by REXY & steweb57
7
# UI & css style by stephane ERARD
7
# UI & css style by stephane ERARD
Line 48... Line 48...
48
}
48
}
49
while (!feof($file_conf)) {
49
while (!feof($file_conf)) {
50
	$buffer = fgets($file_conf, 4096);
50
	$buffer = fgets($file_conf, 4096);
51
	if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
51
	if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
52
		$tmp = explode('=', $buffer);
52
		$tmp = explode('=', $buffer);
53
		$conf[$tmp[0]] = trim($tmp[1]);
53
		$conf[trim($tmp[0])] = trim($tmp[1]);
54
	}
54
	}
55
}
55
}
56
fclose($file_conf);
56
fclose($file_conf);
57
 
57
 
58
$organisme = $conf["ORGANISM"];
58
$organisme = $conf["ORGANISM"];
Line 66... Line 66...
66
// Check if the SMS service is enable
66
// Check if the SMS service is enable
67
$service_SMS_status = false;
67
$service_SMS_status = false;
68
 
68
 
69
// Our own path
69
// Our own path
70
$loginpath   = htmlspecialchars($_SERVER['PHP_SELF']);
70
$loginpath   = htmlspecialchars($_SERVER['PHP_SELF']);
71
$alcasarpath = 'http://'.$conf['HOSTNAME'].'.'.$conf['DOMAIN'];
71
$alcasarpath = (($conf['HTTPS_LOGIN'] === 'on') ? 'https' : 'http' ).'://'.$conf['HOSTNAME'].'.'.$conf['DOMAIN'];
72
$statuspath  = $alcasarpath.'/status.php';
72
$statuspath  = $alcasarpath.'/status.php';
73
 
73
 
74
// Choice of language
74
// Choice of language
75
$Language = 'en';
75
$Language = 'en';
76
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
76
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
77
	$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
77
	$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
78
	$Language = strtolower(substr(chop($Langue[0]),0,2));
78
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
79
}
79
}
80
if ($Language === 'es') {		// Spanish
80
if ($Language === 'es') {		// Spanish
81
	$l_ChilliError			= "La autenticación debe ser un éxito a través del servicio de portal cautivo.";
81
	$l_ChilliError			= "La autenticación debe ser un éxito a través del servicio de portal cautivo.";
82
	$l_login			= "El éxito de la autenticación.<HR>Cierre esta ventana interrumpte la sesion.";
82
	$l_login			= "El éxito de la autenticación.<HR>Cierre esta ventana interrumpte la sesion.";
83
	$l_logout			= "Conexión de cierre";
83
	$l_logout			= "Conexión de cierre";
Line 96... Line 96...
96
	$l_loggedin_stringl1		= "Information System Security";
96
	$l_loggedin_stringl1		= "Information System Security";
97
	$l_loggedin_stringl2		= "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
97
	$l_loggedin_stringl2		= "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
98
	$l_loggedin_stringl3		= "Su actividad en la red es registrada, de conformidad con la privacidad.";
98
	$l_loggedin_stringl3		= "Su actividad en la red es registrada, de conformidad con la privacidad.";
99
	$l_loggedin_stringl4		= "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
99
	$l_loggedin_stringl4		= "Los datos registrados pueden ser capaces de ser operado por una autoridad judicial en el curso de una investigación.";
100
	$l_loggedin_stringl5		= "Estos datos se eliminan automáticamente después de un año.";
100
	$l_loggedin_stringl5		= "Estos datos se eliminan automáticamente después de un año.";
101
	$l_loggedin_stringl6		= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
101
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
102
	$l_loggedout_string		= "Cerrar sesión hizo portal cautivo!";
102
	$l_loggedout_string		= "Cerrar sesión hizo portal cautivo!";
103
	$l_reply_1			= "Your daily connexion time has been reached";
103
	$l_reply_1			= "Your daily connexion time has been reached";
104
	$l_reply_2			= "Your monthly connexion time has been reached";
104
	$l_reply_2			= "Your monthly connexion time has been reached";
105
	$l_reply_3			= "You try to connect outside of your allowed timespan";
105
	$l_reply_3			= "You try to connect outside of your allowed timespan";
106
	$l_reply_4			= "your account expired";
106
	$l_reply_4			= "your account expired";
Line 129... Line 129...
129
	$l_loggedin_stringl1		= "Sistema de Informação e segurança";
129
	$l_loggedin_stringl1		= "Sistema de Informação e segurança";
130
	$l_loggedin_stringl2		= "Este controle foi criado para garantir acesso seguro.";
130
	$l_loggedin_stringl2		= "Este controle foi criado para garantir acesso seguro.";
131
	$l_loggedin_stringl3		= "A autenticação será criptografada em 256 bits, impedindo captura por escâner de rede.";
131
	$l_loggedin_stringl3		= "A autenticação será criptografada em 256 bits, impedindo captura por escâner de rede.";
132
	$l_loggedin_stringl4		= "Sua atividade na Internet será resguardada de acordo com os regulamentos da lei.";
132
	$l_loggedin_stringl4		= "Sua atividade na Internet será resguardada de acordo com os regulamentos da lei.";
133
	$l_loggedin_stringl5		= "Mantenha o popup da conexão minimizado para não interromper a cessão.";
133
	$l_loggedin_stringl5		= "Mantenha o popup da conexão minimizado para não interromper a cessão.";
134
	$l_loggedin_stringl6		= "Clique <a href='$alcasarpath'>aqui</a> para alterar sua senha, instalar certificado ou sair do portal.";
134
	$l_loggedin_stringl6		= "Clique <a href=\"$alcasarpath\">aqui</a> para alterar sua senha, instalar certificado ou sair do portal.";
135
	$l_loggedout_string		= "desconexão do portal cativo";
135
	$l_loggedout_string		= "desconexão do portal cativo";
136
	$l_reply_1			= "Seu tempo de conexão diária foi finalizado";
136
	$l_reply_1			= "Seu tempo de conexão diária foi finalizado";
137
	$l_reply_2			= "Seu tempo de conexão mensal foi finalizado";
137
	$l_reply_2			= "Seu tempo de conexão mensal foi finalizado";
138
	$l_reply_3			= "Você tenta conectar-se fora do seu período de tempo permitido";
138
	$l_reply_3			= "Você tenta conectar-se fora do seu período de tempo permitido";
139
	$l_reply_4			= "Sua conta expirou";
139
	$l_reply_4			= "Sua conta expirou";
Line 162... Line 162...
162
	$l_loggedin_stringl1		= "信息系统安全";
162
	$l_loggedin_stringl1		= "信息系统安全";
163
	$l_loggedin_stringl2		= "这种控制实施以法定保证可追溯性,可归罪性和连接的不否认性.";
163
	$l_loggedin_stringl2		= "这种控制实施以法定保证可追溯性,可归罪性和连接的不否认性.";
164
	$l_loggedin_stringl3		= "您的网络活动是私密登记的.";
164
	$l_loggedin_stringl3		= "您的网络活动是私密登记的.";
165
	$l_loggedin_stringl4		= "记录的数据能被司法机关在调查中操作使用.";
165
	$l_loggedin_stringl4		= "记录的数据能被司法机关在调查中操作使用.";
166
	$l_loggedin_stringl5		= "这些数据将在一年后自动删除.";
166
	$l_loggedin_stringl5		= "这些数据将在一年后自动删除.";
167
	$l_loggedin_stringl6		= "点击 <a href='$alcasarpath'> 这里 </a> 修改密码或安装浏览器安全证书";
167
	$l_loggedin_stringl6		= "点击 <a href=\"$alcasarpath\"> 这里 </a> 修改密码或安装浏览器安全证书";
168
	$l_loggedout_string		= "强制网络门户连接已断开";
168
	$l_loggedout_string		= "强制网络门户连接已断开";
169
	$l_reply_1			= "您已经达到每日连接时间";
169
	$l_reply_1			= "您已经达到每日连接时间";
170
	$l_reply_2			= "您已经达到每月连接时间";
170
	$l_reply_2			= "您已经达到每月连接时间";
171
	$l_reply_3			= "您尝试在授权时间以外连接";
171
	$l_reply_3			= "您尝试在授权时间以外连接";
172
	$l_reply_4			= "您的账号已过期";
172
	$l_reply_4			= "您的账号已过期";
Line 195... Line 195...
195
	$l_loggedin_stringl1		= "سلامة نظم المعلومات";
195
	$l_loggedin_stringl1		= "سلامة نظم المعلومات";
196
	$l_loggedin_stringl2		= "وُضعت هذه المراقبة للضمان القانوني لتتبع ومساءلة وعدم تنصل الإتصالات";
196
	$l_loggedin_stringl2		= "وُضعت هذه المراقبة للضمان القانوني لتتبع ومساءلة وعدم تنصل الإتصالات";
197
	$l_loggedin_stringl3		= "نشاطك على الشبكة مسجل وفقاً لاحترام الحريات الشخصية";
197
	$l_loggedin_stringl3		= "نشاطك على الشبكة مسجل وفقاً لاحترام الحريات الشخصية";
198
	$l_loggedin_stringl4		= "لا يمكن استغلال البيانات المسجلة إلاّ من قِبل سلطات التحقيق القضائ";
198
	$l_loggedin_stringl4		= "لا يمكن استغلال البيانات المسجلة إلاّ من قِبل سلطات التحقيق القضائ";
199
	$l_loggedin_stringl5		= "سيتم حدف هذه البيانات تلقائياً بعد سنة من الْيَوْمَ";
199
	$l_loggedin_stringl5		= "سيتم حدف هذه البيانات تلقائياً بعد سنة من الْيَوْمَ";
200
	$l_loggedin_stringl6		= "لتغيير كلمة السر أو شهادة الأمان <a href='$alcasarpath'>هنا</a> اضغط ";
200
	$l_loggedin_stringl6		= "لتغيير كلمة السر أو شهادة الأمان <a href=\"$alcasarpath\">هنا</a> اضغط ";
201
	$l_loggedout_string		= "تَمّ قطع الإتصال بالبوابة الأسيرة";
201
	$l_loggedout_string		= "تَمّ قطع الإتصال بالبوابة الأسيرة";
202
	$l_reply_1			= "انتهى وقتك اليومي للإتصال";
202
	$l_reply_1			= "انتهى وقتك اليومي للإتصال";
203
	$l_reply_2			= "انتهى وقتك الشهري للإتصال";
203
	$l_reply_2			= "انتهى وقتك الشهري للإتصال";
204
	$l_reply_3			= "محاولة اتصال خارج فترتك المأذونة";
204
	$l_reply_3			= "محاولة اتصال خارج فترتك المأذونة";
205
	$l_reply_4			= "انتهت مدة صلاحية حسابك";
205
	$l_reply_4			= "انتهت مدة صلاحية حسابك";
Line 228... Line 228...
228
	$l_loggedin_stringl1		= "Information System Security";
228
	$l_loggedin_stringl1		= "Information System Security";
229
	$l_loggedin_stringl2		= "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
229
	$l_loggedin_stringl2		= "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
230
	$l_loggedin_stringl3		= "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
230
	$l_loggedin_stringl3		= "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
231
	$l_loggedin_stringl4		= "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
231
	$l_loggedin_stringl4		= "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
232
	$l_loggedin_stringl5		= "Diese Daten werden automatisch gelöscht nach einem Jahr.";
232
	$l_loggedin_stringl5		= "Diese Daten werden automatisch gelöscht nach einem Jahr.";
233
	$l_loggedin_stringl6		= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
233
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
234
	$l_loggedout_string		= "Trennung des Portals erfolgt Gefangener!";
234
	$l_loggedout_string		= "Trennung des Portals erfolgt Gefangener!";
235
	$l_reply_1			= "Your daily connexion time has been reached";
235
	$l_reply_1			= "Your daily connexion time has been reached";
236
	$l_reply_2			= "Your monthly connexion time has been reached";
236
	$l_reply_2			= "Your monthly connexion time has been reached";
237
	$l_reply_3			= "You try to connect outside of your allowed timespan";
237
	$l_reply_3			= "You try to connect outside of your allowed timespan";
238
	$l_reply_4			= "your account expired";
238
	$l_reply_4			= "your account expired";
Line 261... Line 261...
261
	$l_loggedin_stringl1		= "Information System Security";
261
	$l_loggedin_stringl1		= "Information System Security";
262
	$l_loggedin_stringl2		= "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
262
	$l_loggedin_stringl2		= "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
263
	$l_loggedin_stringl3		= "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
263
	$l_loggedin_stringl3		= "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
264
	$l_loggedin_stringl4		= "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
264
	$l_loggedin_stringl4		= "De geregistreerde gegevens kunnen worden kunnen worden bediend door een rechterlijke instantie in de loop van een onderzoek.";
265
	$l_loggedin_stringl5		= "Deze gegevens worden automatisch verwijderd na een jaar.";
265
	$l_loggedin_stringl5		= "Deze gegevens worden automatisch verwijderd na een jaar.";
266
	$l_loggedin_stringl6		= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
266
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
267
	$l_loggedout_string		= "Logout gemaakt intern portaal!";
267
	$l_loggedout_string		= "Logout gemaakt intern portaal!";
268
	$l_reply_1 			= "Your daily connexion time has been reached";
268
	$l_reply_1 			= "Your daily connexion time has been reached";
269
	$l_reply_2			= "Your monthly connexion time has been reached";
269
	$l_reply_2			= "Your monthly connexion time has been reached";
270
	$l_reply_3			= "You try to connect outside of your allowed timespan";
270
	$l_reply_3			= "You try to connect outside of your allowed timespan";
271
	$l_reply_4			= "your account expired";
271
	$l_reply_4			= "your account expired";
Line 294... Line 294...
294
	$l_loggedin_stringl1		= "Sécurité des Systèmes d'Information";
294
	$l_loggedin_stringl1		= "Sécurité des Systèmes d'Information";
295
	$l_loggedin_stringl2		= "Ce contrôle a été mis en place pour assurer réglementairement la traçabilité, l'imputabilité et la non-répudiation des connexions.";
295
	$l_loggedin_stringl2		= "Ce contrôle a été mis en place pour assurer réglementairement la traçabilité, l'imputabilité et la non-répudiation des connexions.";
296
	$l_loggedin_stringl3		= "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
296
	$l_loggedin_stringl3		= "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
297
	$l_loggedin_stringl4		= "Les données enregistrées ne pourront être exploitées que par une autorité judiciaire dans le cadre d'une enquête.";
297
	$l_loggedin_stringl4		= "Les données enregistrées ne pourront être exploitées que par une autorité judiciaire dans le cadre d'une enquête.";
298
	$l_loggedin_stringl5		= "Ces données seront automatiquement supprimées au bout d'un an.";
298
	$l_loggedin_stringl5		= "Ces données seront automatiquement supprimées au bout d'un an.";
299
	$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";
299
	$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";
300
	$l_loggedout_string		= "Déconnexion du portail captif effectuée !";
300
	$l_loggedout_string		= "Déconnexion du portail captif effectuée !";
301
	$l_reply_1			= "Votre durée de connexion journalière a été atteinte";
301
	$l_reply_1			= "Votre durée de connexion journalière a été atteinte";
302
	$l_reply_2			= "Votre durée de connexion mensuelle a été atteinte";
302
	$l_reply_2			= "Votre durée de connexion mensuelle a été atteinte";
303
	$l_reply_3			= "Vous tentez de vous connecter en dehors de votre période autorisée";
303
	$l_reply_3			= "Vous tentez de vous connecter en dehors de votre période autorisée";
304
	$l_reply_4			= "Votre compte a expiré";
304
	$l_reply_4			= "Votre compte a expiré";
Line 327... Line 327...
327
	$l_loggedin_stringl1		= "Information System Security";
327
	$l_loggedin_stringl1		= "Information System Security";
328
	$l_loggedin_stringl2		= "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
328
	$l_loggedin_stringl2		= "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
329
	$l_loggedin_stringl3		= "Your activity on the network is registered in accordance with privacy.";
329
	$l_loggedin_stringl3		= "Your activity on the network is registered in accordance with privacy.";
330
	$l_loggedin_stringl4		= "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
330
	$l_loggedin_stringl4		= "The recorded data can be able to be operated by a judicial authority in the course of an investigation.";
331
	$l_loggedin_stringl5		= "These data will be automatically deleted after one year.";
331
	$l_loggedin_stringl5		= "These data will be automatically deleted after one year.";
332
	$l_loggedin_stringl6		= "Click <a href='$alcasarpath'>here</a> to change your password or to integrate the security certificate in your browser";
332
	$l_loggedin_stringl6		= "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
333
	$l_loggedout_string		= "Disconnection of the captive portal made";
333
	$l_loggedout_string		= "Disconnection of the captive portal made";
334
	$l_reply_1			= "Your daily connexion time has been reached";
334
	$l_reply_1			= "Your daily connexion time has been reached";
335
	$l_reply_2			= "Your monthly connexion time has been reached";
335
	$l_reply_2			= "Your monthly connexion time has been reached";
336
	$l_reply_3			= "You try to connect outside of your allowed timespan";
336
	$l_reply_3			= "You try to connect outside of your allowed timespan";
337
	$l_reply_4			= "your account expired";
337
	$l_reply_4			= "your account expired";
Line 370... Line 370...
370
# Read form parameters which we care about
370
# Read form parameters which we care about
371
# avoid the "user as a MAC address" attempts
371
# avoid the "user as a MAC address" attempts
372
if ((isset($_POST['UserName'])) && (preg_match('/^([0-9A-F]{2}-){5}[0-9A-F]{2}$/', $_POST['UserName']) !== 1))
372
if ((isset($_POST['UserName'])) && (preg_match('/^([0-9A-F]{2}-){5}[0-9A-F]{2}$/', $_POST['UserName']) !== 1))
373
				$username	= htmlspecialchars($_POST['UserName']);		else $username = '';
373
				$username	= htmlspecialchars($_POST['UserName']);		else $username = '';
374
if (isset($_POST['Password']))	$password	= htmlspecialchars($_POST['Password']);		else $password = '';
374
if (isset($_POST['Password']))	$password	= htmlspecialchars($_POST['Password']);		else $password = '';
375
if (isset($_POST['challenge']))$challenge	= htmlspecialchars($_POST['challenge']);	else $challenge = '';
375
if (isset($_POST['challenge']))	$challenge	= htmlspecialchars($_POST['challenge']);	else $challenge = '';
376
if (isset($_POST['button']))	$button		= htmlspecialchars($_POST['button']);		else $button = '';
376
if (isset($_POST['button']))	$button		= htmlspecialchars($_POST['button']);		else $button = '';
377
// if (isset($_POST['logout']))	$logout		= htmlspecialchars($_POST['logout']);		else $logout = '';
377
// if (isset($_POST['logout']))	$logout		= htmlspecialchars($_POST['logout']);		else $logout = '';
378
// if (isset($_POST['prelogin']))	$prelogin	= htmlspecialchars($_POST['prelogin']);		else $prelogin = '';
378
// if (isset($_POST['prelogin']))	$prelogin	= htmlspecialchars($_POST['prelogin']);		else $prelogin = '';
379
if (isset($_POST['res']))	$res		= htmlspecialchars($_POST['res']);		else $res = '';
379
if (isset($_POST['res']))	$res		= htmlspecialchars($_POST['res']);		else $res = '';
380
if (isset($_POST['uamip']))	$uamip		= htmlspecialchars($_POST['uamip']);		else $uamip = '';
380
if (isset($_POST['uamip']))	$uamip		= htmlspecialchars($_POST['uamip']);		else $uamip = '';
Line 457... Line 457...
457
				$filter_id = $row['value']; // on obtient le Filter-Id de l'utilisateur
457
				$filter_id = $row['value']; // on obtient le Filter-Id de l'utilisateur
458
				if($filter_id[3] === '1') {
458
				if($filter_id[3] === '1') {
459
					//set the fourth bit of filter-id to '0'
459
					//set the fourth bit of filter-id to '0'
460
					$sql = "set @CurrentFilter=(SELECT value from radreply where username='$user_uid');set @CurrentFilterLeft=(SELECT LEFT(@CurrentFilter,3));set @CurrentFilterRight=(SELECT RIGHT(@CurrentFilter,4));UPDATE radreply SET value = CONCAT((@CurrentFilterLeft),'0', (@CurrentFilterRight)) WHERE username='$user_uid'";
460
					$sql = "set @CurrentFilter=(SELECT value from radreply where username='$user_uid');set @CurrentFilterLeft=(SELECT LEFT(@CurrentFilter,3));set @CurrentFilterRight=(SELECT RIGHT(@CurrentFilter,4));UPDATE radreply SET value = CONCAT((@CurrentFilterLeft),'0', (@CurrentFilterRight)) WHERE username='$user_uid'";
461
					$res = mysqli_multi_query($link,$sql);
461
					$res = mysqli_multi_query($link,$sql);
462
					header('Location: https://'.$conf['HOSTNAME'].'.'.$conf['DOMAIN'].'/index.php?warn=1&url='.urlencode($_GET['userurl']));   //we present to user information about imputability logs 
462
					header('Location: '.(($conf['HTTPS_LOGIN'] === 'on') ? 'https' : 'http').'://'.$conf['HOSTNAME'].'.'.$conf['DOMAIN'].'/index.php?warn=1&url='.urlencode($_GET['userurl']));   //we present to user information about imputability logs 
463
					exit();
463
					exit();
464
				}
464
				}
465
			}
465
			}
466
		}
466
		}
467
	}
467
	}