Line 292... |
Line 292... |
292 |
unset($_POST['OSSI_bl']);
|
292 |
unset($_POST['OSSI_bl']);
|
293 |
$fichier=fopen($dir_dg."group1/exceptionsitelist","w+");
|
293 |
$fichier=fopen($dir_dg."group1/exceptionsitelist","w+");
|
294 |
fputs($fichier, form_filter($_POST['BL_rehabilited_domains']));
|
294 |
fputs($fichier, form_filter($_POST['BL_rehabilited_domains']));
|
295 |
fclose($fichier);
|
295 |
fclose($fichier);
|
296 |
unset($_POST['BL_rehabilited_domains']);
|
296 |
unset($_POST['BL_rehabilited_domains']);
|
297 |
$fichier=fopen($dir_dg."group1/exceptioniplist","w+");
|
297 |
$fichier=fopen($dir_dg."group1/exceptionsiteiplist","w+");
|
298 |
fputs($fichier, form_filter($_POST['BL_rehabilited_ip']));
|
298 |
fputs($fichier, form_filter($_POST['BL_rehabilited_ip']));
|
299 |
fclose($fichier);
|
299 |
fclose($fichier);
|
300 |
unset($_POST['BL_rehabilited_ip']);
|
300 |
unset($_POST['BL_rehabilited_ip']);
|
301 |
exec ("sudo /usr/local/bin/alcasar-bl.sh --reload");
|
301 |
exec ("sudo /usr/local/bin/alcasar-bl.sh --reload");
|
302 |
break;
|
302 |
break;
|
Line 464... |
Line 464... |
464 |
echo_file ($dir_dg."group1/exceptionsitelist");
|
464 |
echo_file ($dir_dg."group1/exceptionsitelist");
|
465 |
echo "</textarea></td>";
|
465 |
echo "</textarea></td>";
|
466 |
echo "<td width=50% colspan=5 align=center>";
|
466 |
echo "<td width=50% colspan=5 align=center>";
|
467 |
echo "<H3>$l_rehabilitated_ip</H3>$l_rehabilitated_ip_explain<BR>$l_one_ip<BR>";
|
467 |
echo "<H3>$l_rehabilitated_ip</H3>$l_rehabilitated_ip_explain<BR>$l_one_ip<BR>";
|
468 |
echo "<textarea name='BL_rehabilited_ip' rows=3 cols=40>";
|
468 |
echo "<textarea name='BL_rehabilited_ip' rows=3 cols=40>";
|
469 |
echo_file ($dir_dg."group1/exceptioniplist");
|
469 |
echo_file ($dir_dg."group1/exceptionsiteiplist");
|
470 |
echo "</textarea></td></tr>";
|
470 |
echo "</textarea></td></tr>";
|
471 |
echo "<tr><td valign='middle' align='left' colspan=10>";
|
471 |
echo "<tr><td valign='middle' align='left' colspan=10>";
|
472 |
echo "<center><b>$l_add_to_bl</b></center></td></tr>";
|
472 |
echo "<center><b>$l_add_to_bl</b></center></td></tr>";
|
473 |
echo "<tr><td width=100% colspan=10 align=center>";
|
473 |
echo "<tr><td width=100% colspan=10 align=center>";
|
474 |
echo "$l_one_dns_ip<br>$l_add_example<br>";
|
474 |
echo "$l_one_dns_ip<br>$l_add_example<br>";
|