// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
addMenuDescription('admin', __FILE__);
-if (getConfig('beg_rallye') == 'Y') {
+if (isBegRallyeEnabled()) {
// Shall I withdraw now?
if (isPostRequestParameterSet('withdraw')) {
// Okay, let's prepare...
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
- `status`='CONFIRMED' AND beg_points > 0".$lastOnline."
+ `status`='CONFIRMED' AND
+ `beg_points` > 0
+ " . $lastOnline . "
ORDER BY
`beg_points` DESC,
`last_online` DESC,