reader_detail.jsp
资源名称:Library.rar [点击查看]
上传用户:ycdfsj258
上传日期:2022-08-04
资源大小:1094k
文件大小:5k
源码类别:
图形图象
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ page import="com.dao.ReaderDAO" %>
- <%@ page import="com.dao.ReaderTypeDAO" %>
- <%@ page import="com.actionForm.ReaderForm" %>
- <%@ page import="java.util.*"%>
- <html>
- <%
- ReaderForm readerForm=(ReaderForm)request.getAttribute("readerDetail");
- %>
- <script language="jscript">
- function check(form){
- if(form.name.value==""){
- alert("请输入读者姓名!");form.name.focus();return false;
- }
- if(form.paperNO.value==""){
- alert("请输入证件号码!");form.paperNO.focus();return false;
- }
- }
- </script>
- <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="510" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
- <tr>
- <td height="510" 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"><table width="100%" height="493" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <% int ID=0;
- String name=chStr.toChinese(readerForm.getName());
- String sex=chStr.toChinese(readerForm.getSex());
- String barcode=readerForm.getBarcode();
- String vocation=chStr.toChinese(readerForm.getVocation());
- String birthday=readerForm.getBirthday();
- String paperType=chStr.toChinese(readerForm.getPaperType());
- String paperNO=readerForm.getPaperNO();
- String tel=readerForm.getTel();
- String email=readerForm.getEmail();
- String createDate=readerForm.getCreateDate();
- String remark=chStr.toChinese(readerForm.getRemark());
- String operator=chStr.toChinese(readerForm.getOperator());
- int typeid=readerForm.getTypeid();
- String typename=chStr.toChinese(readerForm.getTypename());
- %>
- <table width="600" height="432" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td width="173" height="30" align="center">姓 名:</td>
- <td width="427" height="39">
- <input name="name" type="text" value="<%=name%>"> </td>
- </tr>
- <tr>
- <td width="173" height="30" align="center">性 别:</td>
- <td height="35"><input name="name" type="text" value="<%=sex%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">条 形 码:</td>
- <td><input name="barcode" type="text" id="barcode" value="<%=barcode%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">读者类型:</td>
- <td><input name="vocation" type="text" id="vocation" value="<%=typename%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">职 业:</td>
- <td><input name="vocation" type="text" id="vocation" value="<%=vocation%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">出生日期:</td>
- <td><input name="birthday" type="text" id="birthday" value="<%=birthday%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">有效证件:</td>
- <td><input name="paperType" type="text" value="<%=paperType%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">证件号码:</td>
- <td><input name="paperNO" type="text" id="paperNO" value="<%=paperNO%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">登记日期:</td>
- <td><input name="paperNO2" type="text" id="paperNO2" value="<%=createDate%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">电 话:</td>
- <td><input name="tel" type="text" id="tel" value="<%=tel%>"></td>
- </tr>
- <tr>
- <td height="30" align="center">Email:</td>
- <td><input name="email" type="text" id="email" value="<%=email%>" size="50">
- </td>
- </tr>
- <tr>
- <td height="30" align="center">操 作 员:</td>
- <td><input name="operator" type="text" id="operator" value="<%=operator%>">
- </td>
- </tr>
- <tr>
- <td align="center">备 注:</td>
- <td><textarea name="remark" cols="50" rows="5" class="wenbenkuang" id="remark"><%=remark%></textarea></td>
- </tr>
- <tr>
- <td align="center"> </td>
- <td>
-
- <input name="Submit2" type="button" class="btn_grey" value="返回" onClick="history.back()"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table></td>
- </tr>
- </table>
- </td>
- </tr>
- </table><%@ include file="copyright.jsp"%></td>
- </tr>
- </table>
- </td>
- </table>
- </body>
- </html>