📄 pjf.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<!-- #include file="conn.asp" --><?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">
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
</head>
<card title="操作成功">
<p>
<%
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 * from sheet where shouji='" & pno & "'",conn,1,2
bz=rsp("bz")
rsp.close
set rsp=nothing
if instr(bz,"-99-")>0 or instr(bz,"-98-")>0 or instr(bz,"-97-")>0 then
dim pid,f,kf
pid=request.queryString("pid")
f=cint(request.queryString("f"))
kf=cint(request.queryString("kf"))
dim rspp
set rspp=Server.CreateObject("ADODB.Recordset")
rspp.open "select tie from sheet where ID=" & pid,conn,1,2
if rspp.recordcount<>0 then
rspp("tie")=rspp("tie")+f+kf
rspp.update
end if
response.write "加/减分成功!<br/>"
rspp.close
set repp=nothing
else
%>您无权修改!<br/><%
end if
conn.close
set conn=nothing
%><anchor><prev/>[后退]</anchor><br/>
<a href="bbs.asp?shouji=<%=request("shouji")%>">[论坛首页]</a><br/>
<a href="../index.asp?shouji=<%=request("shouji")%>">[网站首页]</a><br/>
</p>
</card>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -