]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/doubler_functions.php
Rewrites/fixes for surfbar
[mailer.git] / inc / libs / doubler_functions.php
index e24a3eaac310fc043524464cd90e96d2c82f4c11..ba8b2902d08c525c4ed4d16c25da045b5e5b4f19 100644 (file)
@@ -88,7 +88,7 @@ LIMIT %s",
 
        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?
@@ -108,12 +108,10 @@ LIMIT %s",
                                '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