之前网站用的是UBB编辑器,现在想改成eWebEditor
改后发现 文字倒是可以在前台显示,但什么加粗等的效果却显示代码,还有就是后台编辑后提交编辑器上无内容,网各位大虾帮帮忙,小弟在此谢过了,我是新手,请各位指教
错误代码如下,麻烦大虾帮我看看。谢谢了
<!--#include file="admin.asp"-->
<!--#include file="conn.asp"-->
<%Jigou=server.htmlencode(Trim(Request("content"))) %>
<%if Request.QueryString("no")="eshop" then
set rs=server.createobject("adodb.recordset")
sql="select * from main"
rs.open sql,conn,3,3
rs("Jigou")=Jigou
rs.update
rs.close
response.redirect "Manage_Main1.asp"
end if
sql="select * from main"
Set rs_home= Server.CreateObject("ADODB.Recordset")
rs_home.open sql,conn,1,1
%>
<html>
<head>
<title>组织结构管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<table width="633" border="0" cellspacing="0" cellpadding="0" Class="border">
<tr bgcolor="#39867B">
<td height="22" align=center><strong>发 展 前 景 信 息 设 置</strong></td>
</tr>
<tr>
<form method="POST" action="Manage_Main1.asp?no=eshop">
<td><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="300" bgcolor="#ECF5FF">
<input type="hidden" name="content" value="<%=Server.HTMLEncode(rs_Market("jigou"))%>">
<iframe ID="eWebEditor1" src="Southidceditor/ewebeditor.asp?id=content&0" scrolling="no" width="550" HEIGHT="450"></iframe>
</td>
</tr>
<tr bgcolor="#ECF5FF">
<td height="30"> <div align="center">
<input type="submit" value=" 修 改 "
name="cmdok">
<input type="reset" value=" 重 写 "
name="cmdcancel">
</div></td>
</tr>
</table></td>
</form>
</tr>
</table>
<strong> </strong></td>
</tr>
</table>
<%
rs_Market.close
set rs_Market=nothing
%>