+ // Get all userid
+ $result = SQL_QUERY_ESC("SELECT userid FROM "._MYSQL_PREFIX."_surfbar_urls
+WHERE userid != %s AND status='CONFIRMED'
+GROUP BY userid
+ORDER BY userid ASC",
+ array($GLOBALS['userid']), __FILE__, __LINE__);
+
+ // Load all userid
+ $UIDs = array($GLOBALS['userid']);
+ while (list($uid) = SQL_FETCHROW($result)) {
+ // Get total points
+ $points = GET_TOTAL_DATA($uid, "user_points", "points") - GET_TOTAL_DATA($uid, "user_data", "used_points");
+ //* DEBUG: */ echo __FUNCTION__.":uid={$uid},points={$points}<br />\n";
+
+ // Shall we add this to ignore?
+ if ($points <= 0) {
+ // Ignore this one!
+ $UIDs[] = $uid;
+ } // END - if
+ } // END - while
+
+ // Free result
+ SQL_FREERESULT($result);
+