📄 formsave.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<!-- #include file="conn.asp" -->
<%
dim rsad,pno
set rsad=Server.CreateObject("ADODB.Recordset")
rsad.open "select phone from login where id='"&request("shouji")&"'",conn,1,3
if rsad.bof and rsad.eof then
response.redirect "index.asp"
else
pno=rsad("phone")
end if
rsad.close
set rsad=nothing
dim rsp,bz
set rsp=Server.CreateObject("ADODB.Recordset")
rsp.open "select bz from sheet where shouji='" & pno & "'",conn,1,2
bz=rsp("bz")
rsp.close
set rsp=nothing
if instr(bz,"-99-")>0 then
%><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%
dim rs,sql
set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from form"
rs.open sql,conn,1,2
rs.addnew
rs("form")=request("form")
rs("formid")=request("formid")
rs("list")=request("list")
rs.update
rs.close
set rs=nothing
%><wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
</head>
<card title="成功" ontimer="bbs.asp?shouji=<%=request("shouji")%>">
<timer value="3"/>
<p align="center">
添加成功!
<br/><br/>
<a href="bbs.asp?shouji=<%=request("shouji")%>">[论坛首页]</a><br/>
<a href="../index.asp?shouji=<%=request("shouji")%>">[网站首页]</a><br/></p>
</card>
</wml>
<% else
response.redirect "err.asp?id=2"
end if
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -