if (SQL_NUMROWS($result) > 0) {
// List entries
- $OUT = ''; $SW = 2;
+ $OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Rewrite userid/refid only if admin is in
// @TODO Can't this be moved into EL?
'rid' => $content['refid'],
'points' => $content['points'],
'timemark' => generateDateTime($content['timemark'], $DT_MODE),
- 'sw' => $SW,
);
// Load template and switch color
$OUT .= loadTemplate($mode . '_doubler_list_rows', true, $content);
- $SW = 3 - $SW;
} // END - while
// Free memory