| <html
xmlns:AI> <head> <?import namespace="AI" implementation="aiEditor.htc" /> </head> <body> <% Set conn = Server.CreateObject("ADODB.Connection") conn.Open Application("newsconn") sql = "SELECT newscontent FROM news_detail WHERE newsid='"&request("newsid")&"'" Set rs = Server.CreateObject("ADODB.Recordset") rs.Open sql,conn,1,2 %> <AI:aiEditor id="aiEditor" color="buttonface" content ="" font="宋体 ,楷体_GB2312 ,黑体 ,仿宋 ,Arial ,Verdana , Tahoma, Times New Roman,Georgia" font_size="8,9,10,11,12,13,14,16,20,24,48" height="400" hide_btn="open,save,image" load_method="inline" load_url="" link_get="aynHTML/sample/text/links.xml" open_method="default" palette="web, system" path="aynHTML/" style_import="1" stylesheet="aynHTML/internal.css" width="600"> <%=rs("newscontent")%> </AI:aiEditor> <% rs.Close conn.Close Set rs = nothing Set conn = nothing %> </body> </html> |