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

图形图象

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@ page import="com.actionForm.ManagerForm"%>
  3. <%@ page import="com.core.ChStr"%>
  4. <%
  5. ManagerForm managerForm=(ManagerForm)request.getAttribute("managerQueryif");
  6. ChStr chStr=new ChStr();
  7. int ID=managerForm.getId().intValue();
  8. String name=chStr.toChinese(managerForm.getName());
  9. int sysset=managerForm.getSysset();
  10. int readerset=managerForm.getReaderset();
  11. int bookset=managerForm.getBookset();
  12. int borrowback=managerForm.getBorrowback();
  13. int sysquery=managerForm.getSysquery();
  14. %>
  15. <html>
  16. <head>
  17. <title>设置管理员权限</title>
  18. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  19. <link href="CSS/style.css" rel="stylesheet">
  20. </head>
  21. <body>
  22. <table width="292" height="175" border="0" cellpadding="0" cellspacing="0" background="Images/subBG.jpg">
  23.   <tr>
  24.     <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  25.       <tr>
  26.         <td width="3%" height="25">&nbsp;</td>
  27.         <td width="94%">&nbsp;</td>
  28.         <td width="3%">&nbsp;</td>
  29.       </tr>
  30.       <tr>
  31.         <td>&nbsp;</td>
  32.         <td><table width="100%" height="131"  border="0" cellpadding="0" cellspacing="0">
  33.           <tr>
  34.             <td align="center" valign="top"> <form name="form1" method="post" action="manager.do?action=managerModify">
  35. <table height="126"  border="0" cellpadding="0" cellspacing="0">
  36.       <tr>
  37.         <td width="85" height="29" align="center">管理员名称: </td>
  38.         <td width="190">
  39.           <input name="id" type="hidden" value="<%=ID%>"><input name="name" type="text" readonly="yes" value="<%=name%>">        </td>
  40.       </tr>
  41.       <tr>
  42.         <td height="74" align="center">拥有的权限:</td>
  43.         <td><table width="100%" height="67" border="0" cellpadding="0" cellspacing="0">
  44.           <tr>
  45.             <td width="47%"><input name="sysset" type="checkbox" class="noborder" id="sysset" value="1" <%if(sysset==1){out.println("checked");}%>>
  46. 系统设置</td>
  47.             <td width="53%"><input name="readerset" type="checkbox" class="noborder" id="readerset" value="1" <%if(readerset==1){out.println("checked");}%>>
  48.               读者管理</td>
  49.           </tr>
  50.           <tr>
  51.             <td><input name="bookset" type="checkbox" class="noborder" id="bookset" value="1" <%if(bookset==1){out.println("checked");}%>>
  52.               图书管理</td>
  53.             <td><input name="borrowback" type="checkbox" class="noborder" id="borrowback" value="1" <%if(borrowback==1){out.println("checked");}%>>
  54.               图书借还</td>
  55.           </tr>
  56.           <tr>
  57.             <td height="23"><input name="sysquery" type="checkbox" class="noborder" id="sysquery" value="1" <%if(sysquery==1){out.println("checked");}%>>
  58.               系统查询</td>
  59.             <td>&nbsp;</td>
  60.           </tr>
  61.         </table>          </td>
  62.       </tr>
  63.       <tr>
  64.         <td height="22" align="center">&nbsp;</td>
  65.         <td><input name="Button" type="submit" class="btn_grey" value="保存">
  66. &nbsp;
  67. <input name="Submit2" type="button" class="btn_grey" value="关闭" onClick="window.close();"></td>
  68.       </tr>
  69.     </table>
  70. </form></td>
  71.           </tr>
  72.         </table></td>
  73.         <td>&nbsp;</td>
  74.       </tr>
  75.       <tr>
  76.         <td height="17">&nbsp;</td>
  77.         <td>&nbsp;</td>
  78.         <td>&nbsp;</td>
  79.       </tr>
  80.     </table></td>
  81.   </tr>
  82. </table>
  83. </body>
  84. </html>