Surfbar member actions now listable
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index 12f405332d3059cf8fb8dd6f9c7e5a66fd941f09..f9e34b061ad4656faed06d1ebf0585f10e99e710 100644 (file)
@@ -61,10 +61,11 @@ ORDER BY `userid` ASC",
                        $content['userid']       = ADMIN_USER_PROFILE_LINK($content['userid']);
                        $content['total_visits'] = TRANSLATE_COMMA($content['total_visits']);
                        $content['last_online']  = MAKE_DATETIME($content['last_online'], "2");
+                       $content['sw']           = $SW;
 
                        // Load row template
                        $OUT .= LOAD_TEMPLATE("admin_surfbar_url_stats_row", true, $content);
-                       $cnt++;
+                       $cnt++; $SW = 3 - $SW;
                } // END - while
 
                // Prepare content
@@ -101,9 +102,11 @@ ORDER BY `userid` ASC", __FILE__, __LINE__);
                        $content['userid']       = ADMIN_USER_PROFILE_LINK($content['userid']);
                        $content['visited_urls'] = TRANSLATE_COMMA($content['visited_urls']);
                        $content['total_visits'] = TRANSLATE_COMMA($content['total_visits']);
+                       $content['sw']           = $SW;
 
                        // Load row template
                        $OUT .= LOAD_TEMPLATE("admin_surfbar_stats_row", true, $content);
+                       $SW = 3 - $SW;
                } // END - while
 
                // Prepare content