X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Fwhat-beg2.php;h=07534dab6e9f14f477ea52956c1e5bf5b5083bda;hb=61978147507c7ee04c77bdcc55a2407e5c576603;hp=1d34c43a0fe6aa33f67bc7bc6106850a9ba827a0;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git
diff --git a/inc/modules/member/what-beg2.php b/inc/modules/member/what-beg2.php
index 1d34c43a0f..07534dab6e 100644
--- a/inc/modules/member/what-beg2.php
+++ b/inc/modules/member/what-beg2.php
@@ -39,7 +39,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
}
elseif (!IS_LOGGED_IN())
{
- LOAD_URL(URL."/modules.php[5~?module=index");
+ LOAD_URL("modules.php[5~?module=index");
}
elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN()))
{
@@ -49,7 +49,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
// Add description as navigation point
ADD_DESCR("member", basename(__FILE__));
-OUTPUT_HTML ("
");
+OUTPUT_HTML("
");
// Autopurge installed?
$LAST = "%s"; $ONLINE = "";
@@ -57,14 +57,14 @@ if (EXT_IS_ACTIVE("autopurge"))
{
// Use last online timestamp to keep inactive members away from here
$LAST = " AND last_online >= %s";
- $ONLINE = bigintval(time() - $CONFIG['ap_in_since']);
+ $ONLINE = bigintval(time() - $_CONFIG['ap_in_since']);
}
// Let's check if there are some points left we can "pay"...
$result = SQL_QUERY_ESC("SELECT userid, beg_points AS beg, last_online FROM "._MYSQL_PREFIX."_user_data
WHERE beg_points > 0 AND status='CONFIRMED'".$LAST."
ORDER BY beg_points DESC, last_online DESC, userid LIMIT %s",
- array($ONLINE, $CONFIG['beg_ranks']), __FILE__, __LINE__);
+ array($ONLINE, $_CONFIG['beg_ranks']), __FILE__, __LINE__);
// Reset temporary variable and check for users
$OUT = "";