非诚勿扰朱峰返场视频:为什么使用eWeb编辑器后文字可以正常显示而图片显示源代码??
来源:百度文库 编辑:高校问答 时间:2024/05/24 00:19:48
我把代码放在下面了希望高手给予解答
急啊!
<!--#include file="admin.asp"-->
<!--#include file="conn.asp"-->
<%if Request.QueryString("no")="eshop" then%>
<%
title=server.htmlencode(Trim(Request("title")))
content=server.htmlencode(Trim(Request("content")))
%>
<%
If title="" Then
response.write "SORRY <br>"
response.write "请输入更新内容的标题!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If content="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from nuoli "
rs.open sql,conn,1,3
rs.addnew
rs("title")=title
rs("content")=content
rs("counter")=0
rs.update
rs.close
response.redirect "Manage_nuoli.asp"
end if
%>
<!-- #include file="Inc/Head.asp" -->
< <form method="post" action="Manage_nuoliAdd.asp?no=eshop"><td><div align="center">
<table width="100%" border="0" cellspacing="2" cellpadding="3">
<tr>
<td width="8%" height="25" bgcolor="#C0C0C0"> <div align="center">标 题</div></td>
<td width="62%" bgcolor="#C0C0C0"><input type="text" name="title" class="inputtext" maxlength="30" size="25"></td>
</tr>
<tr>
<td height="22" bgcolor="#E3E3E3">
<div align="center">UBB代码</div></td>
<td bgcolor="#E3E3E3"><script src=../Inc/eshopcode.js></script>
<!--#include file=../Inc/Ubb.inc -->
</td>
</tr>
<tr>
<td height="25" bgcolor="#C0C0C0"><div align="center">内 容</div></td>
<td height="25" bgcolor="#C0C0C0">
<textarea name="content" cols="57" rows="12" s="display:none" wrap="PHYSICAL"></textarea>
<iframe src="../ewb/ewebeditor.asp?id=content&s=xg" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe> </tr>
</td>
<tr>
<td height="25" colspan="2" bgcolor="#E3E3E3">
<div align="center">
<input type="submit" value="确定">
<input type="reset" value="取消">
</table>
</div></td></form>
</tr>
</table>
<br>
<br>
</td>
</tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
急啊!
<!--#include file="admin.asp"-->
<!--#include file="conn.asp"-->
<%if Request.QueryString("no")="eshop" then%>
<%
title=server.htmlencode(Trim(Request("title")))
content=server.htmlencode(Trim(Request("content")))
%>
<%
If title="" Then
response.write "SORRY <br>"
response.write "请输入更新内容的标题!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If content="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from nuoli "
rs.open sql,conn,1,3
rs.addnew
rs("title")=title
rs("content")=content
rs("counter")=0
rs.update
rs.close
response.redirect "Manage_nuoli.asp"
end if
%>
<!-- #include file="Inc/Head.asp" -->
< <form method="post" action="Manage_nuoliAdd.asp?no=eshop"><td><div align="center">
<table width="100%" border="0" cellspacing="2" cellpadding="3">
<tr>
<td width="8%" height="25" bgcolor="#C0C0C0"> <div align="center">标 题</div></td>
<td width="62%" bgcolor="#C0C0C0"><input type="text" name="title" class="inputtext" maxlength="30" size="25"></td>
</tr>
<tr>
<td height="22" bgcolor="#E3E3E3">
<div align="center">UBB代码</div></td>
<td bgcolor="#E3E3E3"><script src=../Inc/eshopcode.js></script>
<!--#include file=../Inc/Ubb.inc -->
</td>
</tr>
<tr>
<td height="25" bgcolor="#C0C0C0"><div align="center">内 容</div></td>
<td height="25" bgcolor="#C0C0C0">
<textarea name="content" cols="57" rows="12" s="display:none" wrap="PHYSICAL"></textarea>
<iframe src="../ewb/ewebeditor.asp?id=content&s=xg" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe> </tr>
</td>
<tr>
<td height="25" colspan="2" bgcolor="#E3E3E3">
<div align="center">
<input type="submit" value="确定">
<input type="reset" value="取消">
</table>
</div></td></form>
</tr>
</table>
<br>
<br>
</td>
</tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
ewebeditor已经完全够用了,不必再加什么ubb了,你再用ubb过滤一遍的话就会显示源代码了
为什么使用eWeb编辑器后文字可以正常显示而图片显示源代码??
为什么使用eWebeditor编辑器后文字可以正常显示而图片显示源代码
为什么在ASP中使用文字可以正常显示而图片显示源代码??
2006版CAD使用文字编辑器无法更改标注的尺寸,但可以输入汉字
mathcad2001安装好后打开总是说打印错误,我又不要打印啊,取消后可以正常使用,为什么
电脑开机后不运行程序,桌面没有响应,但是注销后可以正常使用,不怎么为什么,请帮帮小弟
哪位好心人可以告诉我QQ场景编辑器如何加文字?
为什么电脑启动后需要等待很长时间才能正常使用
为什么瑞星升级后迅雷就不能正常使用!!!
为什么安装office 2000后,frontpage不能正常使用