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

📄 member_modify.asp

📁 泡泡堂服务端内有建站说明,喜欢玩泡泡堂的朋友下载开发.
💻 ASP
字号:
<%menutype = "member"%>

<!-- #include virtual = /common/top.asp -->

<!-- #include file = member_menu.asp -->

<%
if (login_check = "") or (bomb_id = "") then%>
<script language="javascript">
<!--
	alert("请先登陆.");
	location.href="/main.asp"
//-->
</script>
<%
else
%>
	<!-- #include virtual="/common/BombConnDB.asp" -->
	<%
	sql = " SELECT UserID, name, JuminA, Email, NoMail, Zipcode, JusoA, JusoB, TellNum, HandPhone, Job "
	sql = sql & " FROM IB_Member "
	sql = sql & " WHERE UserID = '" & bomb_id & "' "
	set rs = DBCon.Execute(sql)

	if rs.EOF then%>
		<script language="javascript">
		<!--
			alert("请先登陆.");
			location.href="/main.asp"
		//-->
		</script>
<%else
		user_id = rs("UserID")
		name = rs("name")
		jumin1 = rs("JuminA")
		email = rs("Email")
		accept_mail = rs("NoMail")
		zip1 = left(rs("Zipcode"),3)
		zip2 = right(rs("Zipcode"),3)
		addr1 = rs("JusoA")
		addr2 = rs("JusoB")
		tel = Split(rs("TellNum"),"-")
		hp = Split(rs("HandPhone"),"-")
		job = rs("Job")
%>

	<script language="javascript" src="ModifyCheck.js"></script>

	<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/bg_subbody.gif" height="100%">
		<tr> 
		  <td> 
			<div align="center"><img src="images/member_title_modify.gif" width="586" height="57"></div>
		  </td>
		</tr>
		<tr> 
		  <td valign="top"> 

			
			<form name="user_regist" method="post" action="member_modify_ok.asp" onSubmit="return checkValue(user_regist);">
			<input type="hidden" name="id" value="<%=user_id%>">
			
        <table width="546" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td align="center" class="text">&nbsp;</td>
          </tr>
          <tr> 
            <td align="center" class="text"><img src="images/join_title1.gif"></td>
          </tr>
          <tr> 
            <td align="center"> 
              <table border="0" cellpadding="3" cellspacing="1" width="100%" class="text">
                <tr> 
                  <td colspan="2" align="right" height="10"></td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">游戏 ID&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"><%=user_id%></td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">游戏密码&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"> 
                    <input type="password" name="pw" size="15" maxlength="8" class="input_box">
                    &nbsp;&nbsp;&nbsp; 确认输入密码 :
                    <input type="password" name="pw2" size="15" maxlength="8" class="input_box">
                  </td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">姓名&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"><%=name%></td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">身份证&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"><%=jumin1%> </td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">E-Mail&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"> 
                    <input type="text" name="email" size="25" maxlength="50" class="input_box" value="<%=email%>">
                  </td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">你要接受更新信息吗?&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"> 
                    <input type=radio name="accept_mail" value="0" <%if accept_mail = 0 then%> checked<%end if%>>
                    yes
                    <input type=radio name="accept_mail" value="1" <%if accept_mail = 1 then%> checked<%end if%>>
                    no</td>
                </tr>
                <tr> 
                  <td colspan="2" align="right" height="10"></td>
                </tr>
              </table>
            </td>
          </tr>
          <tr> 
            <td align="center" class="text"><img src="images/join_title2.gif"></td>
          </tr>
          <tr> 
            <td align="center"> 
              <table border="0" cellpadding="3" cellspacing="1" width="100%" class="text">
                <tr> 
                  <td colspan="2" align="right" valign="top" height="10"></td>
                </tr>
                <tr> 
                  <td width="30%" align="right" valign="top" bgcolor="#D9D5CC">地址&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE">                  <input type="text" name="addr1" size="40" maxlength="50" class="input_box" value="<%=addr2%>">                  </td>
                </tr>
                <tr> 
                  <td width="30%" align="right" bgcolor="#D9D5CC">电话&nbsp;:&nbsp;</td>
                  <td width="70%" align="left" bgcolor="#EEEEEE"> 
                    <input name="tel1" maxlength="4" size="4" class="input_box" value="<%=tel(0)%>">
                    &nbsp;-&nbsp; 
                    <input name="tel2" maxlength="9" size="9" class="input_box" value="<%=tel(1)%>">
                    </td>
                </tr>
                <tr> 
                  <td colspan="2" align="right">&nbsp;</td>
                </tr>
              </table>
            </td>
          </tr>
          <tr> 
            <td align="center"> 
              <table width="55%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td align="center" valign="middle">
                      <input type="image" src="images/ok.gif" border="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1)"><img src="images/cancel.gif" border="0"></a></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
			</form>

		  </td>
		</tr>
	</table>

<%end if
end if%>
<!-- #include virtual = /common/bottom.asp -->

⌨️ 快捷键说明

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