?? savezhh.asp
字號:
<!--#include file="cn.asp"-->
<%if session("admin")="" or request.cookies("timesshop")("admin")="" then
response.Write "<script language='javascript'>alert('請先登錄!');window.location.replace('login.asp');</script>"
response.End
cn.close
set cn=nothing
end if
set rs=server.CreateObject("adodb.recordset")
sql="select * from zhh "
rs.open sql,cn,1,3
rs.addnew
rs("title")=trim(request.Form("title"))
rs("ztime")=trim(request.Form("time"))
rs("address")=trim(request.Form("address"))
rs("zhouqi")=trim(request.Form("zhouqi"))
rs("duixiang")=trim(request.Form("duixiang"))
rs("start")=trim(request.Form("start"))
rs("zhuban")=trim(request.Form("zhuban"))
rs("chengban")=trim(request.Form("chengban"))
rs("fanwei")=trim(request.Form("fanwei"))
rs("inf")=trim(request.Form("inf"))
rs.update
response.Write "<script language=javascript>alert('添加成功!');history.go(-1);</script>"
response.End()
rs.close
set rs=nothing
cn.close
set cn=nothing
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -