// 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) {
// 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;
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