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

图形图象

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@ page import="com.actionForm.LibraryForm" %>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <%
  5. LibraryForm libraryForm=(LibraryForm)request.getAttribute("libraryModifyif");
  6. %>
  7. <head>
  8. <title>图书馆管理系统</title>
  9. <link href="CSS/style.css" rel="stylesheet">
  10. </head>
  11. <script language="javascript">
  12. function checkForm(form){
  13. for(i=0;i<form.length;i++){
  14. if(form.elements[i].value==""){
  15. alert("请将信息添写完整!");
  16. form.elements[i].focus();
  17. return false;
  18. }
  19. }
  20. }
  21. </script>
  22. <body onLoad="clockon(bgclock)">
  23. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
  24.   <tr>
  25.     <td height="183">
  26. <%@include file="navigation.jsp"%>
  27. </td>
  28. </tr>
  29. <td>
  30. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  31.   <tr>
  32.     <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="510"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
  33.   <tr>
  34.     <td height="510" valign="top" style="padding:5px;"><table width="98%" height="487"  border="0" cellpadding="0" cellspacing="0">
  35.       <tr>
  36.         <td height="22" valign="top" class="word_orange">当前位置:系统设置 &gt; 图书馆信息 &gt;&gt;&gt;</td>
  37.       </tr>
  38.       <tr>
  39.         <td align="center" valign="top">
  40.  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  41.   <tr>
  42.     <td width="84%">&nbsp;      </td>
  43. </tr>
  44. </table>  <form name="form1" method="post" action="library.do?action=libraryModify">
  45.   <table width="58%"  border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#D2E3E6" bordercolorlight="#FFFFFF">
  46.   <tr align="center">
  47.     <td width="20%" align="left" style="padding:5px;">图书馆名称:</td>
  48.     <td width="80%" align="left">
  49.       <input name="libraryname" type="text" id="libraryname" value="<%=chStr.toChinese(libraryForm.getLibraryname())%>" size="30" readonly="readonly">
  50.     
  51.     </td>
  52.     <tr>
  53.     <td align="left" style="padding:5px;">馆长:</td>
  54.     <td align="left"><input name="curator" type="text" id="curator" size="30" value="<%=chStr.toChinese(libraryForm.getCurator())%>" ></td>
  55.     </tr>
  56.     <tr>
  57.       <td align="left" style="padding:5px;">联系电话:</td>
  58.       <td align="left"><input name="tel" type="text" id="tel" size="30" value="<%=libraryForm.getTel()%>"></td>
  59.     </tr>
  60.     <tr>
  61.       <td align="left" style="padding:5px;">联系地址:</td>
  62.       <td align="left"><input name="address" type="text" id="address" size="30" value="<%=chStr.toChinese(libraryForm.getAddress())%>"></td>
  63.     </tr>
  64.     <tr>
  65.       <td align="left" style="padding:5px;">联系邮箱:</td>
  66.       <td align="left"><input name="email" type="text" id="email" size="30" value="<%=libraryForm.getEmail()%>"></td>
  67.     </tr>
  68.     <tr>
  69.       <td align="left" style="padding:5px;">图书馆网址:</td>
  70.       <td align="left"><input name="url" type="text" id="url" size="30" value="<%=libraryForm.getUrl()%>"></td>
  71.     </tr>
  72.     <tr>
  73.       <td align="left" style="padding:5px;">建馆时间:</td>
  74.       <td align="left"><input name="createDate" type="text" id="createDate" size="30" value="<%=chStr.toChinese(libraryForm.getCreateDate())%>"></td>
  75.     </tr>
  76.     <tr>
  77.       <td height="84" align="left" style="padding:5px;">图书馆简介:</td>
  78.       <td align="left"><textarea name="introduce" cols="50" rows="5" class="wenbenkuang" id="introduce"><%=chStr.toChinese(libraryForm.getIntroduce())%></textarea></td>
  79.     </tr>
  80.     <tr>
  81.       <td height="65" align="left" style="padding:5px;">&nbsp;</td>
  82.       <td><input name="Submit" type="submit" class="btn_grey" value="保存" onClick="return checkForm(form1)">
  83.         &nbsp;
  84.         <input name="Submit2" type="reset" class="btn_grey" value="取消"></td>
  85.     </tr>
  86. </table>
  87. </form></td>
  88.       </tr>
  89.     </table>
  90. </td>
  91.   </tr>
  92. </table><%@ include file="copyright.jsp"%></td>
  93.   </tr>
  94. </table>
  95. </td>
  96. </table>
  97. </body>
  98. </html>