= '10') {
echo '
';
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 == $list_colour_a) {
$bg = $list_colour_b;
}
else {
$bg = $list_colour_a;
}
echo "
".$entry['datetime'].'
|
'.$entry['user'].'
|
'.$entry['address'].'
|
'.$entry['result'].'
|
|
';
}//end foreach
$pagetitle[] = 'Authlog';
echo '
';
}
else {
include 'includes/error-no-perm.inc.php';
}//end if