]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_beg.php
index f7d401e299bea76cd0ee325e1510f7713fa519a6..5504a22b3d0c0b48293eaf03eab37b723035ca0b 100644 (file)
@@ -75,7 +75,7 @@ ORDER BY
 
        if (SQL_NUMROWS($result) > 0) {
                // List users
-               $OUT = '';$SW = 2; $cnt = 1; $total = '0';
+               $OUT = ''; $cnt = 1; $total = '0';
                while ($content = SQL_FETCHARRAY($result)) {
                        // Init variables
                        $WIN1 = ''; $WIN2 = '';
@@ -94,7 +94,6 @@ ORDER BY
                                'gender'      => $content['gender'],
                                'turbo'       => $content['beg_points'],
                                'last_online' => generateDateTime($content['last_online'], 2),
-                               'sw'          => $SW,
                                'win1'        => $WIN1,
                                'win2'        => $WIN2,
                                'cnt'         => $cnt,
@@ -102,7 +101,7 @@ ORDER BY
 
                        // Load template and add it
                        $OUT .= loadTemplate('admin_list_beg_rows', true, $content);
-                       $SW = 3 - $SW; $cnt++; $total += $content['beg_points'];
+                       $cnt++; $total += $content['beg_points'];
                } // END - while
 
                $content['rows']  = $OUT;