clubUserGradeEdit.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:2k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="../GVinc/gvInclude.jsp" %>
  3. <%@ include file="clubMasterPass.jsp" %>
  4. <% 
  5. //权限判断共享代码
  6. boolean ispass = false;
  7. //ArrayEdit ae = new ArrayEdit();
  8. ispass = ae.txtsArray(gvcmgTxt,4,"|");
  9. if(!ispass){
  10. out.print(prtCenter("您无权进行此项操作!","",2));
  11. out.close();
  12. return;
  13. }
  14. int ugID = TypeChange.stringToInt(request.getParameter("ugID"));
  15. if(request.getMethod().equals("POST")){
  16. cug.setUgName(request.getParameter("ugName"));
  17. cug.setUgID(ugID);
  18. cug.ugNameUpdate();
  19. out.print(prtCenter2(cug.getMessage(),"clubUserGradeEdit.jsp",1));
  20. out.close();
  21. return;
  22. }
  23. %>
  24. <html>
  25. <head>
  26. <title>社区管理</title>
  27. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  28. <link href="css.css" rel="stylesheet" type="text/css">
  29. </head>
  30. <body>
  31. <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
  32. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#e6e6e6">
  33.   <tr>
  34.     <td align="center"><strong>配置社区用户等级权限</strong></td>
  35.   </tr>
  36. </table>
  37. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e6e6e6">
  38. <%
  39. String ugName = "";
  40. if(ugID>0){
  41. cugi = cug.userGradeInfo(ugID);
  42. if(cugi!=null){
  43. ugName = cugi.getUgName();
  44. }
  45. %>
  46. <form name="form1" method="post" action="">
  47. <tr bgcolor="#f6f6f6">
  48. <td bgcolor="#f6f6f6">修改等级名称</td>
  49. <td colspan="2"><input name="ugName" type="text" id="ugName" value="<%=ugName%>">  <input name="gvSubmit" type="submit" id="gvSubmit" value="确定提交"></td>
  50. </tr>
  51. </form>
  52. <%}%>
  53. <c:forEach var="g" items="<%=cug.userGradeList()%>">
  54. <tr bgcolor="#f6f6f6">
  55. <td width="160" bgcolor="#f6f6f6">
  56. <club:usergrade type="ugID"  value="${g.ugID}"/>
  57. </td>
  58. <td>
  59. <club:usergrade type="linkOption" idIs="${g.ugID}"  value="${g.ugName}"/>
  60. </td>
  61. <td width="100"><a href="clubUserGradeEdit.jsp?ugID=<club:usergrade type="ugID"  value="${g.ugID}"/>">编辑</a></td>
  62. </tr>
  63. </c:forEach>
  64. </table>
  65. </body>
  66. </html>