// Add description as navigation point
ADD_DESCR("admin", basename(__FILE__));
-OUTPUT_HTML ("</FONT><BR><BR>");
+OUTPUT_HTML("</FONT><br /><br />");
// Count guests, members and admins
$result_guests = SQL_QUERY("SELECT id FROM "._MYSQL_PREFIX."_online WHERE is_admin='N' AND is_member='N'", __FILE__, __LINE__);
<TD width=\"5%\"> </TD>
<TD width=\"10%\"><B>".SQL_NUMROWS($result_admins)."</B></TD>
</TR>
-</TABLE><BR>");
+</TABLE><br />");
$result = SQL_QUERY("SELECT id, ip, userid, refid, module, action, what, is_member, is_admin, timestamp FROM "._MYSQL_PREFIX."_online ORDER by timestamp DESC", __FILE__, __LINE__);
if (SQL_NUMROWS($result) > 0)
if ($action == "") $action = "---";
if ($what == "") $what = "---";
- if ($admin == 'Y')
+ if ($admin == "Y")
{
// Is an administrator
$userid = _IS_ADMIN;
}
- elseif (($mem == 'N') && ($admin == 'N'))
+ elseif (($mem == "N") && ($admin == "N"))
{
// Is a guest
$userid = _IS_GUEST;
}
OUTPUT_HTML("<TR>
<TD colspan=\"8\" align=\"center\" class=\"admin_footer\">
- ".ONLINE_TIMEOUT_IS_1.CREATE_FANCY_TIME($CONFIG['online_timeout']).ONLINE_TIMEOUT_IS_2."
+ ".ONLINE_TIMEOUT_IS_1.CREATE_FANCY_TIME($_CONFIG['online_timeout']).ONLINE_TIMEOUT_IS_2."
</TD>
</TR>
</TABLE>");