manager_Modify.jsp
资源名称:Library.rar [点击查看]
上传用户:ycdfsj258
上传日期:2022-08-04
资源大小:1094k
文件大小:3k
源码类别:
图形图象
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ page import="com.actionForm.ManagerForm"%>
- <%@ page import="com.core.ChStr"%>
- <%
- ManagerForm managerForm=(ManagerForm)request.getAttribute("managerQueryif");
- ChStr chStr=new ChStr();
- int ID=managerForm.getId().intValue();
- String name=chStr.toChinese(managerForm.getName());
- int sysset=managerForm.getSysset();
- int readerset=managerForm.getReaderset();
- int bookset=managerForm.getBookset();
- int borrowback=managerForm.getBorrowback();
- int sysquery=managerForm.getSysquery();
- %>
- <html>
- <head>
- <title>设置管理员权限</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link href="CSS/style.css" rel="stylesheet">
- </head>
- <body>
- <table width="292" height="175" border="0" cellpadding="0" cellspacing="0" background="Images/subBG.jpg">
- <tr>
- <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="3%" height="25"> </td>
- <td width="94%"> </td>
- <td width="3%"> </td>
- </tr>
- <tr>
- <td> </td>
- <td><table width="100%" height="131" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center" valign="top"> <form name="form1" method="post" action="manager.do?action=managerModify">
- <table height="126" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="85" height="29" align="center">管理员名称: </td>
- <td width="190">
- <input name="id" type="hidden" value="<%=ID%>"><input name="name" type="text" readonly="yes" value="<%=name%>"> </td>
- </tr>
- <tr>
- <td height="74" align="center">拥有的权限:</td>
- <td><table width="100%" height="67" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="47%"><input name="sysset" type="checkbox" class="noborder" id="sysset" value="1" <%if(sysset==1){out.println("checked");}%>>
- 系统设置</td>
- <td width="53%"><input name="readerset" type="checkbox" class="noborder" id="readerset" value="1" <%if(readerset==1){out.println("checked");}%>>
- 读者管理</td>
- </tr>
- <tr>
- <td><input name="bookset" type="checkbox" class="noborder" id="bookset" value="1" <%if(bookset==1){out.println("checked");}%>>
- 图书管理</td>
- <td><input name="borrowback" type="checkbox" class="noborder" id="borrowback" value="1" <%if(borrowback==1){out.println("checked");}%>>
- 图书借还</td>
- </tr>
- <tr>
- <td height="23"><input name="sysquery" type="checkbox" class="noborder" id="sysquery" value="1" <%if(sysquery==1){out.println("checked");}%>>
- 系统查询</td>
- <td> </td>
- </tr>
- </table> </td>
- </tr>
- <tr>
- <td height="22" align="center"> </td>
- <td><input name="Button" type="submit" class="btn_grey" value="保存">
-
- <input name="Submit2" type="button" class="btn_grey" value="关闭" onClick="window.close();"></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table></td>
- <td> </td>
- </tr>
- <tr>
- <td height="17"> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>