if ((isset($_POST['ok'])) && (!empty($_POST['points'])))
{
// Ok, add points to used points and send an email to him...
- SUB_POINTS($uid, $_POST['points']);
+ SUB_POINTS("admin_all", $uid, $_POST['points']);
// Prepare content
$content = array(
if ((isset($_POST['ok'])) && (!empty($_POST['points'])))
{
// Ok, add to used points and send an email to him...
- SUB_POINTS(bigintval($_GET['u_id']), $_POST['points']);
+ SUB_POINTS("admin_single", bigintval($_GET['u_id']), $_POST['points']);
// Prepare content
$content = array(
{
// Opps, missing form here
define('__USER_VALUE', "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".$sname." ".$fname."</A>");
- define('__UID_VALUE', $_GET['u_id']);
+ define('__UID', bigintval($_GET['u_id']));
LOAD_TEMPLATE("admin_sub_points");
}
}