}
elseif (!IS_LOGGED_IN())
{
- LOAD_URL(URL."/modules.php?module=index");
+ LOAD_URL("modules.php?module=index");
}
// Add description as navigation point
case "NORMAL":
$result_data = SQL_QUERY_ESC("SELECT subject, subject, timestamp_ordered, cat_id, payment_id, pool_id FROM "._MYSQL_PREFIX."_user_stats WHERE id=%d LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
- $TYPE = "mailid"; $DATA = $id; $PROBLEM = NORMAL_MAIL_PROBLEM;
+ $type = "mailid"; $DATA = $id; $PROBLEM = NORMAL_MAIL_PROBLEM;
break;
case "BONUS":
$result_data = SQL_QUERY_ESC("SELECT subject, text, timestamp, cat_id, points, id FROM "._MYSQL_PREFIX."_bonus WHERE id=%d LIMIT 1",
array(bigintval($id2)), __FILE__, __LINE__);
- $TYPE = "bonusid"; $DATA = $id2; $PROBLEM = BONUS_MAIL_PROBLEM;
+ $type = "bonusid"; $DATA = $id2; $PROBLEM = BONUS_MAIL_PROBLEM;
break;
}
'sw' => $SW,
'uid' => $GLOBALS['userid'],
'data' => $DATA,
- 'type' => $TYPE,
+ 'type' => $type,
'subj' => $subject,
'text' => COMPILE_CODE($text),
'stamp' => MAKE_DATETIME($timestamp, "0"),