]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-beg2.php
A lot code rewritten:
[mailer.git] / inc / modules / member / what-beg2.php
index c13931a6cac0846dd018d0044fc2689ec721c861..b5f03912f6cfa02356fc4c982bed639248e44616 100644 (file)
@@ -83,11 +83,10 @@ LIMIT {?beg_ranks?}",
 $OUT = '';
 if (SQL_NUMROWS($result) > 0) {
        // Load our winners...
-       $SW = 2; $cnt = 1;
+       $cnt = 1;
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the template
                $content = array(
-                       'sw'          => $SW,
                        'cnt'         => $cnt,
                        'userid'      => $content['userid'],
                        'points'      => $content['points'],
@@ -97,8 +96,8 @@ if (SQL_NUMROWS($result) > 0) {
                // Load row template
                $OUT .= loadTemplate('member_list_beg_row', true, $content);
 
-               // Count one up and switch colors
-               $cnt++; $SW = 3 - $SW;
+               // Count one up
+               $cnt++;
        } // END - while
 } else {
        // No one is interested in our "active rallye" ! :-(