
<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head()
Call saycardd("文章修改")

dim classid,test,title,id
id=request.QueryString("id")
 classid=request.QueryString("classid") 
if id="" or IsNumeric(id) = False then
  Response.write "ID错误！"
  Response.write "<br/><anchor><prev/>返回</anchor>"
  call head3()
  Response.end
end if
if classid="" or IsNumeric(classid) = False then
  Response.write "ID错误！"
  Response.write "<br/><anchor><prev/>返回</anchor>"
  call head3()
  Response.end
end if
 test=request.form("test")
 title=request.form("title")

if test="" or title=""  then
  Response.write "各项都不可以为空！"
  Response.write "<br/><anchor><prev/>返回</anchor>"
  call head3()
  Response.end
end if
        set rs=server.createobject("adodb.recordset")
	sql="select * from sms where id="&id
	rs.open sql,conn,3,3
        rs("test")=test
        rs("YD_date")=now()
        rs("title")=title
        rs.update
	 rs.close
	 set rs=nothing
         conn.Close
         set conn=Nothing 
        %>
修改成功!
<br/>----------<br/>
<a href="adminsmscl.asp?sid=<%=sid%>&amp;id=<%=classid%>&amp;saytk=<%=saytk%>">[返回列表]</a><br/>
<a href="wzclass.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[返回分类]</a><br/>

<a href="../index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%response.write""
call head3()%>