2007-04-03 14:10:23 +00:00
|
|
|
|
|
|
|
<?
|
|
|
|
|
|
|
|
if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
|
|
|
|
|
2008-03-23 15:40:58 +00:00
|
|
|
if(!$entry['processed']) { $entry = process_syslog($entry, 1); }
|
2008-12-09 13:55:41 +00:00
|
|
|
if(!$entry['deleted']) {
|
2007-06-24 14:56:47 +00:00
|
|
|
|
2007-04-03 14:10:23 +00:00
|
|
|
echo("<tr style=\"background-color: $bg\">
|
2008-03-19 19:15:57 +00:00
|
|
|
<td width=0></td>");
|
2007-06-24 14:56:47 +00:00
|
|
|
|
2008-03-22 13:30:33 +00:00
|
|
|
echo("<td class=syslog width=125>" . $entry['date'] . "</td>");
|
2008-03-19 19:15:57 +00:00
|
|
|
|
2008-12-09 13:55:41 +00:00
|
|
|
# $entry['hostname'] = shorthost(gethostbyid($entry['host']), 20);
|
2008-03-23 15:40:58 +00:00
|
|
|
|
|
|
|
if($_GET['page'] != "device") {
|
|
|
|
echo("<td width=160><strong>".generatedevicelink($entry)."</strong></td>");
|
2007-06-24 14:56:47 +00:00
|
|
|
}
|
|
|
|
|
2008-03-19 19:15:57 +00:00
|
|
|
echo(" <td class=syslog>
|
|
|
|
<strong>" . $entry['program'] . " : </strong>
|
2007-05-20 19:21:35 +00:00
|
|
|
" . htmlspecialchars($entry['msg']) . "
|
2007-04-03 14:10:23 +00:00
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>");
|
|
|
|
|
2008-03-23 15:40:58 +00:00
|
|
|
}
|
|
|
|
|
2007-04-03 14:10:23 +00:00
|
|
|
?>
|