]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-surfbar_stats.php
Extension ext-earning introduced (unfinished), renamings:
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index 6d1f64db51b4a506a4b497a676dca2ab9b991f3c..497c15eeaae9e59bc0e84e174614029fd0968816 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -41,10 +41,10 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 // Is the 'url_id' set?
-if (isGetRequestParameterSet('url_id')) {
+if (isGetRequestElementSet('url_id')) {
        // Generate general statistics
        $result = SQL_QUERY_ESC("SELECT
        `stats_userid`,
@@ -56,7 +56,7 @@ WHERE
        `stats_url_id`=%s
 ORDER BY
        `stats_userid` ASC",
-               array(bigintval(getRequestParameter('url_id'))), __FILE__, __LINE__);
+               array(bigintval(getRequestElement('url_id'))), __FILE__, __LINE__);
 
        // Entries found?
        if (!SQL_HASZERONUMS($result)) {
@@ -86,7 +86,7 @@ ORDER BY
                loadTemplate('admin_surfbar_url_stats', false, $content);
        } else {
                // No statistics so far
-               loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_NO_URL_STATS--}');
+               displayMessage('{--ADMIN_SURFBAR_NO_URL_STATS--}');
        }
 } else {
        // Generate general statistics
@@ -126,7 +126,7 @@ ORDER BY
                loadTemplate('admin_surfbar_stats', false, $content);
        } else {
                // No statistics so far
-               loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_NO_STATS--}');
+               displayMessage('{--ADMIN_SURFBAR_NO_STATS--}');
        }
 }