/web/acc/admin/net_filter.php |
---|
155,6 → 155,7 |
{ |
$field=explode("=", $line); |
if ($field[0] == "PROTOCOLS_FILTERING") {$PROTOCOLS_FILTERING=trim($field[1]);} |
if ($field[0] == "EXT_LAN_FILTERING") {$EXT_LAN_FILTERING=trim($field[1]);} |
if ($field[0] == "WEB_ANTIVIRUS") {$WEB_ANTIVIRUS=trim($field[1]);} |
} |
} |
190,6 → 191,31 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr> |
</table> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0> |
<tr><td valign="middle" align="left"> |
<?php |
if ($EXT_LAN_FILTERING == "on") |
{ |
echo "<CENTER><H3>$l_antivir_on</H3></CENTER>"; |
echo "<FORM action='$_SERVER[PHP_SELF]' method=POST>"; |
echo "<input type=hidden name='choix' value=\"AV_Off\">"; |
echo "<input type=submit value=\"$l_switch_antivir_off\">"; |
} |
else |
{ |
echo "<CENTER><H3>$l_antivir_off</H3></CENTER>"; |
echo "<FORM action='$_SERVER[PHP_SELF]' method=POST>"; |
echo "<input type=hidden name='choix' value=\"AV_On\">"; |
echo "<input type=submit value=\"$l_switch_antivir_on\">"; |
} |
?> |
</FORM> |
</td></tr> |
</table> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=0> |
<tr><th><?echo "$l_title_proto";?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr> |
</table> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0> |
<tr><td valign="middle" align="left"> |
<? |
if ($PROTOCOLS_FILTERING == "on") |
/web/acc/admin/firewallEyes/configuration.php |
---|
43,13 → 43,13 |
$index=0; |
while ($Fichier = readdir($dossier)) { |
$exclusion = stripos ($Fichier, '.gz'); |
if ($Fichier != "." && $Fichier != ".." && $exclusion == 0) { |
if ($Fichier != "." && $Fichier != ".." && $fichier != " " && $exclusion == 0) { |
$index ++; |
$logfiles[]=$folder . "/" . $Fichier; |
} # end if |
} # end while |
closedir($dossier); |
rsort($logfiles,SORT_STRING); |
// automatic submit |
// automatic reload log display just after changing a display option (search strings, resolving, ...) |
// $automaticSubmit=true|false; |
/web/acc/manager/lib/sql/drivers/mysql/functions.php |
---|
78,7 → 78,7 |
function da_sql_escape_string($string) |
{ |
return @mysql_escape_string($string); |
return @mysql_real_escape_string($string); |
} |
function da_sql_query($link,$config,$query) |
/web/pass/sql/drivers/mysql/functions.php |
---|
78,7 → 78,7 |
function da_sql_escape_string($string) |
{ |
return @mysql_escape_string($string); |
return @mysql_real_escape_string($string); |
} |
function da_sql_query($link,$config,$query) |
/web/status.php |
---|
3,7 → 3,7 |
# status.php for Alcasar captive portal |
# by steweb57 |
# |
$organisme = "etrs-ssic"; |
$organisme = "etrs-test"; |
$remote_ip = ($_SERVER['REMOTE_ADDR']); |
$connection_history = ""; |
$nb_connection_history = 3; |
34,7 → 34,6 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'es'){ |
$l_login1 = "El éxito de la autenticación"; |
$l_login2 = "Cierre esta ventana interrumpte la sesion."; |
$l_logout = "Conexión de cierre"; |
$l_logout_question = "Are you sure you want to disconnect now?"; //à traduire |
$l_loggedout = "Su sesión se cierra"; |
60,7 → 59,6 |
} |
else if($Language == 'de'){ |
$l_login1 = "Erfolgreiche Authentifizierung"; |
$l_login2 = "Schlißen dieses fensters unterbricht die sitzung"; |
$l_logout = "Beenden der Verbindung"; |
$l_logout_question = "Are you sure you want to disconnect now?"; //à traduire |
$l_loggedout = "Ihre Sitzung ist geschlossen"; |
86,7 → 84,6 |
} |
else if($Language == 'nl'){ |
$l_login1 = "Succesvolle authenticatie"; |
$l_login2 = "Dit venster te sluiten onderbreekt uw sessie."; |
$l_logout = "Slotkoers verbinding"; |
$l_logout_question = "Are you sure you want to disconnect now?"; //à traduire |
$l_loggedout = "Uw sessie is gesloten"; |
112,7 → 109,6 |
} |
else if($Language == 'fr'){ |
$l_login1 = "Authentification réussie"; |
$l_login2 = "La fermeture de cette fenêtre interrompt votre session."; |
$l_logout = "Fermeture de la session"; |
$l_logout_question = "Etes vous sûr de vouloir vous déconnecter?"; |
$l_loggedout = "Votre session est fermée"; |
138,7 → 134,6 |
} |
else { |
$l_login1 = "Successful authentication."; |
$l_login2 = "Closing this window interrupts your session."; |
$l_logout = "Closing connection"; |
$l_logout_question = "Are you sure you want to disconnect now?"; |
$l_loggedout = "Your session is closed"; |
260,11 → 255,6 |
</td> |
</tr> |
<tr> |
<td class="text_warn"> |
<?php echo $l_login2; ?> |
</td> |
</tr> |
<tr> |
<td colspan="2" align="center" class="link_logout"> |
<a href="#" onclick="return logoutWithConfirmation('<?php echo $l_logout_question;?>');" class="lien_deco"><?php echo $l_logout; ?></a> |
</td> |