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

📄 login.asp

📁 购物系统时尚版.强大的后台文章编辑器的功能
💻 ASP
字号:
<%
dim key,toppath,dbpath
toppath=""
dbpath=""
%>
<!--#include file="db_conn.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/main.css" rel="stylesheet" type="text/css">
<SCRIPT language="javascript">
<!--
function chsubmit()
{
 if (document.form2.login_name.value == "")        
  {        
    window.alert("用户名不能为空!");        
    document.form2.login_name.focus();        
    return (false);}  
  
        var filter=/^\s*[.A-Za-z0-9_-]{5,15}\s*$/;
        if (!filter.test(document.form2.login_name.value)) { 
                window.alert("用户名填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过15个字符,注意不要使用空格。"); 
                document.form2.login_name.focus();
                document.form2.login_name.select();
                return (false); 
                }
 if (document.form2.login_pass.value == "")        
  {        
    window.alert("密码不能为空!");        
    document.form2.login_pass.focus();        
    return (false);}  
  
        var filter=/^\s*[.A-Za-z0-9_-]{5,15}\s*$/;
        if (!filter.test(document.form2.login_pass.value)) { 
                window.alert("密码填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过15个字符,注意不要使用空格。"); 
                document.form2.login_pass.focus();
                document.form2.login_pass.select();
                return (false); 
                }
  if (document.form2.codeid.value=="")
  {window.alert('请填写验证码!');
  document.form2.codeid.focus();
  return false;}
 }
  //--></SCRIPT>
<title>用户登录</title>
</head>

<body topmargin="1">
<!--#include file="top.asp"-->

<div align="center">
<form action="usercheck.asp" method="post" name=form2 onsubmit="return chsubmit();">
	<table border="0" width="760" id="table1" cellpadding="0" bordercolor="#F47E36" cellspacing="0">
		<tr>
			<td>
			<div align="center">
				<table border="0" width="62%" id="table2" bgcolor="#F9F9F9">
					<tr>
						<td colspan="2" height="20">
						<p align="center">登录与注册</td>
					</tr>
					<tr>
						<td width="35%" align="right" height="20">
						用户名:</td>
						<td width="63%" height="20">
						<input type="text" name="login_name" size="20" maxlength="20"></td>
					</tr>
					<tr>
						<td width="35%" align="right" height="20">密&nbsp; 码:</td>
						<td width="63%" height="20">
						<input type="password" name="login_pass" size="21" maxlength="20"></td>
					</tr>
					<tr>
						<td width="35%" align="right" height="20">验证码:</td>
						<td width="63%" height="20">
						<input type="text" name="codeid" size="10" maxlength="6"> <img src=my_lib/checkcode.asp> </td>
					</tr>
					<tr>
						<td width="98%" align="right" colspan="2" height="20">
						<p align="center">
						<input type="submit" value="提交" name="B1">
						<input type="reset" value="重置" name="B2"> <span>
						<a href="getpass.asp">忘记密码</a> <a href="reg.asp">注册</a></span></td>
					</tr>
					<tr>
						<td colspan="2" height="20">
						 </td>
					</tr>
					<tr>
						<td colspan="2" height="20">
						<p align="center">
						<INPUT style="border:3px solid #F08809; font-size:14px; WIDTH: 268; CURSOR: hand; LETTER-SPACING: 6px; HEIGHT: 28; BACKGROUND-COLOR: #F7941D; font-family:新宋体; color:#FFFFFF; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" onclick="window.open('unlogincart.asp');" type=button value="不注册不登陆直接下单" name="unlogincart"></td>
					</tr>
				</table></form>
			</div>
			</td>
		</tr>
	</table>
</div>
<!--#include file="end.asp" -->
</body>

</html>

⌨️ 快捷键说明

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