📄 index1.jsp~10~
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page errorPage="login_error.jsp" %>
<jsp:useBean id="index1bean" scope="page" class="bookmanager.Index1Bean">
</jsp:useBean>
<%request.setCharacterEncoding("gb2312"); %>
<%! String trans(String chi)
{
String result =null;
byte temp[];
try{
temp=chi.getBytes("iso-8859-1");
result=new String(temp);
}catch(Exception e){}
return result;
}%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>图书管理系统/title>
<style type="text/css">
<!--
@import url("images/s.css");
-->
</style>
<style type="text/css">
<!--
a {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
}
a:link {
text-decoration: none;
color: #0066FF;
}
a:visited {
text-decoration: none;
color: #999966;
}
a:hover {
text-decoration: none;
color: #33FF00;
}
a:active {
text-decoration: none;
color: #00CC33;
}
.style1 { color: #FFFF00;
font-weight: bold;
}
.style2 { color: #00FF00;
font-weight: bold;
}
.style3 {
font-size: 13px;
color: #996633;
}
body,td,th {
color: #FF0000;
font-size: 13px;
}
-->
</style></head>
<body>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="100" colspan="5"><p><img src="images/head.gif" width="707" height="100"></p>
</td>
</tr>
<tr align="center" valign="middle">
<td width="700" height="22"><img src="images/009.gif" width="28" height="22"><a href="index.jsp"><strong>首页</strong></a></td>
<td width="700" height="22"><img src="images/009.gif" width="28" height="22"><span class="style1"><a href="introduction.jsp">系统简介</a></span></td>
<td width="700" height="22"><img src="images/009.gif" width="28" height="22"><span class="style2"><a href="admin.jsp">管理员入口</a></span></td>
<td width="700" height="22"><img src="images/009.gif" width="28" height="22"><strong class="style2"><a href="#">退出系统</a></strong></td>
<td width="700" height="22"><img src="images/009.gif" width="28" height="22"><strong><a href="logout">注销</a></strong></td>
</tr>
<tr>
<td colspan="5"><table width="740" border="0" cellpadding="0" cellspacing="0" background="images/0008.gif">
<tr>
<td height="2" colspan="2"><hr width="702" size="2"></td>
</tr>
<tr background="images/0008.gif">
<td width="180" valign="top"><form name="form1" method="post" action="login.jsp">
<table width="170" border="0" cellpadding="1" cellspacing="1" background="images/0008.gif" bgcolor="#CCFFFF">
<tr>
<td colspan="2"><table width="177" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="28" align="center" valign="middle"><img src="images/starbullet.gif" width="11" height="11"></td>
<td width="142"><img src="images/login1.gif" width="130" height="30"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10" colspan="2"><hr></td>
</tr>
<tr>
<td width="45" height="20"><img src="images/t1.gif" width="40" height="20"></td>
<td width="80"><input name="username" type="text" size="16"></td>
</tr>
<tr>
<td><img src="images/t2.gif" width="40" height="20"></td>
<td><input name="password" type="password" size="16"></td>
</tr>
<tr>
<td colspan="2"><table width="180" border="0" cellspacing="1" cellpadding="1">
<tr>
<td align="center" valign="middle"><input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit" value="重置"></td>
</tr>
</table></td>
</tr>
</table>
</form></td>
<td width="560" rowspan="3" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="280" height="32"><img src="images/01.gif" width="280" height="32"></td>
<td width="280"><img src="images/02.gif" width="280" height="30"></td>
</tr>
<% out.print(index1bean.printHtml("all","SELECT bkname FROM book WHERE (bkid IN (SELECT TOP 5 bkid FROM borrow GROUP BY bkid ORDER BY COUNT(*) DESC))")); %>
<tr>
<td><img src="images/04.gif" width="280" height="32"></td>
<td><img src="images/03.gif" width="280" height="32"></td>
</tr>
<%out.print(index1bean.printHtml("SELECT TOP 5 bkname FROM book WHERE (bkcid <> 315003) ORDER BY regdate DESC","SELECT TOP 5 bkname FROM book WHERE (bkcid = 315003) ORDER BY regdate DESC")); %>
</table></td>
</tr>
<tr background="images/0008.gif">
<td> </td>
</tr>
<tr background="images/0008.gif">
<td> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -