Line 130... |
Line 130... |
130 |
echo "<input type='submit' value='$l_record'>";
|
130 |
echo "<input type='submit' value='$l_record'>";
|
131 |
echo "</form> ($l_wait)";
|
131 |
echo "</form> ($l_wait)";
|
132 |
echo "</table></td><br/>";
|
132 |
echo "</table></td><br/>";
|
133 |
?>
|
133 |
?>
|
134 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
134 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
135 |
<tr><th><?php echo $l_ip_file_title; ?></th></tr>
|
135 |
<tr><th><?php echo $l_personal_file_title; ?></th></tr>
|
136 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
136 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
137 |
</table>
|
137 |
</table>
|
138 |
<table width="100%" border=1 cellspacing=0 cellpadding=1>
|
138 |
<table width="100%" border=1 cellspacing=0 cellpadding=1>
|
139 |
<form action='bl_filter.php' method='POST'>
|
139 |
<form action='bl_filter.php' method='POST'>
|
140 |
<input type='hidden' name='choix' value='MAJ_ip_file_delete'>
|
140 |
<input type='hidden' name='choix' value='MAJ_ip_file_delete'>
|
141 |
<?php
|
141 |
<?php
|
142 |
echo "<tr><td width=50% colspan=5 align=center>";
|
142 |
echo "<tr><td width=50% colspan=5 align=center>";
|
143 |
echo "<H3>$l_file_list</H3>";
|
143 |
echo "<H3>$l_file_list</H3>";
|
144 |
echo "<table cellspacing=2 cellpadding=3 border=1><tr><th>$l_file_name<th>$l_nb_ip<th>$l_file_remove</tr>";
|
144 |
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>";
|
145 |
exec("cd $upload_dir && ls ossi-*", $fichiersIp);
|
145 |
exec("cd $upload_dir_ip && ls ossi-*", $fichiersIp);
|
146 |
foreach($fichiersIp as $fichier => $value)
|
146 |
foreach($fichiersIp as $fichier => $value)
|
147 |
{
|
147 |
{
|
148 |
echo "<tr><td><center>".exec("sed 's/^.....//g' <<< $value")."</center></td><td><center>".exec("wc -l $upload_dir$value | awk '{print $1}'")."</center></td><td><center><input type='submit' name='$value' value='$l_remove'></center></td></tr>";
|
148 |
echo "<tr><td><center>".exec("sed 's/^.....//g' <<< $value")."</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>";
|
149 |
}
|
149 |
}
|
150 |
echo "</table><br/></td></form><form action='bl_filter.php' method='POST' enctype='multipart/form-data'>";
|
150 |
echo "</table><br/></td></form><form action='bl_filter.php' method='POST' enctype='multipart/form-data'>";
|
151 |
echo "<input type='hidden' name='choix' value='MAJ_ip_file_upload'><td width=50% colspan=5 align=center>";
|
151 |
echo "<input type='hidden' name='choix' value='MAJ_ip_file_upload'><td width=50% colspan=5 align=center>";
|
152 |
echo "<H3>$l_add_ip_file</H3>";
|
152 |
echo "<H3>$l_add_file</H3>";
|
153 |
echo "<input type='file' name='fichier_ip'>";
|
153 |
echo "<input type='file' name='fichier_ip'>";
|
154 |
echo "<input type='submit' value='$l_submit'>";
|
154 |
echo "<input type='submit' value='$l_submit'>";
|
155 |
echo "</td></tr>";
|
155 |
echo "</td></tr>";
|
156 |
echo "</form>";
|
156 |
echo "</form>";
|
157 |
echo "</table><br/>";
|
157 |
echo "</table><br/>";
|