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

📄 reg.asp

📁 程序名称:酷虎网校友录 V1.0 (商业版)*(修改版) * 本软体为商业软件
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="function/check.asp"-->
<!--#include file="inc/md5.asp"-->
<%
If Request.Form("reg")<>"OK" Then
Response.Redirect "index.asp"
Response.End
End IF
Action="reg"
IF Request.Form("SubmitReg")="OK" Then
Name=Request.Form("Name")
Password=Trim(Request.Form("Password"))
PasswordConfirm=Trim(Request.Form("PasswordConfirm"))
PasswordQuestion=Trim(Request.Form("PasswordQuestion"))
PasswordAnswer=Trim(Request.Form("PasswordAnswer"))
Email=Trim(Request.Form("email"))
RegErr=""
RegOK=True
CheckName=True
CheckRegInfo

End IF
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!--#include file="inc/css.asp"-->
<SCRIPT LANGUAGE='JavaScript' SRC='inc/reg.js' TYPE='text/javascript'></script>
<title><%=WebSiteName%></title>
</head>
<body topmargin="0" background="images/bg.gif">
<!--#include file="top.asp"-->
<div align="center">
  <center>
  <table border="0" width="755" cellspacing="0" cellpadding="0">
    <tr>
      <td width="189" style="background-color: #FFFFFF; border-left: 1 solid #000000; border-top: 1 solid #000000; border-bottom: 1 solid #000000" valign="top"> 
  	  <!--#include file="left.asp"-->
      </td>
      <td width="562" style="background-color: #FFFFFF; border: 1 solid #000000" valign="top">
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
		  <!--#include file="navigation.asp"-->
          <tr>
            <td width="100%" valign="top" height="20">
                    <table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" valign="top" height="20">
            </td>
          </tr>
          <%If Action="reg" Then%>
          <tr>
            <td width="100%" valign="top">
            <div align="center">
              <center>
              <table border="0" width="90%" cellspacing="0" cellpadding="0" style="border: 1 solid #000000">
              <form action="" method="post">
                <tr>
                  <td height="22" background="images/bg2.gif" width="500" colspan="2">
                    <p align="center"><b><font color="#FF0000">用户注册信息</font></b></p>
                  </td>
                </tr>
                <tr>
                  <td width="500" colspan="2" height="10">
                    <p></td>
                </tr>
                <tr>
                  <td width="144" align="right" valign="bottom">您 的 姓 
                    名:</td>
                  <td width="354"><input type=text name="Name" size=12 maxlength=12 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 85; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%">&nbsp;<font color="#FF0000">*</font><font color="#FF0000"> 
                    </font>姓名不得包含英文、数字、符号</td>
                </tr>
                <tr>
                  <td width="144" align="right" valign="bottom">您 的 密 
                    码:</td>
                  <td width="354"><input type=password name="Password" size=12 maxlength=16 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 85; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%"> 
                    <font color="red">*</font><font color="red"> </font>最少六位</td>                                                
                </tr>
                <tr>
                  <td width="144" align="right" valign="bottom">确 认 密 
                    码:</td>
                  <td width="354"><input type=password name="PasswordConfirm" size=12 maxlength=16 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 85; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%"> 
                    <font color="red">*</font><font color="red"> </font>确认您的密码</td>                                                
                </tr>
                <tr>
                  <td width="144" align="right" valign="bottom">密 码 提 
                    问:</td>
                  <td width="354"><input type=text name="PasswordQuestion" size=12 maxlength=16 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 85; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%"> 
                    <font color="red">*</font><font color="red"> </font>如:我的生日是多少?</td>                                                
                </tr>
                <tr>
                  <td width="144" align="right" valign="bottom">回 答 提 
                    问:</td>
                  <td width="354"><input type=text name="PasswordAnswer" size=12 maxlength=16 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 85; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%"> 
                    <font color="red">*</font><font color="red"> </font>如:三月二十七日</td>                                                
                </tr>
                <tr>
                  <td width="144" align="right" valign="bottom">邮 箱 地 
                    址:</td>
                  <td width="354"><input type=text name="email" size=12 maxlength=30 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 143; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%"> 
                    <font color="red">* </font>yourname@163.com</td>                                                
                </tr>
                <tr>
                  <td width="500" colspan="2" height="10"></td>
                </tr>
                <tr>
                  <td width="502" height="22" bgcolor="#EDEDED" style="border-top: 1 solid #000000" colspan="2">
                    <p align="center" style="margin-top: 5; margin-bottom: 5">
                    <INPUT type=hidden name="reg" value="OK">
                    <INPUT type=hidden name="submitreg" value="OK">                      
                    <INPUT type=submit value=' 提 交 ' name=Submit style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 85; border: 1px groove #000000; background-position: 0% 50%">&nbsp;&nbsp;&nbsp;                                              
                    <INPUT type=reset value=' 取 消 ' name=Submit style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 85; border: 1px groove #000000; background-position: 0% 50%"></td>
                </tr>
              </form>
              </table>
              </center>
            </div>
            </td>
          </tr>
          <%ElseIF Action="error" Then%>
          <tr>
            <td width="100%" valign="top">
            <div align="center">
              <center>
              <table border="0" width="90%" cellspacing="0" cellpadding="0" style="border: 1 solid #000000">
                <tr>
                  <td width="100%" height="22" colspan="2" background="images/bg2.gif">
                    <p align="center"><font color="#FF0000"><b>注册信息出错</b></font></td>
                </tr>
                <tr>
                  <td width="100%" colspan="2">
                    <p style="line-height: 150%; margin-left: 50; margin-top: 3; margin-bottom: 3">
                    <font color="#FF0000">
                    <%Response.Write RegErr%>
                    </font></td>
                </tr> 
                <tr>
                  <td width="40%" height="22" background="../images/bg3.GIF" valign="bottom">
                    <p align="right"><img border="0" src="images/go.gif" width="15" height="15"></td>
                  <td width="60%" height="22" background="../images/bg3.GIF" valign="bottom"><a href="javascript:history.back()">返回上一页重新填写</a></td>
                </tr>            
              </table>
              </center>
            </div>
            </center>
            </td>
          </tr>
          <%ElseIf Action="suc" Then%>
          <tr>
            <td width="100%" valign="top">
            <div align="center">
              <center>
              <table border="0" width="90%" cellspacing="0" cellpadding="0" style="border: 1 solid #000000">
                <tr>
                  <td width="100%" background="images/bg2.gif" height="22">
                    <p align="center"><font color="#FF0000"><b>注册信息成功</b></font></td>
                </tr>
              </center>
                <tr>
                  <td width="100%">
                    <p style="line-height: 150%; margin-left: 50; margin-top: 3; margin-bottom: 3"><font color="#FF0000">·您已经成功的加入了<%=CMBName%>校友录,现在请进入下一步来确认您的班级及个人详细资料信息。&nbsp;      
                    <a href="reguser.asp">下一步--&gt;&gt;&gt;</a></font></td>
                </tr>
              </table>
            </div>
            </td>
          </tr>
          <%Else
          Response.Redirect "error.asp"
          End IF%>
          <tr>
            <td width="100%" valign="top">
            </td>
          </tr>
        </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
<!--#include file="bottom.asp"-->
</body>

</html>

⌨️ 快捷键说明

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