if ($GLOBALS['output_mode'] == 1) return;
// Create timemark from saved month
-$mark = mktime(0, 0, 0, getConfig('last_month'), date("d", time()), date('Y', time()));
+$mark = mktime(0, 0, 0, getConfig('last_month'), date('d', time()), date('Y', time()));
$sql = ''; $mode = '';
// Shall I sent activation or deactivation mail?
} else {
// Send normal notification mail to the members
$message = LOAD_EMAIL_TEMPLATE('bonus_' . $mode . '_notify', array(), $content['userid']);
- SEND_EMAIL($content['email'], $subject, $message);
+ sendEmail($content['email'], $subject, $message);
}
} // END - while
$URL = 'modules.php?module=index&what=login';
// Insert mail
- ADD_BONUS_MAIL_TO_QUEUE($subject, $message, $RECEIVER, getConfig('bonus_notify_points'), getConfig('bonus_notify_wait'), $URL, 0, 'normal', SQL_NUMROWS($result_main));
+ addBonusMailToQueue($subject, $message, $RECEIVER, getConfig('bonus_notify_points'), getConfig('bonus_notify_wait'), $URL, 0, 'normal', SQL_NUMROWS($result_main));
} // END - if
} // END - if