]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
mailer project continued:
[mailer.git] / inc / modules / admin / what-list_beg.php
index 03656ae7038bdf9ef3e653b0fae8857123f44092..c168877428d6e60bd9769d2c9f34bb12e2adb222 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -64,13 +64,17 @@ if (isBegRallyeEnabled()) {
 
        // Check if at least one is in the active rallye
        $result = SQL_QUERY("SELECT
-       `userid`,`email`,`beg_points`,`last_online`
+       `userid`,
+       `email`,
+       `beg_points`,
+       `last_online`
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
        `status`='CONFIRMED' AND
        `beg_points` > 0
        " . $lastOnline . "
+       " . runFilterChain('user_exclusion_sql', ' ') . "
 ORDER BY
        `beg_points` DESC,
        `last_online` DESC,
@@ -81,7 +85,8 @@ ORDER BY
                $OUT = ''; $count = 1; $total = '0';
                while ($content = SQL_FETCHARRAY($result)) {
                        // Init variables
-                       $WIN1 = ''; $WIN2 = '';
+                       $WIN1 = '';
+                       $WIN2 = '';
 
                        // Maybe he can win his active beg?
                        if ($count <= getBegRanks()) {