1,7 → 1,3 |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=0> |
<tr><th><?echo "$l_protocols";?></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=1> |
<tr><td valign="middle" align="center"> |
<form action='net_filter.php' method='POST'> |
52,4 → 48,33 |
</tr></table> |
</form> |
</td></tr> |
</table> |
<tr><td colspan=2 valign="middle" align="center"> |
<B>Exceptions</B><br> |
<form action='net_filter.php' method='POST'> |
<?php |
echo " $l_exception_txt"; |
echo "<BR><textarea name='exception_list' rows=5 cols=40>"; |
$filename="/usr/local/etc/alcasar-filter-exceptions"; |
if (file_exists($filename)) |
{ |
if (filesize($filename) != 0) |
{ |
$pointeur=fopen($filename,"r"); |
$tampon = fread($pointeur, filesize($filename)); |
fclose($pointeur); |
echo trim ($tampon); |
} |
} |
else |
{ |
echo "erreur d'ouverture du fichier $filename"; |
} |
echo "</textarea><BR>"; |
?> |
<input type='hidden' name='choix' value='IP_exceptions'> |
<input type='submit' value='<?php echo "$l_save_modif"; ?>'> |
</FORM> |
</td></tr> |
</TABLE> |
</BODY> |
</HTML> |