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

📄 changeinfo.asp

📁 一个不错的个人商务网站的源码
💻 ASP
字号:
<!--#include file="chk.asp" -->
<%
dim dbpath
dbpath="../"
%>
<!--#include file="../db_conn.asp"-->
<!--#include file="../comm/comm.asp"-->
<!--#include file="../comm/sub.asp"-->
<!--begin TOP-->
<%
'说明 head(a,b,c)
'a为页标题
'b为页描述
'c为页关键字

call head(r(26)&"-会员控制面板-修改资料",r(27),r(28))
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
%><!--end TOP-->
<SCRIPT language=JavaScript src="js/chkmode.js"></SCRIPT>
<div align="center">
<table border="0" width="760" class="li_table" cellspacing="0">
		<tr>
		<td class="maincolor" height="26" align=center width="758" colspan="2">会 员 控 制 面 板</td>
	</tr>
	<tr>
		<td width="127" align="right" height="175" valign="top">
		<p align="left"><!--#include file="left.asp"--></td>
		<td width="629" height="175" 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=../comm/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>
</div>
<!--begin end-->
<%call boot()%><!--end end-->

⌨️ 快捷键说明

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