if (SQL_NUMROWS($result) > 0) {
// Ok, we have found some inactive accounts
- $OUT = ''; $SW = 2;
+ $OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Prepare data for the row template
$content = array(
- 'sw' => $SW,
'userid' => $content['userid'],
'gender' => $content['gender'],
'surname' => $content['surname'],
// Load row template
$OUT .= loadTemplate('admin_list_autopurge_row', true, $content);
- $SW = 3 - $SW;
- }
+ } // END - while
// Free memory
SQL_FREERESULT($result);