]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-surfbar_stats.php
Fix for rewritting code
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index 6818b12e489d448bab3543857e272d4a27f88ba8..adf2c6a5bd3aac4365ae9089416f96634d13e47b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/09/2008 *
- * ================                             Last change: 09/09/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/09/2008 *
+ * ===================                          Last change: 09/09/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-surfbar_stats.php                           *
@@ -56,7 +56,7 @@ ORDER BY `userid` ASC",
        // Entries found?
        if (SQL_NUMROWS($result) > 0) {
                // Get all rows
-               $OUT = ''; $SW = 2; $cnt = 0; $visits = 0;
+               $OUT = ''; $SW = 2; $cnt = '0'; $visits = '0';
                while ($content = SQL_FETCHARRAY($result)) {
                        // Count totals
                        $visits += $content['total_visits'];
@@ -64,7 +64,7 @@ ORDER BY `userid` ASC",
                        // "Translate" some data
                        $content['userid']       = generateUserProfileLink($content['userid']);
                        $content['total_visits'] = translateComma($content['total_visits']);
-                       $content['last_surfed']  = generateDateTime($content['last_surfed'], '2');
+                       $content['last_surfed']  = generateDateTime($content['last_surfed'], 2);
                        $content['sw']           = $SW;
 
                        // Load row template
@@ -100,7 +100,7 @@ ORDER BY
        // Entries found?
        if (SQL_NUMROWS($result) > 0) {
                // Get all rows
-               $OUT = ''; $SW = 2; $urls = 0; $visits = 0;
+               $OUT = ''; $SW = 2; $urls = '0'; $visits = '0';
                while ($content = SQL_FETCHARRAY($result)) {
                        // Count totals
                        $urls   += $content['visited_urls'];