<%if request("send")="提交任务" then
if session("person")="" then
response.write"<script>alert('用户超时,请重新登录!');history.back();</script>"
end if
if (request.form("nm")="1" ) then
nmfen=mdf
niming=1
else
nmfen=0
niming=0
end if
if request("shang")="" then
shang=0
else
shang=cINT(request("shang"))
end if
rs3.open"select * from person where name='"&session("person")&"'",conn,1,1
shang1=rs3("qian")
rs3.close
if shang <= shang1 then
response.write"<script>alert('您的金额不足,请冲值后继续!');history.back();</script>"
response.end
end if
%>