?? bookreturn.jsp
字號:
<%@ page language="java" pageEncoding="gbk"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<html>
<head>
<title>圖書歸還</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet">
<script language="javascript" src="js/checkform.js"></script>
</head>
<body>
<table width="90%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
class="tableBorder_LTR">
<tr>
<td height="30" align="center">
<div align="center">
<p>
<span class="word_grey"></span>
</p>
</div>
</td>
</tr>
</table>
<form action="returnBookOperation.htm" method="post" name="form1">
<table width="84%" border="0" align="center" cellpadding="0"
cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="14%" height="27">
學 號:
</td>
<td height="41">
<input name="stu_id" type="text" id="bookID2"
value="${info.stu.stuId }"
onchange="if(stu_id.value==''||isNaN(stu_id.value))alert('請以數字格式輸入學號!');else window.location.href='returnBookOperation.htm?stu_id='+stu_id.value+'&book_id='+book_id.value">
</td>
<td height="27">
學生姓名:
</td>
<td height="27">
<input name="stu_name" type="text" id="bookname2"
value="${info.stu.name }" readonly="yes">
</td>
</tr>
<tr>
<td width="14%" height="27">
書 號:
</td>
<td height="41">
<input name="book_id" type="text" id="bookID2"
value="${info.borrow.bookReginster.bookId }"
onblur="if(book_id.value=='')alert('請輸入書號!');else window.location.href='returnBookOperation.htm?stu_id='+stu_id.value+'&book_id='+book_id.value">
</td>
<td height="27">
書 名:
</td>
<td height="27">
<input name="book_name" type="text" id="book_name"
readonly="yes" value="${info.borrow.bookName }">
</td>
</tr>
<tr>
<td height="41">
借閱日期:
</td>
<td height="41">
<input name="borrow_date" type="text" id="borrow_date"
value="${info.borrow.borrowDate }" readonly="yes">
</td>
</tr>
<tr>
<td height="38" colspan="4" align="center">
<input name="return" type="submit" value="歸還" onclick="return checkBorrow(form1)">
<input name="reset" type="reset" value="重置">
</td>
</tr>
</table>
<hr>
<table width="90%" border="1" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td>
<div align="center">
學號
</div>
</td>
<td>
<div align="center">
姓名
</div>
</td>
<td>
<div align="center">
書號
</div>
</td>
<td>
<div align="center">
書名
</div>
</td>
<td>
<div align="center">
借閱日期
</div>
</td>
</tr>
<c:forEach var="list" items="${info['list']}">
<tr>
<td>
<div align="center">
${list.docuStuInfo.stuId}
</div>
</td>
<td>
<div align="center">
${info.stu.name }
</div>
</td>
<td>
<div align="center">
${list.bookReginster.bookId }
</div>
</td>
<td>
<div align="center">
${list.bookName }
</div>
</td>
<td>
<div align="center">
${list.borrowDate }
</div>
</td>
</tr>
</c:forEach>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -