Authlog"; if (LegacyAuth::user()->hasGlobalAdmin()) { echo '
Timestamp | User | IP Address | Result | "; foreach (dbFetchRows("SELECT *,DATE_FORMAT(datetime, '".$config['dateformat']['mysql']['compact']."') as humandate FROM `authlog` ORDER BY `datetime` DESC LIMIT 0,250") as $entry) { if ($bg == $config['list_colour']['even']) { $bg = $config['list_colour']['odd']; } else { $bg = $config['list_colour']['even']; } echo "
---|---|---|---|
".$entry['datetime'].' | '.$entry['user'].' | '.$entry['address'].' | '.$entry['result'].' | '; }//end foreach $pagetitle[] = 'Authlog'; echo '