<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<!-- #include file="Upload.inc" -->
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑文章</title>
</head>
<body>
<%
dim id,classid,test,title
id=request.querystring("id")
   classid=request("classid") 
if id="" or IsNumeric(id) = False then
  Response.write "ID错误！"
  Response.write "
"
  Response.end
end if
if classid="" or IsNumeric(classid) = False then
  Response.write "ID错误！"
  Response.write "
"
  Response.end
end if
 test=request.form("test")
 title=request.form("title")
        set rs=server.createobject("adodb.recordset")
	sql="select * from sms Where id="&id
	rs.open sql,conn,1,3
        rs("test")=test
        rs("YD_date")=now()
        rs("title")=title
        rs.update
	rs.close
	set rs=nothing
response.write "文章编辑成功!"
%><br/>----------<br/>
<a href="adminsmscl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=classid%>">[返回文章]</a><br/>
<a href="wzclass.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[文章分类]</a><br/>
<a href="../index.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[后台管理]</a>
</body>
</html>