"; } echo(" ".$entry['humandate']." "); $if = mysql_fetch_array(mysql_query("SELECT * from interfaces AS I, devices as D where I.device_id = D.device_id AND I.interface_id = '".$entry['interface']."'")); echo(" " . generateiflink($if, makeshortif($if['ifDescr'])) . " " . htmlspecialchars(truncate($entry['message'], 45)) . " "); ?>