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

📄 index.html

📁 登陆判断
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户登录</title>
<style type="text/css">
<!--
td {
	font-size: 12px;
}
-->
</style>
<link href="images/style.css" rel="stylesheet" type="text/css">
<script language = "javascript">
function check()
{
if (document.form1.uid.value==""){ 
 		alert("请输入用户名"); 
 		document.form1.uid.focus(); 
 		return false;} 
		if(document.form1.pwd.value==""){
                alert("请输入你的密码"); 
 		document.form1.pwd.focus(); 
 		return false;}  
		 return true; 
 } 
</script>
</head>

<body bgcolor="#0041de" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<br>
<br>
<br>
<table width="688" height="421" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="bottom" background="images/denglu1.gif"> 
      <table width="438" height="211" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top">
		  <form name="form1" method="post" action="ok.jsp" onsubmit="return check();">
              <table width="285" height="46" border="0" cellpadding="0" cellspacing="0">
                <tr align="center"> 
                  <td width="140" height="21"><font color="#006699">用 &nbsp;户</font></td>
                  <td width="140"><font color="#006699">密&nbsp; 码</font></td>
                </tr>
                <tr align="center"> 
                  <td> 
                    <input name="uid" type="text" class="box" id="u1" size="17"></td>
                  <td> 
                    <input name="pwd" type="password" class="box" id="p1" size="17"></td>
                </tr>
              </table>
              <table width="248" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"> 
				  <input type="image" src="images/button.gif" width="234" height="35" name="Submit" value="提交"></td>
                </tr>
              </table>
            </form>
            <table width="220" height="32" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="50%" valign="bottom"><a href="Newuser.jsp"><font color="#FFCC66"><strong>用户注册</strong></font></a></td>
                <td width="50%" align="right" valign="bottom"><a href="loss.htm"><font color="#FFCC33"><strong>忘记密码</strong></font></a></td>
              </tr>
              <tr> 
                <td height="21" colspan="2"><font color="#FFCC33">为了您注册信息的安全,请注意</font><a href="Editpsw.htm"><font color="#FF6633"><strong>修改密码</strong></font></a></td>
              </tr>
            </table>
            </td>
        </tr>
      </table></td>
  </tr>
</table>
<br>
<br>
</body>
</html>

⌨️ 快捷键说明

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