]> 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 0ca6ad17229f2c8b55413086a8bf2ef7410c05db..c168877428d6e60bd9769d2c9f34bb12e2adb222 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
  * it under the terms of the GNU General Public License as published by *
@@ -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()) {