117,11 → 117,34 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1> |
<FORM action='dns_filter.php' method='POST'> |
<input type='hidden' name='choix' value='Specific_filtering'> |
<tr><td> |
<input type='checkbox' name='chk-ip' |
<?php |
//on vérifie l'état du filtrage "pureip" |
if (file_exists($bannedsite_file)) |
{ |
$pointeur=fopen($bannedsite_file,"r"); |
while (!feof ($pointeur)) |
{ |
$ligne=fgets($pointeur, 4096); |
if ($ligne) |
{ |
if (preg_match('/^\*ip$/',$ligne, $r)) |
{ |
echo " checked"; |
break; |
} |
} |
} |
fclose($pointeur); |
} |
else { |
echo "$l_error_open_file $bannedsite_file"; |
} |
echo "> $l_ip_filtering"; |
echo "</td></tr>"; |
?> |
<tr><td> |
<input type='checkbox' name='chk-ip'> <?php echo "$l_ip_filtering"?> |
<tr><td> |
<input type='checkbox' name='chk-safe-search'> <?php echo "$l_safe_searching"?> |
<br><?php echo "$l_safe_youtube"?><input type='text' name='Youtube-ID' size='30'> |
<tr><td> |