]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_refs.php
www is out-dated
[mailer.git] / inc / modules / admin / what-list_refs.php
index 3f8f0e760a5d2c5e9c12620ec0187d325a119e79..ab5e019ec5810f75fb38fe819a0fbfa2b749e5e1 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Alle generierten Refs eines Mitgliedes anzeigen  *
  * -------------------------------------------------------------------- *
- *                                                                      *
- *    Mod created by : Lars Moehlenbruch ( http://www.surfo.net )       *
- *                                                                      *
- * -------------------------------------------------------------------- *
- *                                                                      *
- *                 Highly modified by Roland Haeder                     *
- *                                                                      *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -46,9 +38,9 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isGetRequestParameterSet('userid')) {
+if (isGetRequestElementSet('userid')) {
        // Secure userid
-       $userid = bigintval(getRequestParameter('userid'));
+       $userid = bigintval(getRequestElement('userid'));
 
        // Fix missing variable
        $result_levels = false;
@@ -60,7 +52,7 @@ if (isGetRequestParameterSet('userid')) {
                $menge_lck = countSumTotalData($userid, 'user_data', 'userid', 'refid', true, " AND `status` != 'CONFIRMED'");
 
                // Output info message
-               displayMessage(sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink(getRequestParameter('userid')), $menge, $menge_lck));
+               displayMessage(sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink(getRequestElement('userid')), $menge, $menge_lck));
 
                // Load all referal levels
                $result_levels = SQL_QUERY("SELECT
@@ -171,7 +163,7 @@ ORDER BY
                        // Prepare content
                        $content = array(
                                'rows'   => $OUT,
-                               'userid' => getRequestParameter('userid')
+                               'userid' => getRequestElement('userid')
                        );
 
                        // Load main template
@@ -192,7 +184,7 @@ ORDER BY
                SQL_FREERESULT($result_levels);
        } else {
                // User not found
-               displayMessage('{%message,ADMIN_MEMBER_404=' . getRequestParameter('userid') . '%}');
+               displayMessage('{%message,ADMIN_MEMBER_404=' . getRequestElement('userid') . '%}');
        }
 } else {
        // Output selection form with all confirmed user accounts listed