<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<html>
<head>
<title></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(echsys)("content")%>
<%
Action=LCase(Request.QueryString("Action"))
EC_ArticleID=ChkRequest(Request.QueryString("EC_ArticleID"),1)	'防注入

If request("action")="modify" Then
set rs=server.createobject("adodb.recordset")
sql="select * from "& db_wygkcn_Article_Table &" where EC_ArticleID="&EC_ArticleID
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>