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

📄 reg.asp

📁 用ASP写的ASP交友系统
💻 ASP
字号:
<%
'叛断Session变量是否超时
if isempty(session("user_id")) then
   'response.redirect "timeout.htm"
end if

if session("user_id")<>1 then
   response.redirect "havereg.htm"
end if
%>
<html>

<head>
<LINK href="pic/gufeng.css" rel=stylesheet>
<script language="JavaScript" src="pic/fade_image.js"></script>
<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">
<title>酒乡网友联盟</title>
<script language="javascript">
<!--
function isok(theform)
{
if (theform.user_name.value.length<2 || theform.user_name.value.length>10)
  {
    alert("用户名称最少要2位,最多10位!");
    theform.user_name.focus();
    return (false);
  }
if (theform.password.value.length<3 || theform.password.value.length>10)
  {
    alert("密码最少要3位,最多10位! !");
    theform.password.focus();
    return (false);
  }
if (theform.password_two.value=="")
  {
    alert("你密还有确认密码没填呢!");
    theform.password_two.focus();
    return (false);
  }

if (theform.password_two.value!=theform.password.value)
  {
    alert("两次密码怎么不一样!");
    theform.password_two.focus();
    return (false);
  }

return (true);
}
-->
</script>
</head>

<body topmargin="0" leftmargin="0">


<div align="center">
  <center>


<TABLE align=center border=0 cellPadding=0 cellSpacing=0 height=20 width=777>
  <tr>
    <td width="100%"><table border="0" cellpadding="0" cellspacing="0" width="777" height="21" bgcolor="#FFF4C8" background="pic/di.GIF">
  <tr>
    <td width="23%" height="19"><img border="0" src="pic/htt.GIF" width="227" height="20"></td>
    <td width="33%" height="19"> </td>
    <td width="3%" height="19" align="center">□</td>
    <td width="8%" height="19" align="center"><a href="my.asp">关于我们</a></td>
    <td width="3%" height="19" align="center">□</td>
    <td width="8%" height="19" align="center"><a href="../book">本站留言</a></td>
    <td width="3%" height="19" align="center">□</td>
    <td width="8%" height="19" align="center"><a href="javascript:window.external.AddFavorite('http://www.644000.net',%20'酒乡网友联盟')">添加收藏</a></td>
    <td width="3%" height="19" align="center">□</td>
    <td width="8%" height="19" align="center"><a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.644000.net');">设为首页</a></td>
  </tr>
</table>

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="777" bgcolor="#000000" height="1">
    <tr>
      <td width="100%"></td>
    </tr>
  </table>
  </center>
</div>

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="777" height="90" bgcolor="#F9C700">
    <tr>
      <td width="100%" height="88">
        <div align="center">
          <center>
          <table border="0" cellpadding="0" cellspacing="0" width="777">
            <tr>
              <td width="243" align="left"><img border="0" src="pic/logo.GIF" width="240" height="70"></td>
              <td width="12" align="left"></td>
          </center>
  </center>

  </center>
              <td width="500" align="center" valign="middle">
                <p align="center"><!--Banner-->
<script src="http://www.644000.net/guanggao/banner.asp"></script>
<!--Banner --></p>
          </td>
  <center>


  <center>
          <center>
              <td width="14" align="center"></td>
            </tr>
          </table>
          </center>
        </div>
      </td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="777" height="1" bgcolor="#000000">
    <tr>
      <td width="100%"></td>
    </tr>
  </table>
  </center>
</div>

<div align="center">
  <center>
  <table border="0" cellpadding="0" width="777" bgcolor="#FFF4C8" height="20" cellspacing="0">
    <tr>
      <td width="4%" align="center"><img border="0" src="pic/tou.GIF" width="28" height="20" style="filter:alpha(opacity=40)" onMouseOver="fade_in(this);" onMouseOut="fade_out(this);"></td>
      <td width="10%" align="center"><a href="default.asp"><img border="0" src="logo/1.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
      <td width="10%" align="center"><a href="reg.asp"><img border="0" src="logo/2.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
      <td width="10%" align="center"><a href="register.asp"><img border="0" src="logo/3.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
      <td width="10%" align="center"><a href="your.asp"><img border="0" src="logo/4.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
                  <td width="10%" align="center"><a href="list.asp"><img border="0" src="logo/5.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
      <td width="10%" align="center"><a href="sendphoto.asp"><img border="0" src="logo/6.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
      <td width="10%" align="center"><a href="jh" target="_blank"><img border="0" src="logo/7.gif"></a></td>
      <td width="2%" align="center"><img border="0" src="pic/heng.gif" width="2" height="12"></td>
      <td width="10%" align="center"><a href="http://www.644000.net/bbs" target="_blank"><img border="0" src="logo/8.gif"></a></td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#000000" height="1">
    <tr>
      <td width="100%"></td>
    </tr>
  </table>
  </center>
</div>
</td>
  </tr>
</table>

</div>

  <div align="center">                            
    <center>                            
    <table border="0" cellpadding="0" cellspacing="1" width="777">                            
      <tr>                            
        <td width="771">
          <p align="center"><form method="POST" action="regsubmit.asp" onsubmit="return isok(this)">
<table border="0" width="402" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="400"></td>
  </tr>
  <tr>
    <td width="400"><font color="#FF0000">请填好下表提交,并记住用户名和密码,用于以后登陆时的</font><font color="#008000"><a href="#">身份验证</a></font></td>
  </tr>
</table>
  <table border="1" width="400" bordercolor="#FFFFFF" cellspacing="0" cellpadding="0" height="66" align="center">
    <tr>
      <td width="100%" valign="top" height="43">
        <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
          <tr>
            <td width="43%">
              <p align="center">用户名称:</td>
            <td width="57%"><input type="text" name="user_name" size="18">(2-10)</td>
          </tr>
          <tr>
            <td width="43%">
              <p align="center">管理密码:</td>
            <td width="57%"><input type="password" name="password" size="18">(3-10)</td>
          </tr>
          <tr>
            <td width="43%">
              <p align="center">确定密码:</td>
            <td width="57%"><input type="password" name="password_two" size="18"></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
<p align="center"> <input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></p>
</form>

        </td>                            
      </tr>                            
    </table>                            
    </center>                            
  </div>                            
                                  
  <div align="center">                             
    <center>                             
    <table border="0" cellpadding="0" cellspacing="0" width="777" bgcolor="#FFFFFF" height="22">                             
      <tr>                             
        <td width="100%" height="22"><img border="0" src="ku/dididi.gif" width="777" height="28"></td>                             
      </tr>                             
    </table>                             
    </center>                             
  </div>                             
                                  
  <div align="center">                             
    <center>                             
    <table border="0" cellpadding="0" cellspacing="0" width="777" height="29" bgcolor="#EABB00">                             
      <tr>                             
        <td width="773"  height="29"> 
          <p align="center"> &nbsp;紫雨工作室-2001-年:酒乡网友联盟                                                 
          版权所有,未经许可不的复制 &copy;2001-2002All                                                 
          Rights Reserved</p>                
 </td>                                
      </tr>                               
    </table>                               
    </center>                               
  </div>                               
                                    
  <div align="center">                               
    <center>                               
    <table border="0" cellpadding="0" cellspacing="0" width="777" bgcolor="#000000">                               
      <tr>                               
        <td width="100%"></td>                               
      </tr>                               
    </table>                               
    </center>                               
  </div>                               
                           
</body>                           
                           
</html>                           















⌨️ 快捷键说明

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