'); echo('
'); echo(''); echo(" Recent Events"); echo('
'); $eventlog = dbFetchRows("SELECT *,DATE_FORMAT(datetime, '".$config['dateformat']['mysql']['compact']."') as humandate FROM `eventlog` WHERE `host` = ? ORDER BY `datetime` DESC LIMIT 0,10", array($device['device_id'])); foreach ($eventlog as $entry) { include("includes/print-event-short.inc.php"); } echo("
"); echo('
'); echo('
'); echo('
'); echo(''); ?>