'; }
  echo('
    |  | ' . $entry['datetime'] . '');
  if(!isset($_GET['id']) && (!isset($overview) || $overview == 0)) {
    $dev['device_id'] = $entry['host'];
    $dev['hostname'] = $hostname;
    echo(" | " . generatedevicelink($dev, shorthost($dev['hostname'])) . "");
  }
  if($entry['type'] == "interface") {
    $entry['link'] = "".generateiflink(getifbyid($entry['reference']))."";
  } else {
    $entry['link'] = "System";
  }
  
  echo(" | ".$entry['link']."");
  echo(" | ".htmlspecialchars($entry['message']) . " | 
");
?>