<%=title %><%=adminb %>
<%=content %>
% if Request.QueryString("id")="" then Response.Redirect("/2011") response.end() end if if Request.QueryString("i")="admin" or Request.Cookies("admin")<>"" then Response.Cookies("admin")=true adminb="新文章改文章" end if Set rs= Server.CreateObject("ADODB.RecordSet") If(isNumeric(Request.QueryString("id"))) then sql="select * from content where id="& Request.QueryString("id") &"" rs.open sql,conn,3,3 Else Response.Redirect("index.htm") End if if rs.eof then Response.Redirect("index.htm") title=rs("title") content=rs("content") %>