land.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:2k
源码类别:

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%session.invalidate();%>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <title>操作员登陆</title>
  7. <style type="text/css">
  8. <!--
  9. .style1 {font-size: 24px}
  10. .style2 {
  11. color: #FF0000;
  12. font-weight: bold;
  13. }
  14. .style5 {color: #FF0000}
  15. -->
  16. </style>
  17. </head>
  18. <script language="JavaScript">
  19. function RgTest(){
  20. if(document.form.name.value==""){
  21. window.alert("请输入账号");
  22. return false;
  23. }
  24. if(document.form.mm.value==""){
  25. window.alert("请输入密码");
  26. return false;
  27. }
  28. return true;
  29. }
  30. </script>
  31. <body  >
  32.  <div align="center" class="style1">
  33.    <p>&nbsp;</p>
  34.    <table width="334" height="172"  border="0" cellpadding="0" cellspacing="0">
  35.      <tr>
  36.        <td height="171" background="images/land.gif">    
  37.    <form name="form" method="post" action="userCheck.do"  onSubmit="return RgTest()">
  38.          <p>&nbsp;</p>
  39.          <table width="79%"  border="0" align="center" cellpadding="0" cellspacing="0">
  40.     <tr>
  41.       <td width="30%" height="26" ><div align="center" class="style2 style5">账号</div></td>
  42.       <td width="70%"><div align="center"><input type="text" name="name"></div></td>
  43.     </tr>
  44.     <tr>
  45.       <td height="25" ><div align="center" class="style2">密码</div></td>
  46.       <td><div align="center"><input type="password" name="mm"></div></td>
  47.     </tr>
  48.   </table>
  49.            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  50.              <tr>
  51.                <td>&nbsp;</td>
  52.              </tr>
  53.            </table>
  54.            <div align="center">
  55.              <input type="image" name="Submit" src="images/land1.gif">
  56.              &nbsp;&nbsp;&nbsp;
  57.              <input type="image" name="reset" src="images/land2.gif" onClick="this.form.reset()">
  58.            </div>
  59.    </form></td>
  60.      </tr>
  61.    </table>
  62. </div>
  63. </body>
  64. </html>