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

📄 user_login.asp

📁 电影ASP文件
💻 ASP
字号:
<!--#include file="../film_conn.asp"-->
<HTML><HEAD><TITLE><%=webname%> - 会员登录</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<script>
//*****************************************************
function valid_register(){

 if(  document.regist.userid.value.length<5  )
    {window.alert("会员帐号太短!至少为5位字符。");
       document.regist.userid.focus();
       return false;
      } ;
 if(  document.regist.userid.value.length>15  )
    {window.alert("会员帐号太长!至多为15位字符。");
       document.regist.userid.focus();
       return false;
      } ;
     ii=0;
     bString="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";
    
	 while (ii<document.regist.userid.value.length) 
	 {
		if (bString.indexOf(document.regist.userid.value.substring(ii,ii+1))==-1) 
		{
			alert("对不起,会员帐号不能包含非法字符。只能由数字0-9、字母a-z以及符号 - _ 组成。")
  document.regist.userid.focus()
  return false;
		}
		ii=ii+1;
} ;
 if(  document.regist.password.value.length<5  )
    {window.alert("密码太短!至少为5位字符。");
       document.regist.password.focus();
       return false;
      } ;
 if(  document.regist.password.value.length>15  )
    {window.alert("密码太长!至多为15位字符。");
       document.regist.password.focus();
       return false;
      } ;
}
</script>
</HEAD>
<BODY bgColor=#71757b leftMargin=0 topMargin=0 rightMargin=0 marginheight="0" marginwidth="0" botmargin="0">
<!--#include file="../top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center background=../images/bg-content.gif border=0 valign="top">
  <TBODY>
  <TR>
    <TD width=778 height=1>
      <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 height=1 
      cellSpacing=0 cellPadding=0 width=778 align=left border=0 valign="top">
        <TBODY>
  <TR>
    <TD width=778 height=188>
      <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 
      cellPadding=0 width=778 border=0>
        <TBODY>
        <TR>
          <TD width=15 height=151> </TD>
          <TD vAlign=top width=194 height=151><!--#include file="../left1.asp"--></TD>
          <TD vAlign=top width=4></TD>
          <TD vAlign=top width=550 height=151>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 
            cellSpacing=5 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD vAlign=top width="100%" height=386>
                  <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 
                  height=246 cellSpacing=0 cellPadding=0 width="91%" border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top width="100%" height=39><!--#include file="../query.asp"--></TD></TR>
                    <TR>
                      <TD width="100%" height=5></TD></TR>
                    <TR>
                      <TD width="100%" height=8></TD></TR>
                    <TR>
                      <TD width="100%" height=5></TD></TR>
                    <TR>
                      <TD width="100%" height=3>
                      <IMG height=21 
                        src="../images/b.gif" width=538 border=0></TD></TR>
                    <TR>
                      <TD width="100%" background=../images/b01.gif height=465 valign="top">
                      <div align="center">
                        <center>
                        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="98%" id="AutoNumber1">
                          <tr>
                            <td width="100%" style="font-size: 12px">

<p> </p>
<p align=center><font size="2">您将要进行的操作需要会员身份,请登录!<a href="User_Reg.asp"><font color="#FF0000">不是会员请先点此注册&gt;&gt;</font></a></font></p>
<div align="center" style="font-size: 12px">
  <center>
  <table border="0" cellpadding="2" cellspacing="0" width="60%" id="AutoNumber4" fpstyle="24,011111100" style="border-collapse: collapse; border-left: .75pt solid #DBDBDB; border-right: .75pt solid #DBDBDB; border-top: 1.5pt solid #DBDBDB; border-bottom: 1.5pt solid #DBDBDB; background-color: #E8E8E8">
      <tr>
        <td width="100%" style="font-weight: bold; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver; font-size:12px" colspan="2">
        <p align="center"><font size="2">会员登录</font></td>
      </tr>
      <tr>
        <td width="100%" style="color: black; border-style: none; font-size:12px" colspan="2"></td>
      </tr>
      <form method="POST" action="user_login_check.asp" name="regist" onsubmit="return valid_register()">
      <tr>
        <td width="28%" style="color: black; border-style: none; font-size:12px" align="center">
        <font size="2">会员帐号:</font></td>
        <td width="72%" style="color: black; border-style: none; font-size:12px">
        <input type="text" name="userid" size="20" value="<%=request.cookies("userid")%>"></td>
      </tr>
      <tr>
        <td width="28%" style="color: black; border-style: none; font-size:12px" align="center">
        <font size="2">输入密码:</font></td>
        <td width="72%" style="color: black; border-style: none; font-size:12px">
        <input type="password" name="password" size="20"></td>
      </tr>
      <tr>
        <td width="100%" style="color: black; border-style: none; font-size:12px" colspan="2" align=center>
        <input type="submit" value="确认登录" name="B1">&nbsp;&nbsp;&nbsp; <input type="reset" value="重置" name="B2"></td>
      </tr>
    </form>
  </table>
  </center>
</div>
<p align="center"> </p></td>
                          </tr>
                          <tr>
                    <td height="28" style="font-size: 12px">
                     </td>
                          </tr>
                          </table>
                        </center>
                      </div>
                      </TD></TR>
                    <TR>
                      <TD width="100%" height=1>
                      <IMG height=5 
                        src="../images/b02.gif" width=538 
                    border=0></TD></TR></TBODY></TABLE></TD></TR>
              </TBODY></TABLE></TD>
          <TD width=15 height=151> </TD></TR></TBODY></TABLE></TD></TR>
  </TBODY></TABLE>
</table>
<!--#include file="../bottom.asp"-->
</BODY></HTML>

⌨️ 快捷键说明

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