Subversion Repositories ALCASAR

Rev

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

Rev 1867 Rev 1876
Line 352... Line 352...
352
<input type='hidden' name='choix' value='MAJ_ip_file_delete'>
352
<input type='hidden' name='choix' value='MAJ_ip_file_delete'>
353
<?php
353
<?php
354
echo "<tr><td width=50% colspan=5 align=center>";
354
echo "<tr><td width=50% colspan=5 align=center>";
355
echo "<H3>$l_file_list</H3>";
355
echo "<H3>$l_file_list</H3>";
356
echo "<table cellspacing=2 cellpadding=3 border=1><tr><th>$l_file_name<th>$l_nb_ip<th>$l_nb_domain_names<th>$l_file_remove</tr>";
356
echo "<table cellspacing=2 cellpadding=3 border=1><tr><th>$l_file_name<th>$l_nb_ip<th>$l_nb_domain_names<th>$l_file_remove</tr>";
-
 
357
 
357
exec("cd $upload_dir_ip && ls ossi-*", $fichiersIp);
358
$fichiersIp = array_diff(scandir($upload_dir_ip), array('ossi','ossi-ip-safesearch','..','.'));
358
foreach($fichiersIp as $fichier => $value)
359
foreach($fichiersIp as $fichier => $value)
359
{
360
{
360
	echo "<tr><td><center><a href='bl_categories_help.php?liste=wl&cat=$value&ossi=yes&filtre=domain' target='cat_help' onclick=window.open('bl_categories_help','cat_help','width=600,height=450,toolbar=no,scrollbars=yes,resizable=yes') title='categories help page'>".exec("sed 's/^.....//g' <<< $value")."</a></center></td><td><center>".exec("wc -l $upload_dir_ip$value | awk '{print $1}'")."</center></td><td><center>".exec("wc -l $upload_dir_domain_names$value | awk '{print $1}'")."</center></td><td><center><input type='submit' name='$value' value='$l_remove'></center></td></tr>";
361
	echo "<tr><td><center><a href='bl_categories_help.php?liste=wl&cat=$value&ossi=yes&filtre=domain' target='cat_help' onclick=window.open('bl_categories_help','cat_help','width=600,height=450,toolbar=no,scrollbars=yes,resizable=yes') title='categories help page'>".exec("sed 's/^.....//g' <<< $value")."</a></center></td><td><center>".exec("wc -l $upload_dir_ip$value | awk '{print $1}'")."</center></td><td><center>".exec("wc -l $upload_dir_domain_names$value | awk '{print $1}'")."</center></td><td><center><input type='submit' name='$value' value='$l_remove'></center></td></tr>";
361
}
362
}
362
echo "</table><br/></td></form><form action='wl_filter.php' method='POST' enctype='multipart/form-data'>";
363
echo "</table><br/></td></form><form action='wl_filter.php' method='POST' enctype='multipart/form-data'>";