wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / inc / modules / guest / what-stats.php
index 7278e3bb976783ce2bc6e380f7fe6cda253376d1..3fa8d6f720b41ef322a508824d810110f9233e3d 100644 (file)
@@ -41,15 +41,15 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 ADD_DESCR("guest", basename(__FILE__));
 
 // Derterminate which stats we want and set mode and title for the link below stats block
-if (!isset($_GET['mode'])) $_GET['mode'] = strtolower($CONFIG['guest_stats']);
+if (!isset($_GET['mode'])) $_GET['mode'] = strtolower($_CONFIG['guest_stats']);
 switch ($_GET['mode'])
 {
-       case "members": $CONFIG['guest_stats'] = "MEMBERS"; $lmode = "modules"; $ltitle = GUEST_STATS_MODULES; break;
-       case "modules": $CONFIG['guest_stats'] = "MODULES"; $lmode = "members"; $ltitle = GUEST_STATS_MEMBERS; break;
+       case "members": $_CONFIG['guest_stats'] = "MEMBERS"; $lmode = "modules"; $ltitle = GUEST_STATS_MODULES; break;
+       case "modules": $_CONFIG['guest_stats'] = "MODULES"; $lmode = "members"; $ltitle = GUEST_STATS_MEMBERS; break;
 }
 
 OPEN_TABLE("100%", "guest_content", "center", "top");
-switch ($CONFIG['guest_stats'])
+switch ($_CONFIG['guest_stats'])
 {
 case "MEMBERS": // Statistics about your members
        // Members yesterday / today online