reader_detail.jsp
上传用户:ycdfsj258
上传日期:2022-08-04
资源大小:1094k
文件大小:5k
源码类别:

图形图象

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@ page import="com.dao.ReaderDAO" %>
  3. <%@ page import="com.dao.ReaderTypeDAO" %>
  4. <%@ page import="com.actionForm.ReaderForm" %>
  5. <%@ page import="java.util.*"%>
  6. <html>
  7. <%
  8. ReaderForm readerForm=(ReaderForm)request.getAttribute("readerDetail");
  9. %>
  10. <script language="jscript">
  11. function check(form){
  12. if(form.name.value==""){
  13. alert("请输入读者姓名!");form.name.focus();return false;
  14. }
  15. if(form.paperNO.value==""){
  16. alert("请输入证件号码!");form.paperNO.focus();return false;
  17. }
  18. }
  19. </script>
  20. <head>
  21. <title>图书馆管理系统</title>
  22. <link href="CSS/style.css" rel="stylesheet">
  23. </head>
  24. <body onLoad="clockon(bgclock)">
  25. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
  26.   <tr>
  27.     <td height="183">
  28. <%@include file="navigation.jsp"%>
  29. </td>
  30. </tr>
  31. <td>
  32. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  33.   <tr>
  34.     <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="510"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
  35.   <tr>
  36.     <td height="510" valign="top" style="padding:5px;"><table width="98%" height="487"  border="0" cellpadding="0" cellspacing="0">
  37.       <tr>
  38.         <td height="22" valign="top" class="word_orange">当前位置:读者管理 &gt; 读者档案管理 &gt; 读者详细信息 &gt;&gt;&gt;</td>
  39.       </tr>
  40.       <tr>
  41.         <td align="center" valign="top"><table width="100%" height="493"  border="0" cellpadding="0" cellspacing="0">
  42.   <tr>
  43.     <td align="center" valign="top">
  44. <%  int ID=0;
  45.   String name=chStr.toChinese(readerForm.getName());
  46.   String sex=chStr.toChinese(readerForm.getSex());  
  47.   String barcode=readerForm.getBarcode();
  48.   String vocation=chStr.toChinese(readerForm.getVocation());
  49.   String birthday=readerForm.getBirthday();
  50.   String paperType=chStr.toChinese(readerForm.getPaperType());
  51.   String paperNO=readerForm.getPaperNO();
  52.   String tel=readerForm.getTel();
  53.   String email=readerForm.getEmail();
  54.   String createDate=readerForm.getCreateDate();
  55.   String remark=chStr.toChinese(readerForm.getRemark());
  56.   String operator=chStr.toChinese(readerForm.getOperator());
  57.   int typeid=readerForm.getTypeid();
  58.   String typename=chStr.toChinese(readerForm.getTypename());
  59.   %>
  60. <table width="600" height="432"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  61.       <tr>
  62.         <td width="173" height="30" align="center">姓&nbsp;&nbsp;&nbsp;&nbsp;名:</td>
  63.         <td width="427" height="39">
  64.           <input name="name" type="text" value="<%=name%>"> </td>
  65.       </tr>
  66.       <tr>
  67.         <td width="173" height="30" align="center">性&nbsp;&nbsp;&nbsp;&nbsp;别:</td>
  68.         <td height="35"><input name="name" type="text" value="<%=sex%>"></td>
  69.       </tr>
  70.       <tr>
  71.         <td height="30" align="center">条&nbsp;形&nbsp;码:</td>
  72.         <td><input name="barcode" type="text" id="barcode" value="<%=barcode%>"></td>
  73.       </tr>
  74.       <tr>
  75.         <td height="30" align="center">读者类型:</td>
  76.         <td><input name="vocation" type="text" id="vocation" value="<%=typename%>"></td>
  77.       </tr>
  78.       <tr>
  79.         <td height="30" align="center">职&nbsp;&nbsp;&nbsp;&nbsp;业:</td>
  80.         <td><input name="vocation" type="text" id="vocation" value="<%=vocation%>"></td>
  81.       </tr>
  82.       <tr>
  83.         <td height="30" align="center">出生日期:</td>
  84.         <td><input name="birthday" type="text" id="birthday" value="<%=birthday%>"></td>
  85.       </tr>
  86.       <tr>
  87.         <td height="30" align="center">有效证件:</td>
  88.         <td><input name="paperType" type="text" value="<%=paperType%>"></td>
  89.       </tr>
  90.       <tr>
  91.         <td height="30" align="center">证件号码:</td>
  92.         <td><input name="paperNO" type="text" id="paperNO" value="<%=paperNO%>"></td>
  93.       </tr>
  94.       <tr>
  95.         <td height="30" align="center">登记日期:</td>
  96.         <td><input name="paperNO2" type="text" id="paperNO2" value="<%=createDate%>"></td>
  97.       </tr>
  98.       <tr>
  99.         <td height="30" align="center">电&nbsp;&nbsp;&nbsp;&nbsp;话:</td>
  100.         <td><input name="tel" type="text" id="tel" value="<%=tel%>"></td>
  101.       </tr>
  102.       <tr>
  103.         <td height="30" align="center">Email:</td>
  104.         <td><input name="email" type="text" id="email" value="<%=email%>" size="50">
  105.           </td>
  106.       </tr>
  107.       <tr>
  108.         <td height="30" align="center">操&nbsp;作&nbsp;员:</td>
  109.         <td><input name="operator" type="text" id="operator" value="<%=operator%>">
  110.           </td>
  111.       </tr>   
  112.       <tr>
  113.         <td align="center">备&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
  114.         <td><textarea name="remark" cols="50" rows="5" class="wenbenkuang" id="remark"><%=remark%></textarea></td>
  115.       </tr>
  116.       <tr>
  117.         <td align="center">&nbsp;</td>
  118.         <td>
  119. &nbsp;
  120. <input name="Submit2" type="button" class="btn_grey" value="返回" onClick="history.back()"></td>
  121.       </tr>
  122.     </table>
  123. </td>
  124.   </tr>
  125. </table></td>
  126.       </tr>
  127.     </table>
  128. </td>
  129.   </tr>
  130. </table><%@ include file="copyright.jsp"%></td>
  131.   </tr>
  132. </table>
  133. </td>
  134. </table>
  135. </body>
  136. </html>