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

📄 userreg.asp

📁 本程序采用花香内核
💻 ASP
字号:
<!--#include file="mdb.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/inc.asp"-->
<%
dim action
action=trim(request("action"))
if action="apply" then
	PageTitle="新用户注册"
else
	PageTitle="服务条款和声明"
end if
if usery<>"yes" then
response.write"<SCRIPT language=JavaScript>alert('"&webname&"已经不允许新用户注册了,谢谢你的支持 !\n\n如果想成为本站用户请联系本站。');"
response.write"JavaScript:window.close()</SCRIPT>"
response.end
end if
call head
call menu%>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="table-hx66s">
  <tr>
    <td width="188" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="35"><table width="100%"  border="0" cellspacing="0" cellpadding="0"  class="table-shangxia">
				<tr>
					<td  height="23"  class="a1">&nbsp; &nbsp;会 员 登 陆</td>
				</tr>
			</table>
			</td>
          </tr>
          <tr>
            <td height="136" valign="top" class="table-right"><!--#include file="UserLogin.asp"--></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="35"><table width="100%"  border="0" cellspacing="0" cellpadding="0"  class="table-shangxia">
                <tr>
                  <td  height="23"  class="a1">&nbsp;&nbsp; 网 站 统 计</td>
                </tr>
            </table></td>
          </tr>
          <tr>

            <td height="125" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="table-right">
                <tr>
                  <td width="6"></td>
                  <td><%call count%></td>
                  <td width="6"></td>
                </tr>
            </table></td>

          </tr>

        </table></td>
      </tr>
      <tr>
        <td height="1"></td>
      </tr>
    </table>
	</td>
    <td width="580" valign="top">
<%
if action<>"apply" then
%>
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="table-zuoyou">
          <tr>
            <td></td>
            <td height="35"><table width="100%"  border="0" cellspacing="0" cellpadding="0"  class="table-shangxia">
                <tr>
                  <td  height="23"  class="a1">&nbsp;&nbsp; 会 员 中 心</td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td></td>
            <td height="125" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="6"></td>
                  <td><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0"><tr><td align="center" valign="top">〓<strong><%=webname%>用户注册条款</strong>〓</td></tr><tr><td valign="top">欢迎您注册成为<%=webname%>用户!<br>注册成为我们的会员请仔细阅读以下条款。<br>一.请遵守国家网络安全相关条例。<br>二.不得利用本站程序漏洞对本站进行破坏。<br>三.我们有权在不通知会员情况下更改会员权限,锁定会员。<br>四.如果你已经认真的阅读完了以上条款,并且确认同意和遵守了,请点击下一步。<BR></td></tr><tr><td align="center"><div align="center"> 
              <form action="?action=apply" method="post">
                <input name="Submit" type="submit" value=" 我同意 " style="cursor:hand;" class="button">
                &nbsp; 
                <input type="button" value=" 不同意 " onclick="window.location.href='index.asp'"  style="cursor:hand;" class="button">
              </form>
            </div></td></tr></table></td>
                  <td width="6"></td>
                </tr>
            </table></td>
            <td></td>
          </tr>
        </table></td>
      </tr>

    </table></td>
  </tr>
</table>
<%
else
%>
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="table-zuoyou">
          <tr>
            <td></td>
            <td height="35"><table width="100%"  border="0" cellspacing="0" cellpadding="0"  class="table-shangxia">
                <tr>
                  <td  height="23"  class="a1">&nbsp;&nbsp; 会 员 中 心</td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td></td>
            <td height="125" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="6"></td>
                  <td><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0"><tr><td align="center" valign="top">〓<strong>新用户注册添写资料</strong>〓</td></tr><tr><td valign="top"><table width=100% height="320" border="0" cellpadding="0" cellspacing="0" class="table-zuoshang">
        <FORM name='UserReg' action='UserRegPost.asp' method='post'>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><b>&nbsp;用户名:</b></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT maxLength=14 size=20 name=UserName class="INPUT"> 
              <font color="#FF0000">*</font> 
            <input name="Check" type="button" id="Check" value="检查用户名" onClick="checkreg();" class="INPUT">≤12个字符(6个汉字)</TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><B>&nbsp;密   码:</B></TD>
            <TD width=85%" class="table-xiayou"> &nbsp;<INPUT type=password maxLength=12 size=30 name=Password class="INPUT"> 
            <font color="#FF0000">*</font> (至少6位)</TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;确认密码:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT type=password maxLength=12 size=30 name=PwdConfirm class="INPUT"> 
            <font color="#FF0000">*</font> (至少6位)</TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;密码问题:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<input type=text maxlength=50 size=30 name="Question" class="INPUT"> 
            <font color="#FF0000">*</font> </TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;问题答案:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT type=text maxLength=20 size=30 name="Answer" class="INPUT"> 
            <font color="#FF0000">*</font> </TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;性别:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT type=radio CHECKED value="男" name=sex >
              男 &nbsp;&nbsp; <INPUT type=radio value="女" name=sex>
            女</TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;Email:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT maxLength=50 size=30 name=Email class="INPUT"> <font color="#FF0000">*</font></TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;主页:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT maxLength=100 size=30 name=homepage value="http://" class="INPUT"></TD>
          </TR>
          <TR bgcolor="#FFFFFF" > 
            <TD width="15%" class="table-xiayou"><strong>&nbsp;QQ号码:</strong></TD>
            <TD width="85%" class="table-xiayou"> &nbsp;<INPUT maxLength=20 size=30 name=QQ class="INPUT"></TD>
          </TR>
          <TR align="center" bgcolor="#FFFFFF" class="tdbg" > 
            <TD height="30" colspan="2" class="table-xiayou"> <input  type=submit value=" 注 册 " name=Submit2 class="button"> 
            &nbsp; <input name=Reset   type=reset id="Reset" value=" 清 除 " class="button">            </TD>
          </TR>
        </form>
        <form name='reg' action='checkreg.asp' method='post' target='CheckReg'>
          <input type='hidden' name='username' value=''>
        </form>
      </TABLE></td></tr><tr><td>&nbsp;</td></tr></table></td>
                  <td width="6"></td>
                </tr>
            </table></td>
            <td></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<script language=javascript>
function checkreg()
{
  if (document.UserReg.UserName.value=="")
	{
	alert("亲爱的,怎么忘了输入用户名!");
	document.UserReg.UserName.focus();
	return false;
	}
  else
    {
	document.reg.username.value=document.UserReg.UserName.value;
	var popupWin = window.open('CheckReg.asp', 'CheckReg', 'scrollbars=no,width=400,height=150');
	document.reg.submit();
	}
}
</script>
<%end if%>
    </td>
  </tr>
</table>
<%call footer%>

⌨️ 快捷键说明

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