define('__POINTS_VALUE', REQUEST_POST('points'));
// Is the form sent?
- if ((IS_FORM_SENT()) && (REQUEST_POST('points') > 0)) {
+ if ((isFormSent()) && (REQUEST_POST('points') > 0)) {
$result_main = SQL_QUERY("SELECT userid, email FROM `{!_MYSQL_PREFIX!}_user_data` WHERE `status`='CONFIRMED' ORDER BY `userid` ASC",
__FILE__, __LINE__);
while ($content = SQL_FETCHARRAY($result_main)) {
// Selected user does exist
$content = SQL_FETCHARRAY($result);
- if ((IS_FORM_SENT()) && (REQUEST_ISSET_POST(('points')))) {
+ if ((isFormSent()) && (REQUEST_ISSET_POST(('points')))) {
// Ok, add to used points and send an email to him...
SUB_POINTS("admin_single", bigintval(REQUEST_GET('uid')), REQUEST_POST('points'));