* -------------------------------------------------------------------- *
* 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 *
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') {
$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",