X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-surfbar_stats.php;h=adf2c6a5bd3aac4365ae9089416f96634d13e47b;hb=e1235e719b767d6693976c3d24489beaa38a3667;hp=6818b12e489d448bab3543857e272d4a27f88ba8;hpb=1ebf518b9552f71ee95de6f4b80e6de3a27716d1;p=mailer.git diff --git a/inc/modules/admin/what-surfbar_stats.php b/inc/modules/admin/what-surfbar_stats.php index 6818b12e48..adf2c6a5bd 100644 --- a/inc/modules/admin/what-surfbar_stats.php +++ b/inc/modules/admin/what-surfbar_stats.php @@ -1,7 +1,7 @@ 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'];