⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modify_save.asp

📁 asp+access开发的网上购物程序
💻 ASP
字号:
<%@ codepage ="936" %><%if id=session("id") thensession("pageid")="modify"response.redirect "../login/login.asp"elseid=session("id")%><!--#include file="../../conn/dbconn2.asp"--><!--#include file="../../inc/config.asp"--><script LANGUAGE="JavaScript">function goHist(a) {history.go(a); }</script><%dim rsgsdim gssqldim userdim passdim questiondim answerdim sfdim citydim postdim addressdim phonedim mobiledim faxdim emaildim webdim namedim chdim bmdim zw dim gsiddim sortiddim typeiddim errmsguser=request.form("user")pass=request.form("pass")question=request.form("question")answer=request.form("answer")sf=request.form("sf")mobile=request.form("mobile")city=request.form("city")post=request.form("post")address=request.form("address")phone=request.form("phone")email=request.form("email")name=request.form("name")ch=request.form("ch")bm=request.form("bm")zw=request.form("zw")if trim(request.form("sf"))="北京" thencityid="1"end ifif trim(request.form("sf"))="上海" thencityid="2"end ifif trim(request.form("sf"))="天津" thencityid="3"end ifif trim(request.form("sf"))="重庆" thencityid="4"end ifif trim(request.form("sf"))="黑龙江" thencityid="5"end ifif trim(request.form("sf"))="吉林" thencityid="6"end ifif trim(request.form("sf"))="辽宁" thencityid="7"end ifif trim(request.form("sf"))="内蒙古" thencityid="8"end ifif trim(request.form("sf"))="河北" thencityid="9"end ifif trim(request.form("sf"))="新疆" thencityid="10"end ifif trim(request.form("sf"))="甘肃" thencityid="11"end ifif trim(request.form("sf"))="宁夏" thencityid="12"end ifif trim(request.form("sf"))="山西" thencityid="13"end ifif trim(request.form("sf"))="山东" thencityid="14"end ifif trim(request.form("sf"))="青海" thencityid="15"end ifif trim(request.form("sf"))="西藏" thencityid="16"end ifif trim(request.form("sf"))="四川" thencityid="17"end ifif trim(request.form("sf"))="陕西" thencityid="18"end ifif trim(request.form("sf"))="河南" thencityid="19"end ifif trim(request.form("sf"))="湖北" thencityid="20"end ifif trim(request.form("sf"))="安徽" thencityid="21"end ifif trim(request.form("sf"))="江苏" thencityid="22"end ifif trim(request.form("sf"))="浙江" thencityid="23"end ifif trim(request.form("sf"))="江西" thencityid="24"end ifif trim(request.form("sf"))="湖南" thencityid="25"end ifif trim(request.form("sf"))="贵州" thencityid="26"end ifif trim(request.form("sf"))="云南" thencityid="27"end ifif trim(request.form("sf"))="广西" thencityid="28"end ifif trim(request.form("sf"))="广东" thencityid="29"end ifif trim(request.form("sf"))="福建" thencityid="30"end ifif trim(request.form("sf"))="海南" thencityid="31"end ifif trim(request.form("sf"))="香港" thencityid="32"end ifif trim(request.form("sf"))="澳门" thencityid="33"end ifif trim(request.form("sf"))="台湾" thencityid="34"end ifif trim(request.form("sf"))="郑州市" thencityid="35"end ifif trim(request.form("sf"))="安阳市" thencityid="36"end ifif trim(request.form("sf"))="濮阳市" thencityid="37"end ifif trim(request.form("sf"))="鹤壁市" thencityid="38"end ifif trim(request.form("sf"))="新乡市" thencityid="39"end ifif trim(request.form("sf"))="焦作市" thencityid="40"end ifif trim(request.form("sf"))="三门峡" thencityid="41"end ifif trim(request.form("sf"))="洛阳市" thencityid="42"end ifif trim(request.form("sf"))="南阳市" thencityid="43"end ifif trim(request.form("sf"))="平顶山" thencityid="44"end ifif trim(request.form("sf"))="漯河市" thencityid="45"end ifif trim(request.form("sf"))="许昌市" thencityid="46"end ifif trim(request.form("sf"))="开封市" thencityid="47"end ifif trim(request.form("sf"))="商丘市" thencityid="48"end ifif trim(request.form("sf"))="驻马店" thencityid="49"end ifif trim(request.form("sf"))="周口市" thencityid="50"end ifif trim(request.form("sf"))="信阳市" thencityid="51"end ifif trim(request.form("sf"))="济源市" thencityid="52"end ifif trim(request.form("sf"))="其它" thencityid="53"end ifif trim(request.form("mobile"))="" thenmobile="空"elsemobile=request.form("mobile")end ifif trim(request.form("zw"))="" thenzw="空"elsezw=request.form("zw")end ifif trim(request.form("fax"))="" thenfax="空"elsefax=request.form("fax")end ifif trim(request.form("web"))="" thenweb="空"elseweb=request.form("web")end ifid=session("id")%><%set rs=server.CreateObject ("adodb.recordset")sql="select * from qyml where id="&idrs.open sql,conn,1,3rs("user")=userrs("pass")=passrs("question")=questionrs("answer")=answerrs("sf")=sfrs("city")=cityrs("post")=postrs("address")=addressrs("mobile")=mobilers("phone")=phoners("fax")=faxrs("email")=emailrs("web")=webrs("name")=namers("ch")=chrs("bm")=bmrs("zw")=zwrs("gsid")=userrs("cityid")=cityidrs.updatesession("id")=rs("id")session("user")=rs("user")session("pass")=rs("pass")session("question")=rs("question")session("answer")=rs("answer")session("Sf")=rs("Sf")session("City")=rs("City")session("Post")=rs("Post")session("Address")=rs("Address")session("mobile")=rs("mobile")session("Phone")=rs("Phone")session("Fax")=rs("Fax")session("Email")=rs("Email")session("Web")=rs("Web")session("name")=rs("name")session("ch")=rs("ch")session("bm")=rs("bm")session("zw")=rs("zw")rs.closeset rs=notingconn.closeset conn=nothing %><LINK href="../../css/Style.css" rel=stylesheet type=text/css><HTML><HEAD><TITLE><%=WebName%>-会员管理平台</TITLE><a name="a"></a><META content=zh-cn http-equiv=Content-Language><META content="text/html; charset=gb2312" http-equiv=Content-Type><META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD><BODY leftMargin=0 oncontextmenu="return false" onselectstart="return false" topMargin=0 marginheight="0" marginwidth="0" bgcolor="#000080" style="background-color: #FDFDFD"><div align="center"><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber1"><tr><td width="719" height="77" valign="top" bgcolor="#FFFFFF"><center><FORM method="POST" action="../../Login/modify_save.asp" name="Form1" onsubmit="return FormCheck();" ><INPUT type=hidden value=name=which> <TABLE align=center border=0 cellPadding=1 cellSpacing=0 width="515" height="547"><TBODY><TR vAlign=top><TD width="513" height="545" bgcolor="#FFFFFF"><div align="center"><center><TABLE border=0 width="538" height="105" bordercolor="#111111" style="border-collapse: collapse" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" cellpadding="2"><TBODY><tr><TD align=left height="1" width="290" bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="76%" id="AutoNumber4" height="24"><tr><td width="100%" height="24" style="color: #000; font-family: 宋体; font-size: 12px" background="../IMAGES/newmiddle-bg7.gif"><FONT color=#000000><IMG src="../../Login/images/bul_arrowGrnSm.gif"></FONT><font class=f12 style="font-size: 10.5pt"><b> 修改基本资料</b></font></td></tr></table></TD></CENTER> <TD align=left height="1" width="237" bgcolor="#FFFFFF"></TD></TR> <CENTER><TBODY><INPUT name=provincetwo type=hidden> </TD> </tr> <tr> </CENTER> <CENTER> </tr> </CENTER> <tr><TD align=right height="47" width="530" colspan="2"><table border="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10" bordercolorlight="#CEDBFF" bordercolordark="#CEDBFF"><tr><TD style="color: #000; font-family: 宋体; font-size: 12px" bgcolor="#F4FAFF"><div align="center"><center><table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="98%" id="AutoNumber3" height="166"><tr><td width="100%" height="162" valign="top" bgcolor="#F4FAFF"> <div align="center"><center><table border="0" cellspacing="3" width="98%" cellpadding="4" height="78" style="border-collapse: collapse" bordercolor="#111111"><tr><td height="51" bgcolor="#FFFFFF"><P style="line-height: 180%"><b><span style="font-size: 10.5pt">&nbsp;&nbsp; 尊敬的会员朋友:</span></b></P><p style="line-height: 180%"> &nbsp;&nbsp; 欢迎来<%=webname%>网站,您已经修改了您个人用户的资料,<br>&nbsp;&nbsp; 您的用户名是<b><%=session("user")%></b>,请记住您的密码:<b><%=session("pass")%></b><br>&nbsp;&nbsp;请您记住您的用户名和密码,<a target="_top" href="../../default.asp"><font style='color: #f60'>返回主页!</font></a></p></td></tr><tr><td height="45" bgcolor="#FFFFFF"><p align="center"><font style='color: #f60; font-size:11.5pt'><b>用我们不断的努力 创造您无限的商机!!</b></font></td></tr></table></center></div></td></tr></table></center></div></TD></tr></table></TD></tr> <tr> <CENTER></tr><tr></CENTER><CENTER></tr><tr> </CENTER> <CENTER> </tr> </TBODY></TABLE></center></div></CENTER></TD></TR></TBODY></TABLE></FORM></td></tr><tr><td width="100%"> </td></tr></table></center></div><%end if%></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -