* $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 *
} // END - if
// Old version ???
- $USE = '`turbo_bonus`';
+ $pointsColumns = '`turbo_bonus`';
// Run filter chain to find more columns
$add = runFilterChain('add_bonus_points_user_columns', '');
// Add them, if some where configured
if (!empty($add)) {
// Add more bonus points here
- $USE = '(0' . $add . ')';
+ $pointsColumns = '(0' . $add . ')';
} // END - if
// Init variables
$result = SQL_QUERY("SELECT
`userid`,
`email`,
- " . $USE . " AS `points`,
+ " . $pointsColumns . " AS `points`,
`last_online`
FROM
`{?_MYSQL_PREFIX?}_user_data`
WHERE
`status`='CONFIRMED' AND
- " . $USE . " > 0
+ " . $pointsColumns . " > 0
" . $lastOnline . "
+ " . runFilterChain('user_exclusion_sql', ' ') . "
ORDER BY
`points` DESC,
`last_online` DESC,