// Get total points for just displaying them
$points = GET_TOTAL_DATA($GLOBALS['userid'], "user_points", "points") - GET_TOTAL_DATA($GLOBALS['userid'], "user_data", "used_points");
// Prepare data for the template
$content['points'] = TRANSLATE_COMMA($points);
// Get total points for just displaying them
$points = GET_TOTAL_DATA($GLOBALS['userid'], "user_points", "points") - GET_TOTAL_DATA($GLOBALS['userid'], "user_data", "used_points");
// Prepare data for the template
$content['points'] = TRANSLATE_COMMA($points);