Subversion Repositories ALCASAR

Rev

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

Rev 318 Rev 372
Line 1... Line -...
1
<TABLE width="100%" border=0 cellspacing=0 cellpadding=0>
-
 
2
<tr><th><?echo "$l_protocols";?></th></tr>
-
 
3
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
-
 
4
</table>
-
 
5
<table width="100%" border=1 cellspacing=0 cellpadding=1>
1
<table width="100%" border=1 cellspacing=0 cellpadding=1>
6
<tr><td valign="middle" align="center">
2
<tr><td valign="middle" align="center">
7
<form action='net_filter.php' method='POST'>
3
<form action='net_filter.php' method='POST'>
8
<table cellspacing=2 cellpadding=3 border=1>
4
<table cellspacing=2 cellpadding=3 border=1>
9
<?
5
<?
Line 50... Line 46...
50
<input type='hidden' name='choix' value='new_proto'>
46
<input type='hidden' name='choix' value='new_proto'>
51
<td><input type='submit' value='<?echo"$l_add_to_list";?>'></td>
47
<td><input type='submit' value='<?echo"$l_add_to_list";?>'></td>
52
</tr></table>
48
</tr></table>
53
</form>
49
</form>
54
</td></tr>
50
</td></tr>
-
 
51
<tr><td colspan=2 valign="middle" align="center">
-
 
52
<B>Exceptions</B><br>
-
 
53
<form action='net_filter.php' method='POST'>
-
 
54
<?php
-
 
55
echo " $l_exception_txt";
-
 
56
echo "<BR><textarea name='exception_list' rows=5 cols=40>";
-
 
57
$filename="/usr/local/etc/alcasar-filter-exceptions";
-
 
58
if (file_exists($filename))
-
 
59
	{
-
 
60
	if (filesize($filename) != 0)
-
 
61
		{
-
 
62
		$pointeur=fopen($filename,"r");
-
 
63
		$tampon = fread($pointeur, filesize($filename));
-
 
64
		fclose($pointeur);
-
 
65
		echo trim ($tampon);
-
 
66
		}
-
 
67
	}
-
 
68
	else
-
 
69
	{
-
 
70
	echo "erreur d'ouverture du fichier $filename";
-
 
71
	}
-
 
72
echo "</textarea><BR>";
-
 
73
?>
-
 
74
<input type='hidden' name='choix' value='IP_exceptions'>
-
 
75
<input type='submit' value='<?php echo "$l_save_modif"; ?>'>
-
 
76
</FORM>
-
 
77
</td></tr>
55
</table>
78
</TABLE>
-
 
79
</BODY>
-
 
80
</HTML>
56
 
81