Authlog"; if (Auth::user()->hasGlobalAdmin()) { echo ''; echo ""; foreach (dbFetchRows("SELECT *,DATE_FORMAT(datetime, '" . \LibreNMS\Config::get('dateformat.mysql.compact') . "') as humandate FROM `authlog` ORDER BY `datetime` DESC LIMIT 0,250") as $entry) { if ($bg == \LibreNMS\Config::get('list_colour.even')) { $bg = \LibreNMS\Config::get('list_colour.odd'); } else { $bg = \LibreNMS\Config::get('list_colour.even'); } echo " '; }//end foreach $pagetitle[] = 'Authlog'; echo '
TimestampUserIP AddressResult
".$entry['datetime'].' '.$entry['user'].' '.$entry['address'].' '.$entry['result'].'
'; } else { include 'includes/html/error-no-perm.inc.php'; }//end if ?>