\n";
echo "\n";
while ($datarecord=mysql_fetch_row ($result))
{
if ($datarecord[5]=='no') {continue;}
$ipnumber=explode(".",$datarecord[6]);
$j=0;
while (isset($ipnumber[$j])) {
$where=$where."Testo LIKE '%".$ipnumber[$j]."%'";
if (isset($ipnumber[$j+1])):
$where=$where." OR ";
endif;
$j++;
}
$ip1=$ipnumber[0];
$ip2=$ipnumber[1];
$ip3=$ipnumber[2];
$ip4=$ipnumber[3];
$ip=$ip1.".".$ip2.".xxx.xxx";
$ip_m='';
if ($datarecord[6]!='') {$ip_m=", IP: ".$ip."";}
echo "\n";
echo "$datarecord[2] | ".$datarecord[4]." |
Inserito il ".$datarecord[1]."".$ip_m."
| \n";
echo " \n";
}
echo " \n";
}
echo (" ");
echo ("");
mysql_close($conn);
?>
|