admin1.html

来自「汽车展销的网站开发」· HTML 代码 · 共 55 行

HTML
55
字号
<html>
<head>
<title>后台管理系统</title>
<script language="javascript">
function adminCheck(){
    if(document.myform.admin_name.value=="")
	{
		alert("请输入用户名!");
		document.myform.admin_name.focus();
		return false;
         }
    else if(document.myform.admin_psw.value=="")
	{
		alert("请输入用户密码!");
		document.myform.admin_psw.focus();
		return false;
         }
}
</script>
<style type="text/css">
<!--
.STYLE1 {color: #00CC66}
body {
	background-color: #00FF66;
}
.STYLE2 {
	font-size: 24px;
	font-weight: bold;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body>
<div align="center" class="STYLE2">管理员登录</div>
<form action="checkAdminLogin.jsp" method="post" name="myform" class="STYLE1" onSubmit="return adminCheck()">
  <table width="256" height="105" align="center">
    <tr>
      <td width="76" height="46"><strong>用户名</strong>
      <td width="168"><input type="text" name="admin_name"></td>
    </tr>
    <tr>
      <td height="18"><strong>密码</strong></td>
      <td bgcolor="#FFFFFF"><input type="password" name="admin_psw"></td>
    </tr>
    <tr>
      <td colspan="2"><div align="center">
          <input type="submit" name="submit" value="登录">
          <input type="reset" name="reset" value="取消">
        </div>
          <div align="center"></div></td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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