Surfbar continued and some rewrites/fixes:
[mailer.git] / mailid_top.php
index a61ce990cc9d81376faf058e81f654164c4720fb..cee39dbc3a0dbf89fad0831d1a33db2b218644b7 100644 (file)
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "mailid";  $CSS = 0;
 
 // Load the required file(s)
-require ("inc/config.php");
+require("inc/config.php");
 
 if (isBooleanConstantAndTrue('mxchange_installed'))
 {
@@ -239,7 +239,7 @@ if (isBooleanConstantAndTrue('mxchange_installed'))
 
                                                                                // Add points
                                                                                unset($DEPTH);
-                                                                               ADD_POINTS_REFSYSTEM($url_uid, $payment, false, "0", $locked);
+                                                                               ADD_POINTS_REFSYSTEM("mailid_okay", $url_uid, $payment, false, "0", $locked);
 
                                                                                // Shall I add bonus points for "turbo clickers" ?
                                                                                if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (function_exists('BONUS_ADD_TURBO_POINTS'))) {
@@ -271,7 +271,7 @@ if (isBooleanConstantAndTrue('mxchange_installed'))
                                                                        } else {
                                                                                // Wrong image code! So add points to sender's account
                                                                                unset($DEPTH);
-                                                                               ADD_POINTS_REFSYSTEM($sender, $payment, false, 0, false, "direct");
+                                                                               ADD_POINTS_REFSYSTEM("mailid_payback", $sender, $payment, false, 0, false, "direct");
 
                                                                                // Load template
                                                                                LOAD_TEMPLATE("mailid_points_failed");