<?php include '../../mainfile.php'; $com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0; if ($com_itemid > 0) { $sql="select note_title,note_content from ".$xoopsDB->prefix("tad_notes")." where note_sn='{$com_itemid}'"; $result=$xoopsDB->query($sql) or redirect_header($_SERVER['PHP_SELF'],3, mysql_error()); list($title,$com_replytext)=$xoopsDB->fetchRow($result); } $com_replytitle = "RE:{$title}"; $myts =& MyTextSanitizer::getInstance(); $com_replytitle = $myts->htmlSpecialChars($com_replytitle); include XOOPS_ROOT_PATH.'/include/comment_new.php'; ?>