clubUserGradeEdit.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Java
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="../GVinc/gvInclude.jsp" %>
- <%@ include file="clubMasterPass.jsp" %>
- <%
- //权限判断共享代码
- boolean ispass = false;
- //ArrayEdit ae = new ArrayEdit();
- ispass = ae.txtsArray(gvcmgTxt,4,"|");
- if(!ispass){
- out.print(prtCenter("您无权进行此项操作!","",2));
- out.close();
- return;
- }
- int ugID = TypeChange.stringToInt(request.getParameter("ugID"));
- if(request.getMethod().equals("POST")){
- cug.setUgName(request.getParameter("ugName"));
- cug.setUgID(ugID);
- cug.ugNameUpdate();
- out.print(prtCenter2(cug.getMessage(),"clubUserGradeEdit.jsp",1));
- out.close();
- return;
- }
- %>
- <html>
- <head>
- <title>社区管理</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="css.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#e6e6e6">
- <tr>
- <td align="center"><strong>配置社区用户等级权限</strong></td>
- </tr>
- </table>
- <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e6e6e6">
- <%
- String ugName = "";
- if(ugID>0){
- cugi = cug.userGradeInfo(ugID);
- if(cugi!=null){
- ugName = cugi.getUgName();
- }
- %>
- <form name="form1" method="post" action="">
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">修改等级名称</td>
- <td colspan="2"><input name="ugName" type="text" id="ugName" value="<%=ugName%>"> <input name="gvSubmit" type="submit" id="gvSubmit" value="确定提交"></td>
- </tr>
- </form>
- <%}%>
- <c:forEach var="g" items="<%=cug.userGradeList()%>">
- <tr bgcolor="#f6f6f6">
- <td width="160" bgcolor="#f6f6f6">
- <club:usergrade type="ugID" value="${g.ugID}"/>
- </td>
- <td>
- <club:usergrade type="linkOption" idIs="${g.ugID}" value="${g.ugName}"/>
- </td>
- <td width="100"><a href="clubUserGradeEdit.jsp?ugID=<club:usergrade type="ugID" value="${g.ugID}"/>">编辑</a></td>
- </tr>
- </c:forEach>
- </table>
- </body>
- </html>