require($INC);
} elseif (!IS_MEMBER()) {
LOAD_URL("modules.php[5~?module=index");
-} elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN())) {
- addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "beg");
+} elseif ((!EXT_IS_ACTIVE('beg')) && (!IS_ADMIN())) {
+ addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'beg');
return;
}
// Add description as navigation point
-ADD_DESCR("member", __FILE__);
+ADD_DESCR('member', __FILE__);
// Autopurge installed?
-$lastOnline = "%s"; $ONLINE = "";
-if (EXT_IS_ACTIVE("autopurge")) {
+$lastOnline = "%s"; $ONLINE = '';
+if (EXT_IS_ACTIVE('autopurge')) {
// Use last online timestamp to keep inactive members away from here
$lastOnline = " AND last_online >= (UNIX_TIMESTAMP() - %s)";
$ONLINE = getConfig('ap_inactive_since');
array($ONLINE, getConfig('beg_ranks')), __FILE__, __LINE__);
// Reset temporary variable and check for users
-$OUT = "";
+$OUT = '';
if (SQL_NUMROWS($result) > 0) {
// Load our winners...
$SW = 2; $cnt = 1;