textbox.asp

来自「zheng fu wang zhan gong neng qi quan」· ASP 代码 · 共 31 行

ASP
31
字号
<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<html>
<head>
<title>_建站铺修正版_bbs.jzpu.com</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%=request.cookies(eChuang)("content")%>
<%
Action=LCase(Request.QueryString("Action"))
newsID=ChkRequest(Request.QueryString("newsID"),1)	'防注入

If request("action")="modify" Then
set rs=server.createobject("adodb.recordset")
sql="select * from "& db_News_Table &" where newsid="&newsid
rs.open sql,conn,1,1
	If Not rs.Eof Then
		Content=rs("Content")
		''图片上传路径还原为 config.asp 中设定的 [FileUploadPath] 值
		Content=replace(Content,"="&chr(34)&"uploadfile/","="&chr(34)&FileUploadPath,1,-1,1)
	End If
	Response.Write Content
End If
%>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?