Files
librenms-librenms/html/pages/device/dev-events.inc.php
T
Adam Amstrong 4634c36e82 fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@325 61d68cd4-352d-0410-923a-c4978735b2b8
2008-11-27 12:01:44 +00:00

16 lines
350 B
PHP

<?
$query = "SELECT *,DATE_FORMAT(datetime, '%D %b %Y %T') as humandate FROM `eventlog` WHERE `host` = '$_GET[id]' ORDER BY `datetime` DESC LIMIT 0,250";
$data = mysql_query($query);
echo("<table cellspacing=0 cellpadding=1 width=100%>");
while($entry = mysql_fetch_array($data)) {
include("includes/print-event.inc");
}
echo("</table>");
?>