Referal overview finished and rewritten for refback extension
[mailer.git] / inc / modules / guest / what-confirm.php
index 22acf14e50f137206fba410d4117ddcf32e67645..582416028a881c65e8544d657cbadb419b76611f 100644 (file)
@@ -60,9 +60,9 @@ if (!empty($_GET['hash'])) {
                        // And send him right away the confirmation mail
                        SEND_EMAIL($email, GUEST_THANX_CONFIRM, $msg);
 
-                       // Maybe he got "referraled"?
+                       // Maybe he got "referaled"?
                        if (($rid > 0) && ($rid != $uid)) {
-                               // Select the referral userid
+                               // Select the referal userid
                                $result = SQL_QUERY_ESC("SELECT userid FROM "._MYSQL_PREFIX."_user_data WHERE userid=%s LIMIT 1",
                                 array(bigintval($rid)), __FILE__, __LINE__);
                                if (SQL_NUMROWS($result) == 1) {
@@ -72,7 +72,7 @@ if (!empty($_GET['hash'])) {
                                        // Ok, write the ref-points to this user and his parent-ref
                                        unset($DEPTH);
 
-                                       // Shall I "pay" the referral points imidiately?
+                                       // Shall I "pay" the referal points imidiately?
                                        if ($_CONFIG['ref_payout'] == "0") {
                                                // Yes, "pay" it now
                                                $locked = false;
@@ -91,7 +91,7 @@ if (!empty($_GET['hash'])) {
                                                BONUS_POINTS_HANDLER($_CONFIG['bonus_ref']);
                                        } // END - if
 
-                                       // Add one-time referral bonus over referral system or directly
+                                       // Add one-time referal bonus over referal system or directly
                                        $DEPTH = 0;
                                        ADD_POINTS_REFSYSTEM($rid, $_CONFIG['points_ref'], true, bigintval($uid), $locked, $_CONFIG['reg_points_mode']);
                                } // END - if