Line 166... |
Line 166... |
166 |
<input type='hidden' name='choix' value='MAJ_cat_wl'>
|
166 |
<input type='hidden' name='choix' value='MAJ_cat_wl'>
|
167 |
<?php
|
167 |
<?php
|
168 |
echo "<center>";
|
168 |
echo "<center>";
|
169 |
$nbDomainNames = exec ("wc -l /usr/local/share/dnsmasq-wl/* | tail -n 1 | awk '{print $1}'");
|
169 |
$nbDomainNames = exec ("wc -l /usr/local/share/dnsmasq-wl/* | tail -n 1 | awk '{print $1}'");
|
170 |
$nbUrl = 0;
|
170 |
$nbUrl = 0;
|
171 |
$nbIp = exec ("wc -l /usr/local/share/iptables-wl/* | tail -n 1 | awk '{print $1}'");
|
171 |
$nbIp = 0;
|
172 |
echo "<b>$l_nbDomainNames</b> $nbDomainNames, <b>$l_nbUrl</b> $nbUrl, <b>$l_nbIp</b> $nbIp<br/>";
|
172 |
echo "<b>$l_nbDomainNames</b> $nbDomainNames, <b>$l_nbUrl</b> $nbUrl, <b>$l_nbIp</b> $nbIp<br/>";
|
173 |
echo "$l_wl_categories</center></td></tr>";
|
173 |
echo "$l_wl_categories</center></td></tr>";
|
174 |
//on lit et on interprete le fichier de catégories
|
174 |
//on lit et on interprete le fichier de catégories
|
175 |
$cols=1;
|
175 |
$cols=1;
|
176 |
if (file_exists($wl_categories))
|
176 |
if (file_exists($wl_categories))
|
Line 209... |
Line 209... |
209 |
echo "</textarea></td>";
|
209 |
echo "</textarea></td>";
|
210 |
echo "<td width=50% colspan=5 align=center>";
|
210 |
echo "<td width=50% colspan=5 align=center>";
|
211 |
echo "<H3>$l_allowed_ip</H3>$l_forbidden_ip_explain<BR>";
|
211 |
echo "<H3>$l_allowed_ip</H3>$l_forbidden_ip_explain<BR>";
|
212 |
echo "<textarea name='OSSI_wl_ip' rows=3 cols=40>";
|
212 |
echo "<textarea name='OSSI_wl_ip' rows=3 cols=40>";
|
213 |
echo_ip_file ($file_wl_ip);
|
213 |
echo_ip_file ($file_wl_ip);
|
214 |
echo "</textarea></td></tr><tr><td colspan=5>";
|
214 |
echo "</textarea></td></tr><tr><td colspan=10>";
|
215 |
echo "<input type='submit' value='$l_record'></form></td><form action='bl_filter.php' method='POST'><td valign='middle' align='left' colspan=5><input type='hidden' name='choix' value='Update_IP_WL'><input type='submit' value='$l_update_ip'> $l_update_ip_info</form></td></tr>";
|
215 |
echo "<input type='submit' value='$l_record'></form></td></tr>";
|
216 |
?>
|
216 |
?>
|
217 |
</TABLE><br/>
|
217 |
</TABLE><br/>
|
218 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
218 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
219 |
<tr><th><?php echo $l_specific_filtering; ?></th></tr>
|
219 |
<tr><th><?php echo $l_specific_filtering; ?></th></tr>
|
220 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
220 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|