2007-04-03 14:10:23 +00:00
|
|
|
|
|
|
|
<?
|
|
|
|
|
|
|
|
if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
|
|
|
|
|
|
|
|
$hostname = gethostbyid($entry['host']);
|
|
|
|
$interface = fixifname(getifbyid($entry['interface']));
|
|
|
|
|
|
|
|
unset($icon);
|
|
|
|
|
|
|
|
$icon = geteventicon($entry['message']);
|
|
|
|
if($icon) {$icon = "<img src='/images/16/$icon'>"; }
|
|
|
|
|
|
|
|
|
|
|
|
echo("<tr style=\"background-color: $bg\">
|
|
|
|
<td width=0></td>
|
2007-04-03 19:39:28 +00:00
|
|
|
<td class=syslog width=140>
|
2007-11-21 14:26:24 +00:00
|
|
|
".$entry['humandate']."
|
2007-04-03 14:10:23 +00:00
|
|
|
</td>");
|
2007-11-21 14:26:24 +00:00
|
|
|
$if['interface_id'] = $entry['interface'];
|
2007-06-24 14:56:47 +00:00
|
|
|
$if['ifDescr'] = makeshortif($interface);
|
2007-04-03 19:39:28 +00:00
|
|
|
echo("<td class=list-bold width=75>
|
2007-06-24 14:56:47 +00:00
|
|
|
" . generateiflink($if) . "
|
2007-04-03 14:10:23 +00:00
|
|
|
</td>
|
2007-04-03 19:39:28 +00:00
|
|
|
<td class=syslog>" .
|
2007-11-21 14:26:24 +00:00
|
|
|
htmlspecialchars(truncate($entry['message'], 45))
|
2007-04-03 19:39:28 +00:00
|
|
|
. "</td>
|
2007-04-03 14:10:23 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|