📄 login.jsp
字号:
<%@page language="java" contentType="text/html;charset=gb2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>西安思源学院----管理员登陆</title>
<style type="text/css">
<!--
body {
background-image: url();
background-color: #FFCCFF;
margin-left: 0px;
}
.STYLE1 {font-size: 14px}
.STYLE2 {font-size: 12px}
.STYLE3 {
font-size: 16px;
font-weight: bold;
color: #FFFFFF;
}
.STYLE6 {color: #FF0000; font-size: 9px; }
-->
</style></head>
<SCRIPT language="javascript">
function validate()
{
if(this.document.form1.userName.value=="")
{
alert(" 用户名不能为空!! ");
return false;
}
else if(this.document.form1.userPassword.value=="")
{
alert(" 密码不能为空!! ");
return false;
}
else
{
return true;
}
}
</SCRIPT>
<body>
<div align="center">
<table width="1024" border="0">
<tr>
<td valign="top"><div align="center">
<p> </p>
<p> </p>
<form id="form1" name="form1" method="post" action="/Library/LoginControlPro?name=adminLogin">
<br/>
<table width="100%" border="0">
<tr>
<td height="30" background="../images/menu_bg.gif"><div align="center" class="STYLE3">西安思源学院图书馆后台管理</div></td>
</tr>
<tr>
<td height="30" align="center" valign="top"><table width="329" border="0" cellspacing="1" bgcolor="#0099CC">
<tr>
<td bgcolor="#FFFFFF"><div align="right" class="STYLE1">用 户 名:</div></td>
<td bgcolor="#FFFFFF"><div align="left">
<input type="text" name="userName" />
<span class="STYLE6">** </span></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="right" class="STYLE1">用户密码:</div></td>
<td bgcolor="#FFFFFF"><div align="left">
<input type="password" name="userPassword" />
<span class="STYLE6">**</span> </div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="right"></div></td>
<td bgcolor="#FFFFFF"><div align="left">
<input type="submit" name="Submit" value="登 陆" onclick="return validate()"/>
<input type="reset" name="Submit2" value="重置" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<TABLE align="center" border="0">
<TR>
<TD>
<span class="STYLE1">
<%
if(request.getAttribute("error")!=null)
{
out.println(request.getAttribute("error"));
}
%>
</span>
</TD>
</TR>
</TABLE>
<p> </p>
<table width="100%" border="0">
<tr>
<td align="center"><table width="400" border="0" align="left">
<tr>
<td><div align="left"><span class="STYLE2">系统帮助:</span></div></td>
</tr>
<tr>
<td><div align="left"><span class="STYLE2">1.非本校学生请不要进出本图书馆</span></div></td>
</tr>
<tr>
<td><div align="left"><span class="STYLE2">2.如果你不是管理员,请不要进入</span></div></td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
</form>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -