git-svn-id: http://www.observium.org/svn/observer/trunk@2310 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-13 13:52:01 +00:00
parent 952ae3b365
commit f1285f2e31
8 changed files with 55 additions and 112 deletions

View File

@ -2,12 +2,9 @@
if ($_SESSION['userlevel'] == '10')
{
$query = "SELECT *,DATE_FORMAT(datetime, '%D %b %Y %T') as humandate FROM `authlog` ORDER BY `datetime` DESC LIMIT 0,250";
$data = mysql_query($query);
echo("<table cellspacing=0 cellpadding=1 width=100%>");
while ($entry = mysql_fetch_assoc($data))
foreach (dbFetchRows("SELECT *,DATE_FORMAT(datetime, '%D %b %Y %T') 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; }
@ -31,4 +28,4 @@ if ($_SESSION['userlevel'] == '10')
echo("</table>");
}
?>
?>