24 $xoops->disableErrorReporting();
29 if (!
$xoops->security()->validateToken(@$_POST[
'token'],
false)) {
30 $content =
'Direct access is not allowed!!!';
32 $html = empty($_POST[
'html']) ? 0 : 1;
34 if (preg_match_all(
'/%u([[:alnum:]]{4})/',
$content, $matches)) {
35 foreach ($matches[1] as $uniord) {
36 $utf =
'&#x' . $uniord .
';';
42 if (! headers_sent()) {
43 header(
'Content-Type:text/html; charset=ISO-8859-1');
44 header(
'Expires: Mon, 26 Jul 1997 05:00:00 GMT');
45 header(
'Cache-Control: private, no-cache');
46 header(
'Pragma: no-cache');
if(!$xoops->security() ->validateToken(@$_POST['token'], false)) $html
defined('DS') or define('DS' DIRECTORY_SEPARATOR