// Start generating the ranking list
$max = SQL_NUMROWS($result);
- // Init variables
- $SW = 2;
-
// Output all ranks (levels)
for ($rank = 1; $rank <= $max; $rank++) {
// Load data
// Add more
$rows['rank'] = $rank;
- $rows['sw'] = $SW;
// Load row template
$OUT .= loadTemplate('member_bonus_turbo_row', true, $rows);
-
- // Switch color
- $SW = 3 - $SW;
} // END - for
if ($self === false) {
if (SQL_AFFECTEDROWS() > 0) {
// Send out email to admin
- sendAdminNotification(getMessage('AUTOPURGE_ADMIN_TURBO_SUBJECT'), 'admin_autopurge_turbo', SQL_AFFECTEDROWS());
+ sendAdminNotification('{--ADMIN_AUTOPURGE_TURBO_SUBJECT--}', 'admin_autopurge_turbo', SQL_AFFECTEDROWS());
} // END - if
}