// Ok, add points and send an email to him...
ADD_POINTS_REFSYSTEM($uid, bigintval($_POST['points']), false, "0", false, "direct");
// Ok, add points and send an email to him...
ADD_POINTS_REFSYSTEM($uid, bigintval($_POST['points']), false, "0", false, "direct");