Subversion Repositories ALCASAR

Rev

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

Rev 876 Rev 878
Line 22... Line 22...
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='dns_filter.php' method=POST>
27
<input type='hidden' name='choix' value='MAJ_bl'>
-
 
28
<?php
27
<?php
29
echo "<center>$l_bl_version";
28
echo "<center>$l_bl_version";
30
echo date ("F d Y", filemtime ('/etc/dansguardian/lists/blacklists/README'));
29
echo date ("F d Y", filemtime ('/etc/dansguardian/lists/blacklists/README'));
31
echo "</center><BR>";
30
echo "</center><BR>";
-
 
31
$dir_tmp="/tmp/blacklists";
-
 
32
if (file_exists("$dir_tmp/blacklists.tar.gz"))
-
 
33
	{
-
 
34
	echo "$l_fingerprint"; echo_file ("$dir_tmp/md5sum");
32
echo "<input type='submit' value='$l_download'>";
35
	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>";
-
 
36
	echo "<input type='hidden' name='choix' value='Active_bl'>";
-
 
37
	echo "<input type='submit' value='$l_activate_bl'>";
-
 
38
	echo " ($l_warning)";
-
 
39
	}
-
 
40
else
-
 
41
	{
-
 
42
	echo "<input type='hidden' name='choix' value='Download_bl'>";
-
 
43
	echo "<input type='submit' value='$l_download_bl'>";
33
echo " ($l_warning)";
44
	echo " ($l_warning)";
-
 
45
	}
34
?>
46
?>
35
</FORM>
47
</FORM>
36
</td></tr>
48
</td></tr>
37
<tr><td valign="middle" align="left" colspan=10>
49
<tr><td valign="middle" align="left" colspan=10>
38
<FORM action='dns_filter.php' method=POST>
50
<FORM action='dns_filter.php' method=POST>
Line 62... Line 74...
62
				echo "</tr>";
74
				echo "</tr>";
63
				$cols=1; }
75
				$cols=1; }
64
			}
76
			}
65
		}
77
		}
66
	fclose($pointeur);
78
	fclose($pointeur);
67
	echo "<tr><td colspan=10><input type='submit' value='$l_record'>";
-
 
68
	}
79
	}
69
else	{
80
else	{
70
	echo "$l_error_open_file $bl_categories";
81
	echo "$l_error_open_file $bl_categories";
71
	}
82
	}
72
echo "</form> ($l_wait)";
-
 
73
?>
-
 
74
</td></tr>
83
echo "</td></tr>";
75
<tr><td valign="middle" align="left" colspan=10>
84
echo "<tr><td valign='middle' align='left' colspan=10>";
76
<FORM action='dns_filter.php' method=POST>
-
 
77
<input type='hidden' name='choix' value='MAJ_rehabilited'>
-
 
78
<?php
-
 
79
echo "<center><b>$l_maj_rehabilitated</b></center></td></tr>";
85
echo "<center><b>$l_maj_rehabilitated</b></center></td></tr>";
80
echo "<tr><td colspan=5 align=center>";
86
echo "<tr><td colspan=5 align=center>";
81
echo "<H3>$l_rehabilitated_dns</H3>$l_rehabilitated_dns_explain<BR>$l_one_dns<BR>";
87
echo "<H3>$l_rehabilitated_dns</H3>$l_rehabilitated_dns_explain<BR>$l_one_dns<BR>";
82
echo "<textarea name='OSSI_wl_domains' rows=5 cols=40>";
88
echo "<textarea name='OSSI_wl_domains' rows=5 cols=40>";
83
echo_file ("/etc/dansguardian/lists/exceptionsitelist");
89
echo_file ("/etc/dansguardian/lists/exceptionsitelist");
Line 85... Line 91...
85
echo "<td colspan=5 align=center>";
91
echo "<td colspan=5 align=center>";
86
echo "<H3>$l_rehabilitated_url</H3>$l_rehabilitated_url_explain<BR>$l_one_url<BR>";
92
echo "<H3>$l_rehabilitated_url</H3>$l_rehabilitated_url_explain<BR>$l_one_url<BR>";
87
echo "<textarea name='OSSI_wl_urls' rows=5 cols=40>";
93
echo "<textarea name='OSSI_wl_urls' rows=5 cols=40>";
88
echo_file ("/etc/dansguardian/lists/exceptionurllist");
94
echo_file ("/etc/dansguardian/lists/exceptionurllist");
89
echo "</textarea></td></tr><tr><td colspan=10>";
95
echo "</textarea></td></tr><tr><td colspan=10>";
-
 
96
echo "<tr><td valign='middle' align='left' colspan=10>";
-
 
97
echo "<center><b>$l_add_to_bl</b></center></td></tr>";
-
 
98
echo "<tr><td colspan=5 align=center>";
-
 
99
echo "<H3>$l_forbidden_dns</H3>$l_forbidden_dns_explain<BR>";
-
 
100
echo "<textarea name='OSSI_bl_domains' rows=5 cols=40>";
-
 
101
echo_file ("/etc/dansguardian/lists/blacklists/ossi/domains");
-
 
102
echo "</textarea></td>";
-
 
103
echo "<td colspan=5 align=center>";
-
 
104
echo "<H3>$l_forbidden_url</H3>$l_forbidden_url_explain<BR>";
-
 
105
echo "<textarea name='OSSI_bl_urls' rows=5 cols=40>";
-
 
106
echo_file ("/etc/dansguardian/lists/blacklists/ossi/urls");
-
 
107
echo "</textarea></td></tr><tr><td colspan=10>";
90
echo "<input type='submit' value='$l_record'>";
108
echo "<input type='submit' value='$l_record'>";
91
echo "</form> ($l_wait)";
109
echo "</form> ($l_wait)";
92
?>
110
?>
93
</td></tr>
111
</td></tr>
94
</TABLE>
112
</TABLE>
95
<table width="100%" border="0" cellspacing="0" cellpadding="0">
113
<table width="100%" border="0" cellspacing="0" cellpadding="0">
96
	<tr><th><?php echo $l_secondary_bl; ?></th></tr>
114
	<tr><th><?php echo $l_specific_filtering; ?></th></tr>
97
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
115
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
98
</table>
116
</table>
99
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
117
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
100
<FORM action='dns_filter.php' method='POST'>
118
<FORM action='dns_filter.php' method='POST'>
-
 
119
<input type='hidden' name='choix' value='Specific_filtering'>
101
<?php
120
<?php
102
echo "<tr><td width=50% align=center>";
-
 
103
echo "<H3>$l_forbidden_dns</H3>$l_forbidden_dns_explain<BR>";
-
 
104
echo "<textarea name='OSSI_bl_domains' rows=5 cols=40>";
-
 
105
echo_file ("/etc/dansguardian/lists/blacklists/ossi/domains");
-
 
106
echo "</textarea></td><td  width=50% align=center>";
-
 
107
echo "<H3>$l_forbidden_url</H3>$l_forbidden_url_explain<BR>";
-
 
108
echo "<textarea name='OSSI_bl_urls' rows=5 cols=40>";
-
 
109
echo_file ("/etc/dansguardian/lists/blacklists/ossi/urls");
-
 
110
echo "</textarea></td></tr>";
-
 
111
?>
121
?>
112
<tr><td colspan=2>
122
<tr><td>
113
<input type='hidden' name='choix' value='MAJ_OSSI'>
123
<input type='checkbox' name='chk-ip'> <?php echo "$l_ip_filtering"?>
-
 
124
<tr><td>
-
 
125
<input type='checkbox' name='chk-safe-search'> <?php echo "$l_safe_searching"?>
-
 
126
<br><?php echo "$l_safe_youtube"?><input type='text' name='Youtube-ID' size='30'> 
-
 
127
<tr><td>
114
<input type='submit' value='<?php echo "$l_record"?>'>
128
<input type='submit' value='<?php echo "$l_record"?>'>
115
</form> <? echo "($l_wait)";?>
129
</form> 
116
</td></tr>
130
</td></tr>
117
</TABLE>
131
</TABLE>