]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-wernis.php
Most <em> tags replaced/removed
[mailer.git] / inc / modules / member / what-wernis.php
index ebf6f0d1c137e602d3b3428eaba937b783d25bbe..84a5cea61acc65cf6e86fe1a323fc3f11f176379 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * 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 *
@@ -94,8 +94,8 @@ if ((!isGetRequestElementSet('mode')) || (getRequestElement('mode') == 'choose')
                SQL_FREERESULT($result);
        } else {
                // Default links are not active!
-               $content['payout_link']   = '<em>{--MEMBER_WERNIS_PAYOUT_DISABLED--}</em>';
-               $content['withdraw_link'] = '<em>{--MEMBER_WERNIS_WITHDRAW_DISABLED--}</em>';
+               $content['payout_link']   = '<span class="bad">{--MEMBER_WERNIS_PAYOUT_DISABLED--}</span>';
+               $content['withdraw_link'] = '<span class="bad">{--MEMBER_WERNIS_WITHDRAW_DISABLED--}</span>';
 
                // Is the payout mode active?
                if (getConfig('wernis_payout_active') == 'Y') {
@@ -175,8 +175,8 @@ if ((isFormSent()) && (isGetRequestElementSet('mode'))) {
                                        $success = WERNIS_EXECUTE_WITHDRAW(postRequestElement('wernis_userid'), md5(postRequestElement('wds66_password')), postRequestElement('amount'));
                                        if ($success === true) {
                                                // Add it to this amount
-                                               initReferalSystem();
-                                               addPointsThroughReferalSystem('wernis_withdraw', getMemberId(), bigintval(postRequestElement('amount')));
+                                               initReferralSystem();
+                                               addPointsThroughReferralSystem('wernis_withdraw', getMemberId(), bigintval(postRequestElement('amount')));
 
                                                // Update the user data as well..
                                                SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `wernis_userid`=%s WHERE `userid`=%s LIMIT 1",