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

📄 hyselfedit.asp

📁 mlm双轨制直销系统V8.0免费版 可用于: 1、直拨、回拨电话卡公司。 2、保健品、药品公司。 3、在线销售商品等等。 4、其他类型用到双轨制模式的线上开盘公司。
💻 ASP
字号:
<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="include/checkhy.asp" -->
<!-- #include file="common.asp" -->
<%id=Request("id")

set HyRs=server.CreateObject("adodb.recordset")
sql = "select hy.*,hyclub.HyNumber,hyClub.HyPassword,hyclub.edupassword from hy left join hyclub on hy.id=hyclub.HyID where hy.id =" & cint(id)


HyRs.Open sql,conn
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="include/e1.css" type="text/css">
<script language='javascript' src='include/common.js'></script>
</HEAD>
<script language="javascript">
	function check()
	{
		if(form1.HyName.value=="")
		{
			alert("至少需要输入姓名!");
			document.form1.HyName.focus();
			return false;
		}
		else if(form1.HyPassword.value=="")
		{
			alert("至少需要输入密码!");
			document.form1.HyPassword.focus();
			return false;
		}
		else if(form1.HyPassword1.value!=form1.HyPassword.value)
		{
			alert("两次输入确认密码不一致!");
			document.form1.HyPassword1.focus();
			return false;
		}		
					
else if(form1.eduPassword.value=="")
		{
			alert("至少需要输入密码!");
			document.form1.eduPassword.focus();
			return false;
		}
		else if(form1.eduPassword1.value!=form1.eduPassword.value)
		{
			alert("两次输入二级密码不一致!");
			document.form1.eduPassword1.focus();
			return false;
		}		
					
		else if(form1.HyMobile.value=="")
		{
			alert("至少需要输入联络电话!");
			document.form1.HyMobile.focus();
			return false;
		}
		else
		{
			return true;
			document.form1.submit();
		}

	}
</script>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="7BD7FF">
<p> </p>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#009DDE">
  <tr>
    <td>
<form name="form1" method="post" action="hyselfeditcheck.asp?id=<% =id%>" onsubmit="return check();">
        <br>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" ID="Table3">
    <tr> 
      <td width="100%" height="46"> <div align="center"> 
           
			<table align="center" bgcolor="#7BD7FF" border="0" cellpadding="0" cellspacing="0" 

width="90%"><tr><td>
          <table width="100%" border="0" cellspacing="1" cellpadding="5"  ID="Table4">
                        <tr bgcolor="#00B1FF"> 
                          <td height="30" colspan="2"> 
                            <div align="center"><font size="3"><img src="Image/user.gif" width="32" height="32">修 
                              改 会 员 资 料</font></div></td>
            </tr>		  
                        <tr> 
              <td  height="30"><div align="right">会员姓名:</div></td>
              <td width="55%">&nbsp;&nbsp; <input name="HyName" readonly type="text" size="30" value=<% =HyRs("HyName")%>>
                (<font color=#ff0000>*</font>)</td>
            </tr>
            <tr> 
              <td height="30"><div align="right">登陆帐号:</div></td>
              <td>&nbsp;&nbsp; 
                <% =HyRs("HyNumber")%>
              </td>
            </tr>
<tr> 
              <td width="40%" height="30"><div align="right">一级密码:</div></td>
              <td>&nbsp;&nbsp; <input type="password" name="HyPassword" size="30"  value=<% =HyRs("HyPassword")%>>
                (<font color=#ff0000>*</font>)</td>
            </tr>
            <tr> 
              <td width="40%" height="30"><div align="right">确认一级密码:</div></td>
              <td>&nbsp;&nbsp; <input type="password" name="HyPassword1" size="30"  value=<% =HyRs("HyPassword")%>>
                (<font color=#ff0000>*</font>)</td>
            </tr>   
          <%if session("hylevel")=1 and session("dlpassed")="true" then%>
          <tr> 
              <td width="40%" height="30"><div align="right">二级密码:</div></td>
              <td>&nbsp;&nbsp; 
				<input type="password" name="eduPassword" size="30"  value="<% =HyRs("eduPassword")%>">
                (<font color=#ff0000>*</font>)</td>
            </tr>
            <tr> 
              <td width="40%" height="30"><div align="right">确认二级密码:</div></td>
              <td>&nbsp;&nbsp; <input type="password" name="eduPassword1" size="30"  value=<% =HyRs("eduPassword")%>>
                (<font color=#ff0000>*</font>)</td>
            </tr>   
            <%else%>
            <input name="edupassword" type="hidden" value="<%=hyrs("edupassword")%>">
                   
       <%end if%>
		<% if GetDisplay("HySex")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HySex")%>:</div></td>
                <td>&nbsp;&nbsp; <input name="HySex" type="radio" value="男" <%if HyRs("HySex")="男" then%> checked<%end if%>>
                  <input type="radio" name="HySex" value="女" <%if HyRs("HySex")="女" then%> checked<%end if%>>
                  女</td>
              </tr>
			    <% if GetDisplay("HyAge")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyAge")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyAge" size="30" ID="Text6" value=<% =HyRs("HyAge")%>>
                  </td>
              </tr>
		<% if GetDisplay("HyCardNo")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyCardNo") %>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyCardNo" size="30" ID="Text9" value=<% =HyRs("HyCardNo")%>> 
                </td>
              </tr>			  			  
        <% if GetDisplay("HyTel")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyTel")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyTel" size="30" ID="Text6" value=<% =HyRs("HyTel")%>>
                 </td>
              </tr>
		  			  
        <% if GetDisplay("HyMobile")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyMobile")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyMobile" size="30" ID="Text6" value=<% =HyRs("HyMobile")%>>
                  (<font color=#ff0000>*</font>)</td>
              </tr>
			    <% if GetDisplay("HyMail")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyMail")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyMail" size="30" ID="Text6" value=<% =HyRs("HyMail")%>>
                  </td>
              </tr>
			<% if GetDisplay("HyQQMSN")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyQQMSN")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyQQMSN" size="30" ID="Text6" value=<% =HyRs("HyQQMSN")%>>
                  </td>
              </tr>  
             <% if GetDisplay("HyAddress")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyAddress")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyAddress" size="50" ID="Text7" value=<% =HyRs("HyAddress")%> >
                 </td>
              </tr>
             <% if GetDisplay("HyZipCode")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyZipCode")%>:</div></td>
                <td>&nbsp;&nbsp; <input type="text" name="HyZipCode" size="20" ID="Text7" value=<% =HyRs("HyZipCode")%>>
                 </td>
              </tr>			  
				<% if GetDisplay("HyProduct")=true then%>
			<tr> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>
                <td height="30"><div align="right"><% =GetDisplayName("HyProduct")%>:</div></td>
                <td>&nbsp;&nbsp; 
		<select name="HyProduct">            
				<%
		arrList =split(GetOtherSettingValue("ProductInfo"),"-")
		for i=Lbound(arrList) to Ubound(arrList)%>
		 <option value="<% =arrList(i)%>" <%if HyRs("HyProduct")=arrList(i) then %>selected<%end if%>><% =arrList(i)%></option>
		<%next%>
              </select>				
                  </td>
              </tr>			               					  			  
		<tr style="display:none">
                <td height="30"><div align="right">购买数量:</div></td>
                <td>&nbsp;&nbsp; <select name="HyBuyCount" id="HyBuyCount">
                    <option value="1" selected>1</option>
                    <option value="3">3</option>
					<option value="7">7</option>
                  </select></td>
              </tr>
			  <% if GetDisplay("HyMemo")=true then%>
			<tr valign="top"> 
			<%else%>
			<tr style="display:none"> 
			<%end if%>			  
                <td > <div align="right"><% =GetDisplayName("HyMemo")%>:<br>
                  </div></td>

                <td ><textarea name="HyMemo" cols="70" rows="8" id="HyMemo"><% =HyRs("HyMemo")%></textarea></td>
              </tr>            
          </table>
		  </td></tr></table>
          <p> </p>
        </div></td>
    </tr>
  </table>

  <P align="center"> 
  <input type="submit" name="Submit" value="确 定" ID="Submit2" class="b02">&nbsp;&nbsp;&nbsp;
  <input type="reset" name="Submit2" value="取 消" ID="Reset2" class="b02">
</P>
</form></td>
  </tr>
</table>

</BODY>
</HTML>

⌨️ 快捷键说明

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