📄 union_psdsave.asp
字号:
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?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">
<!--#include file="../data/conn.asp"-->
<!--#include file="union_loginoff.asp"-->
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
</head>
<%
dim unionid,regname,regpsd,regqq,regphone,regmail
unionid=request.form("unionid")
regname=request.form("regname")
regpsd=request.form("pass")
regqq=request.form("regqq")
regphone=request.form("regphone")
regmail=request.form("regmail")
if regpsd="" or regqq="" then
response.write "<card id='card1' title='修改网站'><p align='left'>"
response.write "对不起,各项都必须填写!<br/><br/>----------<br/><a href='site_regedit.asp?unionid="&unionid&"'>[返回重写]</a><br/></p></card></wml>"
response.end
End if
set objgbrs=Server.CreateObject("ADODB.Recordset")
sql="select * from reg where siteid='" & unionid &"'"
objgbrs.open sql,conn,1,2
objgbrs("regname")=regname
objgbrs("regpsd")=regpsd
objgbrs("regqq")=regqq
objgbrs("regphone")=regphone
objgbrs("regmail")=regmail
objgbrs.update
objgbrs.close
set objgbrs=nothing
response.write "<card id='card1' title='操作成功' ontimer='union_manage.asp?unionid=" & unionid &"'><timer value='5'/><p>"
response.write"修改成功!!正在返回...<br/><br/><a href='union_manage.asp?unionid="& unionid &"'>[管理首页]</a>"
response.write "</p></card></wml>"
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -