// That's why you don't need any \n at the end of your HTML code... :-)
if (_OB_CACHING == "on") {
// Output into PHP's internal buffer
- echo stripslashes($HTML);
+ echo $HTML;
// That's why you don't need any \n at the end of your HTML code... :-)
if ($NEW_LINE) echo "\n";
if ((!empty($OUTPUT)) && (_OB_CACHING != "on")) { echo $OUTPUT; $OUTPUT = ""; }
// The same as above... ^
- echo stripslashes($HTML);
+ echo $HTML;
if ($NEW_LINE) echo "\n";
break;
}
// Output code here, DO NOT REMOVE! ;-)
- echo stripslashes($OUTPUT);
+ echo $OUTPUT;
flush();
} elseif ((OUTPUT_MODE == "render") && (!empty($OUTPUT))) {
// Rewrite links when rewrite extension is active
}
// Output code here, DO NOT REMOVE! ;-)
- echo stripslashes($OUTPUT);
+ echo $OUTPUT;
flush();
}
}
$TO = COMPILE_CODE($TO);
// Send Mail away
- SEND_RAW_EMAIL(stripslashes($TO), COMPILE_CODE($SUBJECT), stripslashes($MSG), $FROM);
+ SEND_RAW_EMAIL($TO, COMPILE_CODE($SUBJECT), COMPILE_CODE($MSG), $FROM);
} elseif ($HTML == 'N') {
// Problem found!
- SEND_RAW_EMAIL(WEBMASTER, COMPILE_CODE($SUBJECT), stripslashes($MSG), $FROM);
+ SEND_RAW_EMAIL(WEBMASTER, COMPILE_CODE($SUBJECT), COMPILE_CODE($MSG), $FROM);
}
}
'sex' => TRANSLATE_SEX($sex),
'sname' => $sname,
'fname' => $fname,
- 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".stripslashes($email)."</A>",
+ 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".$email."</A>",
'ip' => $IP,
'ref' => $ref,
'hash' => $hash,
{
// Add this value (including comment)
$result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_max_receive (value, comment) VALUES ('%s', '%s')",
- array(bigintval($_POST['max']), stripslashes($_POST['comment'])),__FILE__, __LINE__);
+ array(bigintval($_POST['max']), $_POST['comment']),__FILE__, __LINE__);
$content = "<SPAN class=\"admin_done\">".MAX_VALUE_SAVED."</SPAN>";
}
else
list($subj, $text, $url) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
define('__ID_VALUE' , $_POST['id']);
- define('__URL_VALUE' , stripslashes($url));
- define('__SUBJ_VALUE', stripslashes($subj));
- define('__TEXT_VALUE', stripslashes($text));
+ define('__URL_VALUE' , $url);
+ define('__SUBJ_VALUE', $subj);
+ define('__TEXT_VALUE', $text);
// Load template
LOAD_TEMPLATE("admin_edit_email");
'link' => $LINK,
'last' => MAKE_DATETIME($EXT_SEARCH['fctime'][$id], "2"),
'size' => TRANSLATE_COMMA(round($EXT_SEARCH['fsize'][$id] / 1.024) / 1000),
- 'info' => stripslashes($EXT_SEARCH['infos'][$id]),
+ 'info' => $EXT_SEARCH['infos'][$id],
);
// Load row template add current size to total size and switch color
'sex' => TRANSLATE_SEX($sex),
'sname' => $sname,
'fname' => $fname,
- 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".stripslashes($email)."</A>",
+ 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".$email."</A>",
'addr' => $IP,
'ref' => $ref,
'status' => TRANSLATE_STATUS($status),
'sex' => TRANSLATE_SEX($sex),
'sname' => $sname,
'fname' => $fname,
- 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".stripslashes($email)."</A>",
+ 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".$email."</A>",
'addr' => $IP,
'ref' => $ref,
'status' => TRANSLATE_STATUS($status),
{
// Output selection form with all confirmed user accounts listed
ADD_MEMBER_SELECTION_BOX();
- }
- elseif (!empty($_POST['lock']))
- {
+ } elseif (!empty($_POST['lock'])) {
// Ok, lock the account!
$result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET status='LOCKED' WHERE userid=%d LIMIT 1",
array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
if (SQL_AFFECTEDROWS($link, __FILE__, __LINE__) == 1)
{
// Send an email to the user! In later version you can optionally switch this feature off
- $msg = LOAD_EMAIL_TEMPLATE("lock-user", stripslashes($_POST['reason']), $_GET['u_id']);
+ $msg = LOAD_EMAIL_TEMPLATE("lock-user", $_POST['reason'], bigintval($_GET['u_id']));
// Send away...
SEND_EMAIL($email, ADMIN_LOCKED_SUBJ, $msg);
// Prepare message
$MSG = USER_ACCOUNT_LOCKED_1.$_GET['u_id'].USER_ACCOUNT_LOCKED_2;
$ACT = true;
- }
- elseif (!empty($_POST['unlock']))
- {
+ } elseif (!empty($_POST['unlock'])) {
// Ok, unlock the account!
$result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET status='CONFIRMED' WHERE userid=%d LIMIT 1",
array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
if (SQL_AFFECTEDROWS($link, __FILE__, __LINE__) == 1)
{
// Send an email to the user! In later version you can optionally switch this feature off
- $msg = LOAD_EMAIL_TEMPLATE("unlock-user", stripslashes($_POST['reason']), $_GET['u_id']);
+ $msg = LOAD_EMAIL_TEMPLATE("unlock-user", $_POST['reason'], bigintval($_GET['u_id']));
// Send away...
SEND_EMAIL($email, ADMIN_UNLOCKED_SUBJ, $msg);
// Update entry
$result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_refbanner SET url='%s', alternate='%s', visible='%s' WHERE id=%d LIMIT 1",
- array(stripslashes($_POST['url'][$id]), $_POST['alternate'][$id], $_POST['visible'], $id), __FILE__, __LINE__);
+ array($_POST['url'][$id], $_POST['alternate'][$id], $_POST['visible'], $id), __FILE__, __LINE__);
}
break;
}
}
// Compile message
- $_POST['text'] = stripslashes(COMPILE_CODE($_POST['text']));
+ $_POST['text'] = COMPILE_CODE($_POST['text']);
// Load template
$msg = LOAD_EMAIL_TEMPLATE($template, $_POST['text'], $id);
<TR>
<TD class=\"switch_sw".$SW." bottom2\"> </TD>
<TD colspan=\"4\" class=\"switch_sw".$SW." bottom2\">
- <FONT class=\"tiny\">".stripslashes($THEMES['infos'][$idx])."</FONT>
+ <FONT class=\"tiny\">".$THEMES['infos'][$idx]."</FONT>
</TD>
</TR>\n";
$TSIZE += $THEMES['fsize'][$idx];
}
// Now a mail to the user and that's all...
- $msg = LOAD_EMAIL_TEMPLATE("del-user", stripslashes($reason), $uid);
+ $msg = LOAD_EMAIL_TEMPLATE("del-user", $reason, $uid);
SEND_EMAIL($uid, ADMIN_DEL_ACCOUNT, $msg);
// Ok, delete the account!