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

📄 usermodiinfo.asp

📁 购物系统时尚版.强大的后台文章编辑器的功能
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
dim key,toppath,dbpath
toppath=""
dbpath=""
%>
<!--#include file="chk.asp" -->
<!--#include file="db_conn.asp"-->
<!--#include file="my_lib/my_request.asp"-->
<!--#include file="include/javacheck.asp"-->
<%
userid=session("chk_id")
sql="select * from user_info_list where id="&userid
set rs=conn.execute (sql)
txt_login_name=rs("txt_login_name")
txt_question=rs("txt_question")
txt_email=rs("txt_email")
txt_realname=rs("txt_realname")
txt_idcard=rs("txt_idcard")
txt_sex=rs("txt_sex")
txt_kind=rs("txt_kind")
txt_address=rs("txt_address")
txt_postal=rs("txt_postal")
txt_phone=rs("txt_phone")
txt_mobile=rs("txt_mobile")
txt_qq=rs("txt_qq")
txt_msn=rs("txt_msn")
rs.close
set rs=nothing
'conn.close
'set conn=nothing
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/main.css" rel="stylesheet" type="text/css">
<title>会员控制面版-用户资料修改</title>
</head>

<body topmargin="1">

<!--#include file="top.asp" -->

<div align="center">
	<table border="1" width="760" id="table1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#F47E36">
		<tr>
			<td valign="top">
			<table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0">
				<tr>
					<td height="25" class=smallfont bgcolor="#FFEEDD" colspan="2" style="border-top: 3px solid #F47E36">
					<p align="center">『会员控制中心』</td>
				</tr>
				<tr>
					<td width="23%" valign="top" bgcolor="#EEF7FF">
					<table border="0" width="100%" id="table3" cellspacing="1">
						<tr>
							<td bgcolor="#EEF7FF" height="18" class=smallfont><font color=#CC0000><%=session("chk_name")%></font>,您好&nbsp;状态:已登录</td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="UserModiInfo.asp">修改用户资料</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="UserModiPass.asp">修改用户密码</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="MessageBack.asp">留言反馈</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="revert.asp">留言跟踪处理</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="MyFavorite.asp">我的收藏夹</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="MyHisoryCart.asp">查询历史订单</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a target="_blank" href="my_cart_list.asp">我的购物车</a></td>
						</tr>
						<tr>
							<td bgcolor="#EEF7FF" height="18" onmouseout="this.style.background='#EEF7FF'" 
onmouseover="this.style.background='#FF9900'" class=smallfont>
							<img height="11" src="images/dt3.gif" width="11" border="0">&nbsp; 
							<a href="loginout.asp">退出登录</a></td>
						</tr>
						</table>
					</td>
					<td width="77%" valign="top">
					<table border="0" width="584" id="table4" cellspacing="1" class=smallfont>
					<form action="SaveUserInfo.asp" method=post name="reg" onsubmit="return regsubmit();">
						<tr>
							<td colspan="4">
							<p align="center">用户资料修改</td>
						</tr>
						<tr>
							<td width="125" align="right">用户名:</td>
							<td width="178">
							<input name=username type=text id=username size=20 maxlength=15 value="<%=txt_login_name%>" disabled></td>
							<td width="104" align="right">电子邮件地址:</td>
							<td width="164">
							<input name=email type=text id=email size=20 maxlength=30 value="<%=txt_email%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">密码提示问题:</td>
							<td width="178">
							<input name=question type=text id=question0 maxlength=50 value="<%=txt_question%>" size=20></td>
							<td width="104" align="right">密码取回答案:</td>
							<td width="164"><input name=answer type=text id=answer maxlength=50 size=10></td>
						</tr>
						<tr>
							<td colspan="4" width="577" align="right">
							<hr size="1"></td>
						</tr>
						<tr>
							<td width="125" align="right">真实姓名:</td>
							<td colspan="3" width="452">
							<input name=realname type=text id=realname size=12 maxlength=10 value="<%=txt_realname%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">身份证号码:</td>
							<td colspan="3" width="452">
							<input name=idcard type=text id=idcard maxlength=20 value="<%=txt_idcard%>" size=20></td>
						</tr>
						<tr>
							<td width="125" align="right">性别:</td>
							<td colspan="3" width="452"><input name=sex type=radio value=男 <%if txt_sex="男" then response.write "checked"%>>男 <input type=radio name=sex value=女 <%if txt_sex="女" then response.write "checked"%>>女</td>
						</tr>
						<tr>
							<td width="125" align="right">用户类别:</td>
							<td colspan="3" width="452"><input name=kind type=radio value=1 <%if txt_kind=1 then response.write "checked"%>>个人注册 企业注册<input name=kind type=radio value=2 <%if txt_kind=2 then response.write "checked"%>></td>
						</tr>
						<tr>
							<td width="125" align="right">详细地址:</td>
							<td colspan="3" width="452">
							<input name=address type=text id=address size=50 maxlength=200 value="<%=txt_address%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">邮政编码:</td>
							<td colspan="3" width="452">
							<input name=postal type=text id=postal size=10 maxlength=6 value="<%=txt_postal%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">联系电话:</td>
							<td colspan="3" width="452">
							<input name=phone type=text id=phone size=15 maxlength=20 value="<%=txt_phone%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">手机号码:</td>
							<td colspan="3" width="452">
							<input name=mobile type=text id=mobile size=15 maxlength=20 value="<%=txt_mobile%>"><input type=hidden name=action value=modi></td>
						</tr>
						<tr>
							<td width="125" align="right">QQ号码:</td>
							<td colspan="3" width="452">
							<input name=qq type=text id=qq size=18 maxlength=15 value="<%=txt_qq%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">MSN地址:</td>
							<td colspan="3" width="452">
							<input name=msn type=text id=msn size=18 maxlength=20 value="<%=txt_msn%>"></td>
						</tr>
						<tr>
							<td width="125" align="right">验证码:</td>
							<td colspan="3" width="452"><input name=checkcode type=text id=checkcode size=10 maxlength=6><img src=my_lib/checkcode.asp></td>
						</tr>
						<tr>
							<td colspan="4" width="577" align="right">
							<p align="center">
							<input type="submit" value="确认修改" name="B1">&nbsp;&nbsp;&nbsp;
							<input type="reset" value="重置" name="B2"></td>
						</tr>
						<tr>
							<td colspan="4"> </td>
						</tr></form>
					</table>
					</td>
				</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
<!--#include file="end.asp" -->
</body>

</html>

⌨️ 快捷键说明

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