|
|
@ -4,16 +4,15 @@
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
|
|
<title></title>
|
|
|
|
<title></title>
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
|
|
<!-- Bootstrap -->
|
|
|
|
|
|
|
|
<link href="../css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link href="../css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery,所以必须放在前边) -->
|
|
|
|
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery,所以必须放在前边) -->
|
|
|
|
<script src="../js/jquery.min.js"></script>
|
|
|
|
<script src="../js/jquery.min.js"></script>
|
|
|
|
<script src="../js/bootstrap.min.js"></script>
|
|
|
|
<script src="../js/bootstrap.min.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../public/css/animate.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../public/css/login.css" />
|
|
|
|
<style>
|
|
|
|
<style>
|
|
|
|
th{
|
|
|
|
th{
|
|
|
|
vertical-align: middle !important;
|
|
|
|
vertical-align: middle !important;
|
|
|
@ -22,6 +21,15 @@
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<%
|
|
|
|
|
|
|
|
if(session.getAttribute("reader") == null ){
|
|
|
|
|
|
|
|
%>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
location.href = "../loginReader.html";
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<%
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
%>
|
|
|
|
<jsp:useBean id="check" scope="session" class="javabean.JDBCBean"></jsp:useBean>
|
|
|
|
<jsp:useBean id="check" scope="session" class="javabean.JDBCBean"></jsp:useBean>
|
|
|
|
<div class="table-responsive">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-hover">
|
|
|
|
<table class="table table-hover">
|
|
|
@ -33,6 +41,7 @@
|
|
|
|
<th>归还日期</th>
|
|
|
|
<th>归还日期</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
|
|
|
|
try{
|
|
|
|
String id = session.getAttribute("reader").toString();
|
|
|
|
String id = session.getAttribute("reader").toString();
|
|
|
|
String sql="select CARD_ID,BOOK_ID,BORROW_DATE,END_DATE,RETURN_DATE from borrow_books where CARD_ID = " + id;
|
|
|
|
String sql="select CARD_ID,BOOK_ID,BORROW_DATE,END_DATE,RETURN_DATE from borrow_books where CARD_ID = " + id;
|
|
|
|
ResultSet rs = check.executeQuery(sql);
|
|
|
|
ResultSet rs = check.executeQuery(sql);
|
|
|
@ -50,6 +59,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}catch(Exception e) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|