📄 user_edit.asp
字号:
<!--#include file="../film_conn.asp"-->
<!-- #include file="user_session.asp" -->
<!-- #include file="../set_url.asp" -->
<HTML><HEAD><TITLE><%=webname%> - 会员管理中心 - 修改资料</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<script language=javascript src=js/check_edit.js></script>
</HEAD>
<BODY bgColor=#71757b leftMargin=0 topMargin=0 rightMargin=0 marginheight="0" marginwidth="0" botmargin="0">
<!--#include file="../top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center background=../images/bg-content.gif border=0 valign="top">
<TBODY>
<TR>
<TD width=778 height=1>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 height=1
cellSpacing=0 cellPadding=0 width=778 align=left border=0 valign="top">
<TBODY>
<TR>
<TD width=778 height=188>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0
cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD width=15 height=151> </TD>
<TD vAlign=top width=194 height=151><!--#include file="../left1.asp"--></TD>
<TD vAlign=top width=4></TD>
<TD vAlign=top width=550 height=151>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
cellSpacing=5 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" height=386>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
height=246 cellSpacing=0 cellPadding=0 width="91%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" height=39><!--#include file="../query.asp"--></TD></TR>
<TR>
<TD width="100%" height=5></TD></TR>
<TR>
<TD width="100%" height=8></TD></TR>
<TR>
<TD width="100%" height=5></TD></TR>
<TR>
<TD width="100%" height=3>
<IMG height=21
src="../images/b.gif" width=538 border=0></TD></TR>
<TR>
<TD width="100%" background=../images/b01.gif height=465 valign="top">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="98%" id="AutoNumber1">
<tr>
<td height="28" style="font-size: 12px">
<div align="center" style="font-size: 12px"><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="85%" id="AutoNumber3">
<tr>
<td width="100%" colspan="4" height="30" nowrap style="font-size: 12px">
<div align="center" style="font-size: 12px">
<center>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from users where userid='"&request.cookies("userid")&"' and password='"&request.cookies("password")&"'"
rs.open sql,conn,1,1%>
<table border="1" cellspacing="1" style="border-collapse: collapse" width="40%" id="AutoNumber1" bgcolor="#DDDDDD" cellpadding="3" height="12">
<form method="POST" action="user_edit_ok.asp" name="regist" onsubmit="return valid_register()">
<tr><td width="100%" height="5" style="font-size: 12px">
<p align="center"><b><%=rs("name")%>个人资料</b></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
<p align="center">用 户 名:</td>
<td width="32%" height="25" nowrap style="font-size: 12px"><%=rs("userid")%></td>
<td width="13%" height="25" nowrap style="font-size: 12px">登录密码:</td>
<td width="39%" height="25" nowrap style="font-size: 12px"><input type="password" name="password" size="20" style="border-style: solid; border-width: 1" value="<%=rs("password")%>"></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
<p align="center">真实姓名:</td>
<td width="32%" height="25" nowrap style="font-size: 12px"><input type="text" name="name" size="20" style="border-style: solid; border-width: 1" value="<%=rs("name")%>"></td>
<td width="13%" height="25" nowrap style="font-size: 12px">电子邮箱:</td>
<td width="39%" height="25" nowrap style="font-size: 12px"><input type="text" name="email" size="20" style="border-style: solid; border-width: 1" value="<%=rs("email")%>"></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">手机号码:</td>
<td width="32%" height="25" nowrap style="font-size: 12px"><input type="text" name="phone" onkeypress="isnum()" maxlength="11" size="20" style="border-style: solid; border-width: 1" value="<%=rs("phone")%>"></td>
<td width="13%" height="25" nowrap style="font-size: 12px">性 别:</td>
<td width="39%" height="25" nowrap style="font-size: 12px"><select size="1" name="sex">
<option selected value="<%=rs("sex")%>"><%=rs("sex")%></option>
<option value="男">男</option>
<option value="女">女</option>
</select></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
所在省市:</td>
<td width="32%" height="25" nowrap style="font-size: 12px"><%=rs("province")%>-<%=rs("city")%>-<%=rs("county")%></td>
<td width="52%" height="25" nowrap colspan="2" style="font-size: 12px"><a onclick="window.open(this.href,'','location=no,menu=no,scrollbars=yes,resizable=no,top=0,left=0,width=320,height=60');return false;" href="user_edit_province.asp" target="_blank"><font color="#005BAC"><<更改所在省市</font></a></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
详细地址:</td>
<td width="84%" height="25" nowrap colspan="3" style="font-size: 12px">
<input type="text" name="homeaddress" size="37" style="border-style: solid; border-width: 1" value="<%=rs("homeaddress")%>">
<font color="#666666">可不填</font></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
<p align="center">提示问题:</td>
<td width="84%" height="25" nowrap colspan="3" style="font-size: 12px"><font color="#CC0000">
<select size="1" name="question">
<option value="<%=rs("question")%>" selected><%=rs("question")%>
</option>
<option value="你最爱的人是谁">你最爱的人是谁</option>
<option value="你的父亲叫什么名字">你的父亲叫什么名字</option>
<option value="最好的朋友叫什么名字">最好的朋友叫什么名字</option>
<option value="你念中学时的校名">你念中学时的校名</option>
<option value="最心爱的宠物的名字">最心爱的宠物的名字</option>
<option value="最喜欢的一句名言">最喜欢的一句名言</option>
<option value="最讨厌的一件事">最讨厌的一件事</option>
<option value="最喜欢看的书名">最喜欢看的书名</option>
</select></font></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
回答问题:</td>
<td width="84%" height="25" nowrap colspan="3" style="font-size: 12px">
<input type="text" name="ask" size="22" style="border-style: solid; border-width: 1" value="<%=rs("ask")%>"></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
您的生日:</td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px">
<input onkeypress="isnum()" maxlength="4" name="y" size="5" value="<%=year(rs("birthday"))%>">
年
<select name="m" size="1">
<option value="<%=month(rs("birthday"))%>" selected><%=month(rs("birthday"))%></option>
<option value="01">01 </option>
<option value="02">02 </option>
<option value="03">03 </option>
<option value="04">04 </option>
<option value="05">05 </option>
<option value="06">06 </option>
<option value="07">07 </option>
<option value="08">08 </option>
<option value="09">09 </option>
<option value="10">10 </option>
<option value="11">11 </option>
<option value="12">12 </option>
</select>
月
<select name="d" size="1">
<option value="<%=day(rs("birthday"))%>" selected><%=day(rs("birthday"))%> </option>
<option value="01">01 </option>
<option value="02">02 </option>
<option value="03">03 </option>
<option value="04">04 </option>
<option value="05">05 </option>
<option value="06">06 </option>
<option value="07">07 </option>
<option value="08">08 </option>
<option value="09">09 </option>
<option value="10">10 </option>
<option value="11">11 </option>
<option value="12">12 </option>
<option value="13">13 </option>
<option value="14">14 </option>
<option value="15">15 </option>
<option value="16">16 </option>
<option value="17">17 </option>
<option value="18">18 </option>
<option value="19">19 </option>
<option value="20">20 </option>
<option value="21">21 </option>
<option value="22">22 </option>
<option value="23">23 </option>
<option value="24">24 </option>
<option value="25">25 </option>
<option value="26">26 </option>
<option value="27">27 </option>
<option value="28">28 </option>
<option value="29">29 </option>
<option value="30">30 </option>
<option value="31">31 </option>
</select> 日 <font color="#666666">可不填,如果填写将可能中奖</font></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
身份证号:</td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px"><font size="2">
<input type="text" name="idcard" onkeypress="isnum()" maxlength="18" size="30" style="border-style: solid; border-width: 1" value="<%=rs("idcard")%>"></font>
<font color="#666666">可不填,领取奖品的依据</font></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
<span lang="en-us"> QQ </span>号码:</td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px"><font size="2">
<input type="text" name="qq" onkeypress="isnum()" maxlength="11" size="19" style="border-style: solid; border-width: 1" value="<%=rs("qq")%>"></font>
<font color="#666666">可不填</font></td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">
<p align="center">注册时间:</td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px"><%=rs("date")%></td>
</tr>
<%
sql="select * from users where askmejoin='"&rs("userid")&"'"
set rsurl=server.createobject("adodb.recordset")
rsurl.open sql,conn,1,1
no=rsurl.recordcount
rsurl.close
set rsurl=nothing
%>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">推广成果: </td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px">您目前成功推广了<font color="#FF0000">(<%=no%>)</font>位会员加入,其中付费人次<font color="#FF0000">(<%=rs("payno")%>)</font>次,
您得到了<font color="#FF0000">(<%=rs("getmoney")%>)</font>元代理佣金。 </td>
</tr>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px">推广代码:</td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px">
<input type="text" name="extend" size="56" style="border-style: solid; border-width: 1" value="<%=weburl%>film.asp?id=<%=request("userid")%>"> </td>
</tr>
<tr>
<td width="100%" height="25" nowrap colspan="4" style="font-size: 12px">
<a target="_blank" href="user_add_member.asp"><font color="#005BAC">
请到这里查看更多推广代码以及推广技巧>></font></a></td>
</tr>
<tr>
<td width="100%" height="25" nowrap colspan="4" align="center" style="font-size: 12px">
<input type="submit" value="确认更改" name="B1"> <input type="reset" value="重填" name="B2"></td>
</tr></form>
<tr>
<td width="16%" height="25" nowrap style="font-size: 12px"> </td>
<td width="84%" colspan="3" height="25" nowrap style="font-size: 12px"> </td>
</tr>
</table></center></div></td>
</tr>
<tr>
<td height="28" style="font-size: 12px">
</td>
</tr>
</table>
</center>
</div>
</TD></TR>
<TR>
<TD width="100%" height=1>
<IMG height=5
src="../images/b02.gif" width=538
border=0></TD></TR></TBODY></TABLE></TD></TR>
</TBODY></TABLE></TD>
<TD width=15 height=151> </TD></TR></TBODY></TABLE></TD></TR>
</TBODY></TABLE>
</table>
<!--#include file="../bottom.asp"-->
</BODY></HTML>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -