请问这段代码要把发帖改为HTMLEDIT该如何修改呢? 代码: $header<br> $banner <SCRIPT language=JavaScript> function insertstr(str) { document.postForm.brief.value=document.postForm.brief.value+str; } function btn_q() { txt=prompt("引用内容:","文字"); if(txt!=null) { AddTxt=" "; insertstr(AddTxt); } } function btn_email() { txt=prompt("Email:","@"); if(txt!=null) { AddTxt=""+txt; insertstr(AddTxt); AddTxt=""; insertstr(AddTxt); } } function btn_url() { txt=prompt("URL:","http://"); if(txt!=null) { AddTxt=""+txt; insertstr(AddTxt); AddTxt=""; insertstr(AddTxt); } } function btn_swf() { txt=prompt("Flash动画的URL地址:","http://"); if(txt!=null) { AddTxt="[swf width=450 height=280]"+txt; insertstr(AddTxt); AddTxt="[/swf]"; insertstr(AddTxt); } } function btn_img() { txt=prompt("图片的URL地址:","http://"); if(txt!=null) { AddTxt=""+txt; insertstr(AddTxt); AddTxt=""; insertstr(AddTxt); } } function showcolor(color) { txt=prompt("文字颜色:"+color,"文字"); if(txt!=null) { AddTxt="[color="+color+"]"+txt; insertstr(AddTxt); AddTxt="[/color]"; insertstr(AddTxt); } } function btn_i() { txt=prompt("斜体文字:","斜体字"); if (txt!=null) { AddTxt=""+txt; insertstr(AddTxt); AddTxt=""; insertstr(AddTxt); } } function btn_u() { txt=prompt("下划线文字:","下划线文字"); if (txt!=null) { AddTxt=""+txt; insertstr(AddTxt); AddTxt=""; insertstr(AddTxt); } } function btn_b() { txt=prompt("粗体文字:","粗体字"); if (txt!=null) { AddTxt=""+txt; insertstr(AddTxt); AddTxt=""; insertstr(AddTxt); } } function btn_code() { txt=prompt("插入代码:","在此填写代码"); if (txt!=null) { AddTxt=" 代码: "+txt; insertstr(AddTxt); AddTxt=" "; insertstr(AddTxt); } } </SCRIPT> <script language=javascript> ie = (document.all)? true:false if (ie){ function ctlent(eventobject){if(event.ctrlKey && window.event.keyCode==13){this.document.postForm.submit();}} } function submitonce(theform){ //if IE 4+ or NS 6+ if (document.all||document.getElementById){ //screen thru every element in the form, and hunt down "submit" and "reset" for (i=0;i<theform.length;i++){ var tempobj=theform.elements if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset") //disable em tempobj.disabled=true } } } </script> <div align="center"> <center> <table border="0" width="760" align="center"> <tr> <td width="23%" valign="top">$adminMenu</td> <td width="77%"> <center> <table bgcolor =#006699 cellspacing=1 cellpadding=3 width=95%> <tr bgcolor =#006699> <td colspan = 2 align=center><font color =white>新增/修改文章</font></td> </tr> <tr bgcolor=#ffffff <td> <form action="admin.php?modules=edit" method="POST" name="postForm" enctype="multipart/form-data"> <td align=right>编号:</td> <td><input type=text name=id size=15 value="$id" style='color:#000000; border:0px; background-color: #ffffff' readonly></td> </tr> <tr bgcolor=#efefef> <td align=right>提交者:</td> <td><input type=text name=username size=15 value=$curUser style='color:#000000; border:0px; background-color:#efefef' readonly></td> </tr> <tr bgcolor=#ffffff> <td align=right>文章标题:</td> <td><input type=text name=name size=30 value=$aSoft->name></td> </tr> <tr bgcolor=#efefef> <td align=right>更新日期:</td> <td><input type=text name=date size=20 value=$date></td> </tr> <tr bgcolor=#efefef> <td align=right>文章作者:</td> <td><input type=text name=empower size=20 value=$aSoft->empower></td> </tr> <tr bgcolor=#efefef> <td align=right>推荐程度:</td> <td><select size=1 name=grade> $grade </select></td> </tr> <tr bgcolor=#ffffff> <td align=right>出处:</td> <td><input type=text name=homepage size=50 value=$aSoft->homepage></td> </tr> <tr bgcolor=#efefef> <td align=right>原文连接:</td> <td><input type=text name=demo size=50 value=$aSoft->demo></td> </tr> <tr bgcolor=#ffffff> <td align=right>图片地址:</td> <td><input type=text name=img size=50 value=$aSoft->img></td> </tr> <tr bgcolor=#efefef> <td align=right>文章分类:</td> <td><select size=1 name=sort2id>$category</select></td> </tr> <tr bgcolor=#ffffff> <td align=right>是否推荐:</td> <td>$comment</td> </tr> <tr bgcolor=#efefef> <td align=right>是否显示:</td> <td>$canshow</td> </tr> <tr bgcolor=#ffffff> <td align=right>关键字:</td> <td><input type=text name=keywords size=20 value=$aSoft->keywords></td> </tr> <tr bgcolor=#efefef> <td width=131 valign=top valign=top align=right>文章内容: <br><br>( <font color=red>HTML不支持</font> <br><br> <font color=green>PTB编码支持</font>) </td> <td> <img align=absBottom alt="插入粗体字" onclick=btn_b() src="{$this->tplPath}/images/post/bold.gif" width="23" height="22"> <img align=absBottom alt="插入斜体字" onclick=btn_i() src="{$this->tplPath}/images/post/italicize.gif" width="23" height="22"> <img align=absBottom alt="下划线文字" onclick=btn_u() src="{$this->tplPath}/images/post/underline.gif" width="23" height="22"> <img align=absBottom alt="插入超级链接" onclick=btn_url() src="{$this->tplPath}/images/post/url.gif" width="23" height="22"> <img align=absBottom alt="插入图片" onclick=btn_img() src="{$this->tplPath}/images/post/img.gif" width="23" height="22"> <img align=absBottom alt="插入Flash动画" onclick=btn_swf() src="{$this->tplPath}/images/post/flash.gif" width="23" height="22"> <img align=absBottom alt=插入email onclick=btn_email() src="{$this->tplPath}/images/post/email2.gif" width="23" height="22"> <img align=absBottom alt=插入引用内容 onclick=btn_q() src="{$this->tplPath}/images/post/quote2.gif" width="23" height="22"> <img align=absBottom alt=插入代码 onclick=btn_code() src="{$this->tplPath}/images/post/code.gif" width="23" height="22"> <SELECT class="input5" name=color onchange=showcolor(this.options[this.selectedIndex].value)> <OPTION selected style="COLOR: #cc0099" value=#cc0099>◆深紫◆</OPTION> <OPTION style="COLOR: #009933" value=#009933>◆深绿◆</OPTION> <OPTION style="COLOR: #ff9900" value=#ff9900>◆棕色◆</OPTION> <OPTION style="COLOR: #00cc99" value=#00cc99>◆叶绿◆</OPTION> <OPTION style="COLOR: #ff9999" value=#ff9999>◆粉红◆</OPTION> <OPTION style="COLOR: #cc0066" value=#cc0066>◆深红◆</OPTION> <OPTION style="COLOR: #33ccff" value=#33aaff>◆天蓝◆</OPTION> <OPTION style="COLOR: #330099" value=#330099>◆深蓝◆</OPTION> <OPTION style="COLOR: #333333" value=#333333>◆深灰◆</OPTION></SELECT> <br> <textarea rows=20 name=brief cols=90>$brief</textarea> </td> </tr> <tr bgcolor=#efefef> <td width=492 colspan=2 align=center> <input type=submit value=提交 name={$sendname}> <input type=reset value=重填></td> </form> </tr> </table> </center> </td> </tr> </table> </center> </div>