]> git.mxchange.org Git - mailer.git/blobdiff - beg.php
Fixed: 'hash' is always a GET parameter and it is 'admin_login', not 'login' which...
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index 81cb992df91506515a35ccca35dc888c2177bb46..226e198a44191dc884702c4184b93b45adec057a 100644 (file)
--- a/beg.php
+++ b/beg.php
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Bettel-Link fuer Mitglieder                      *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
@@ -79,7 +74,7 @@ if (isGetRequestElementSet('userid')) {
        $status = 'failed';
 
        // Check if account was found
-       if ((isUserDataValid()) && (getUserData('status') == 'CONFIRMED')) {
+       if ((isValidUserData()) && (getUserData('status') == 'CONFIRMED')) {
                /*
                 * Multiply configured values with 100000 and divide with 100000 so we can also handle small values
                 * If we need more number behind the decimal dot then we just need to increase all these three
@@ -162,7 +157,7 @@ if (isGetRequestElementSet('userid')) {
                sqlFreeResult($result);
 
                // Include header
-               loadIncludeOnce('inc/header.php');
+               loadPageHeader();
 
                // Load final template
                loadTemplate('beg_link', FALSE, $content);
@@ -182,7 +177,7 @@ if (isGetRequestElementSet('userid')) {
                }
 
                // Include footer
-               loadIncludeOnce('inc/footer.php');
+               loadPageFooter();
        } elseif ((getUserData('status') != 'CONFIRMED') && (getUserData('status') != 'failed')) {
                // Maybe locked/unconfirmed account?
                $errorCode = generateErrorCodeFromUserStatus();