remind.jsp~1~
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:3k
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ page import="com.dao.BorrowDAO" %>
- <%@ page import="com.actionForm.BorrowForm" %>
- <%@ page import="java.util.*"%>
- <html>
- <%
- Collection coll=(Collection)request.getAttribute("remind");
- %>
- <head>
- <title>图书馆管理系统</title>
- <link href="CSS/style.css" rel="stylesheet">
- </head>
- <body onLoad="clockon(bgclock)">
- <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
- <tr>
- <td height="183">
- <%@include file="navigation.jsp"%>
- </td>
- </tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="966" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
- <tr>
- <td height="966" valign="top" style="padding:5px;"><table width="98%" height="487" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="22" valign="top" class="word_orange">当前位置:系统查询 > 借阅到期提醒 >>></td>
- </tr>
- <tr>
- <td align="center" valign="top"><%
- if(coll==null || coll.isEmpty()){
- %>
- <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="36" align="center">暂无到期提醒信息!</td>
- </tr>
- </table>
- <%
- }else{
- //通过迭代方式显示数据
- Iterator it=coll.iterator();
- String bookname="";
- String bookbarcode="";
- String readerbar="";
- String readername="";
- String borrowTime="";
- String backTime="";
- %>
- <table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#D2E3E6" bordercolorlight="#FFFFFF">
- <tr align="center" bgcolor="#e3F4F7">
- <td width="13%">图书条形码</td>
- <td width="26%">图书名称</td>
- <td width="15%">读者条形码</td>
- <td width="14%">读者名称</td>
- <td width="12%">借阅时间</td>
- <td width="9%">应还时间</td>
- </tr>
- <%
- while(it.hasNext()){
- BorrowForm borrowForm=(BorrowForm)it.next();
- bookname=chStr.toChinese(borrowForm.getBookname());
- barcode=borrowForm.getBarcode();
- typename=chStr.toChinese(borrowForm.getTypeName());
- publishing=chStr.toChinese(borrowForm.getPublishing());
- bookcase=chStr.toChinese(borrowForm.getBookcaseName());
- storage=borrowForm.getStorage();
- %>
- <tr>
- <td style="padding:5px;"> <%=barcode%></td>
- <td style="padding:5px;"><a href="book.do?action=bookDetail&ID=<%=ID%>"><%=bookname%></a></td>
- <td style="padding:5px;"> <%=typename%></td>
- <td style="padding:5px;"> <%=publishing%></td>
- <td style="padding:5px;"> <%=bookcase%></td>
- <td style="padding:5px;"> <%=storage%></td>
- </tr>
- <%
- }
- }
- %>
- </table></td>
- </tr>
- </table>
- </td>
- </tr>
- </table></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>