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

📄 login.asp

📁 ASP+SQL Server动态网站开发从基础到实践教程
💻 ASP
字号:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>通用登录系统</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">

<script language="jscript">
<!--
	function Check()
	{ 
		var NotNull
		NotNull=true

			if (document.Login.UID.value=="")
			{
				window.alert("请输入姓名")
				NotNull=false
			}
			
			if (document.Login.PWD.value=="")  
			{
				window.alert("请输入密码")
				NotNull=false
			}
			
			return NotNull

	}
	
//-->
</script>



<style type="text/css">
<!--
	a:visited,a:link  {  text-decoration: none; color: #003399}
	a:hover {  text-decoration: none; color: #3333FF}
	a.linkwhite:link,a.linkwhite:visited { text-decoration:none; color:white}
	a.linkwhite:hover { text-decoration: underline; color:white}
	a.linkblack:link,a.linkblack:visited { text-decoration:none; color:black}
	a.linkblack:hover { text-decoration: underline; color:black}
	input { font-family: "宋体"; font-size: 9pt}
	td {  font-family: "宋体"; font-size: 9pt; color: #000000}
	.en {  font-family:"Verdana", "Arial"; font-size: 9pt}
	.white {  color: #FFFFFF}
	.line {  line-height: 20px}
	.title { font-size: 14px }
-->
</style>

</head>
<body>

<form name="Login" method="post" action="check.asp" align="center" onSubmit="return Check()">
  <div ><table border="1" width="36%" bgColor="#ffe4b5" style="HEIGHT: 237px; WIDTH: 306px" bordercolor="#0000ff">
    <tr>
      <td width="100%" align="middle" bgcolor="#ffffff" bordercolor="#808080">
		<strong><font face="黑体" color="#008080" size="5">通用登录系统</font></strong></td>
    </tr>
    <tr>
      <td width="100%" align="middle" bgcolor="#ccffff">
      <p style="BACKGROUND-COLOR: antiquewhite" align="center"><font color="#800080">
		<font size="2">请输入用户名:</font><BR></font><input name="UID" maxlength="10" > <br><font color="#800080">请输入密码:<br></font><input type="password" name="PWD" maxlength="10" ><BR><BR></p><p align="center"><input type="submit" value="提交" name="submit"> <input type="reset" value="清除" name="Reset"></p>
      <p align="center"><font face="楷体_GB2312">
		<a href="../../chap9/explain.htm">会员注册</a></font></font></p></td></tr>  
    <center>  
   </table>  
  </div>  
</form>  
</body>

  
</html>  

⌨️ 快捷键说明

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