Line 21... |
Line 21... |
21 |
<tr><th><?php echo $l_main_bl; ?></th></tr>
|
21 |
<tr><th><?php echo $l_main_bl; ?></th></tr>
|
22 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
22 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
23 |
</table>
|
23 |
</table>
|
24 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
|
24 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
|
25 |
<tr><td valign="middle" align="left" colspan=10>
|
25 |
<tr><td valign="middle" align="left" colspan=10>
|
26 |
<FORM action='dns_filter.php' method=POST>
|
26 |
<FORM action='bl_filter.php' method=POST>
|
27 |
<?php
|
27 |
<?php
|
28 |
echo "<center>$l_bl_version";
|
28 |
echo "<center>$l_bl_version";
|
29 |
echo date ("F d Y", filemtime ('/etc/dansguardian/lists/blacklists/README'));
|
29 |
echo date ("F d Y", filemtime ('/etc/dansguardian/lists/blacklists/README'));
|
30 |
echo "</center><BR>";
|
30 |
echo "</center><BR>";
|
31 |
if ((file_exists("$dir_tmp/blacklists.tar.gz")) && (file_exists("$dir_tmp/md5sum")))
|
31 |
if ((file_exists("$dir_tmp/blacklists.tar.gz")) && (file_exists("$dir_tmp/md5sum")))
|
32 |
{
|
32 |
{
|
33 |
echo "$l_fingerprint"; echo_file ("$dir_tmp/md5sum");
|
33 |
echo "$l_fingerprint"; echo_file ("$dir_tmp/md5sum");
|
34 |
echo "<br>$l_fingerprint2<a href='http://dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST' target='cat_help' onclick=window.open('http://dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST','cat_help','width=600,height=150,toolbar=no,scrollbars=yes,resizable=yes') title='verify fingerprint'>dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST</a><br>";
|
34 |
echo "<br>$l_fingerprint2<a href='http://dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST' target='cat_help' onclick=window.open('http://dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST','cat_help','width=600,height=150,toolbar=no,scrollbars=yes,resizable=yes') title='verify fingerprint'>dsi.ut-capitole.fr/blacklists/download/MD5SUM.LST</a><br>";
|
35 |
echo "<input type='hidden' name='choix' value='Active_bl'>";
|
35 |
echo "<input type='hidden' name='choix' value='Active_bl'>";
|
36 |
echo "<input type='submit' value='$l_activate_bl'> ($l_warning)</FORM>";
|
36 |
echo "<input type='submit' value='$l_activate_bl'> ($l_warning)</FORM>";
|
37 |
echo "<FORM action='dns_filter.php' method=POST>";
|
37 |
echo "<FORM action='bl_filter.php' method=POST>";
|
38 |
echo "<input type='hidden' name='choix' value='Reject_bl'>";
|
38 |
echo "<input type='hidden' name='choix' value='Reject_bl'>";
|
39 |
echo "<input type='submit' value='$l_reject_bl'></form>";
|
39 |
echo "<input type='submit' value='$l_reject_bl'></form>";
|
40 |
}
|
40 |
}
|
41 |
else
|
41 |
else
|
42 |
{
|
42 |
{
|
Line 46... |
Line 46... |
46 |
}
|
46 |
}
|
47 |
?>
|
47 |
?>
|
48 |
</FORM>
|
48 |
</FORM>
|
49 |
</td></tr>
|
49 |
</td></tr>
|
50 |
<tr><td valign="middle" align="left" colspan=10>
|
50 |
<tr><td valign="middle" align="left" colspan=10>
|
51 |
<FORM action='dns_filter.php' method=POST>
|
51 |
<FORM action='bl_filter.php' method=POST>
|
52 |
<input type='hidden' name='choix' value='MAJ_cat'>
|
52 |
<input type='hidden' name='choix' value='MAJ_cat'>
|
53 |
<?php
|
53 |
<?php
|
54 |
echo "<center>$l_bl_categories</center></td></tr>";
|
54 |
echo "<center>$l_bl_categories</center></td></tr>";
|
55 |
//on lit et on interprete le fichier de catégories
|
55 |
//on lit et on interprete le fichier de catégories
|
56 |
$cols=1;
|
56 |
$cols=1;
|
Line 114... |
Line 114... |
114 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
114 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
115 |
<tr><th><?php echo $l_specific_filtering; ?></th></tr>
|
115 |
<tr><th><?php echo $l_specific_filtering; ?></th></tr>
|
116 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
116 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
117 |
</table>
|
117 |
</table>
|
118 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
|
118 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
|
119 |
<FORM action='dns_filter.php' method='POST'>
|
119 |
<FORM action='bl_filter.php' method='POST'>
|
120 |
<input type='hidden' name='choix' value='Specific_filtering'>
|
120 |
<input type='hidden' name='choix' value='Specific_filtering'>
|
121 |
<tr><td>
|
121 |
<tr><td>
|
122 |
<input type='checkbox' name='chk-ip'
|
122 |
<input type='checkbox' name='chk-ip'
|
123 |
<?php
|
123 |
<?php
|
124 |
// verify "pureip" filtering state
|
124 |
// verify "pureip" filtering state
|