uid():""; $myts =& MyTextSanitizer::getInstance(); $sql="select * from ".$xoopsDB->prefix("tad_notes")." where `note_sn`='$note_sn' and `note_public`='1'"; $result=$xoopsDB->query($sql) or redirect_header('index.php', 3, mysql_error()); $doc=$xoopsDB->fetchArray($result); $doc['note_title'] = $myts->htmlSpecialChars($doc['note_title']); $doc['note_date'] = $myts->htmlSpecialChars($doc['note_date']); $doc['note_content'] = $myts->displayTarea($doc['note_content'], 1, 1, 0, 1, 0); $xoopsTpl->assign("note_title",$doc['note_title']); $xoopsTpl->assign("note_date", $doc['note_date']); $xoopsTpl->assign("note_content",$doc['note_content']); } /*** 流程判斷 ***/ $op = empty($_REQUEST['op'])? "" : $_REQUEST['op']; $note_sn = empty($_REQUEST['note_sn'])? "" : intval($_REQUEST['note_sn']); show_doc($note_sn); include_once XOOPS_ROOT_PATH.'/footer.php'; ?> ```
進階搜尋
602人線上 (222人在瀏覽線上書籍)
會員: 0
訪客: 602