clubUseropEdit.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:6k
- <%@ page language="java" contentType="text/html;charset=UTF-8"
- errorPage="err.jsp" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="ccm" scope="page" class="com.gamvan.club.manage.ClubClassManage"/>
- <%@ include file="./GVinc/gvClassInfo.jsp" %>
- <%
- int iPage = 1;
- if(request.getParameter("iPage")!=null){
- iPage = TypeChange.stringToInt(request.getParameter("iPage"));
- }
- String act = "";
- if(request.getParameter("act")!=null){
- act = request.getParameter("act");
- }
- String uoUser = "";
- int uoCID =0, uoGradeID=0;
- byte uoIs = 0;
- int uoID = 0;
- if(request.getParameter("uoID") != null){
- uoID = TypeChange.stringToInt(request.getParameter("uoID"));
- }else{
- uoID = 0;
- }
- if(request.getMethod().equals("POST")){
- uoUser = request.getParameter("uoUser");
- if(uoUser.equals("")){
- out.print(prtCenter("用户ID不能为空!","cmUseropEdit.jsp?ccID="+ ccID +"&act="+ act +"",1));
- out.close();
- if(true){return;}
- }
- cuo.setUoUser(uoUser);
- cuo.setUoID(uoID);
- cuo.setUoGradeID(TypeChange.stringToInt(request.getParameter("ugID")));
- cuo.setUoCID(ccID);
- cuo.setUoByUser(gvUserName);
- cuo.setUoIs(TypeChange.stringToByte(request.getParameter("uoIs")));
- cuo.setUoByip(request.getRemoteAddr());
- temp = cuo.useropEdit(act);
- out.print(prtCenter(temp,"cmUserop.jsp?ccID="+ ccID +"",1));
- out.close();
- if(true){return;}
- }
- if(uoID>0){
- cuoi = (ClubUseropItem)cuo.useropInfo(uoID);
- uoUser = cuoi.getUoUser();
- uoIs = cuoi.getUoIs();
- uoGradeID = cuoi.getUoGradeID();
- cuoi = null;
- }
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <head>
- <title><%=clubTitle%>>><%
- if(ccIDD1>0){
- out.print(ccName2 +">>");
- }
- %>
- <%
- if(ccIDD>0){
- out.print(ccName1 +">>");
- }
- %>
- <%=ccName%>
- </title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="./GVimgs/favicon.ico" rel="Bookmark">
- <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
- <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 20%; TEXT-ALIGN: center">
- <TABLE cellPadding=6 border=0>
- <TBODY><TR><TD align=middle>
- <IMG src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
- <BR>
- <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
- <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
- <%
- //权限判断开始
- if(ccID<=0){
- out.print(errs(3,"您所请求的版面不存在或已被删除!"));
- out.close();
- if(true) return;
- }
- if(ccType==0){
- if(!isPass(gvUserGradeTxt,32)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不能进行此项操作,如果你还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- }else{
- if(!isPass(gvUserGradeTxt,33)){
- out.print(errs(1,"您的级别("+ gvUserGradeName +")不能进行此项操作,如果你还没有登陆,请先登陆!"));
- out.close();
- if(true) return;
- }
- }
- %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1">
- <td>
- <strong>您的位置</strong>>><a href="default.jsp" target="_parent">社区首页</a>>>
- <a href="main.jsp">进站画面</a>>>
- <%
- temp = "";
- if(ccIDD1>0){
- out.print("<a href="clubClass.jsp?ccID="+ ccID2 +"&ccStyle="+ ccStyle +"">"+ ccName2 +"</a>>>");
- temp = ccName2 + ">>";
- }
- %>
- <%
- if(ccIDD>0){
- out.print("<a href="clubClass.jsp?ccID="+ ccID1 +"&ccStyle="+ ccStyle +"">"+ ccName1 +"</a>>>");
- temp += ccName1 + ">>";
- }
- temp += ccName + ">>";
- %>
- <a href="clubClass.jsp?ccID=<%=ccID%>&ccStyle=<%=ccStyle%>"><%=ccName%></a>>>
- 版面管理
- <SCRIPT language="javascript">prtie('<%=clubName%>>><%=temp%> 版面管理');</SCRIPT>
- </td>
- </tr>
- </table>
- <%@ include file="./GVfilesInc/classManageMenu.jsp" %>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <form name="Gforms" id="Gforms" method="post" action="">
- <tr>
- <td height="30" class="tab3">
- 管理员ID <input name="uoUser" type="text" id="uoUser" value="<%=uoUser%>" size="20" maxlength="20" /></td>
- </tr>
- <tr>
- <td height="30" class="tab3">
- <%
- if(ccType==1){
- %>
- <input type="radio" name="ugID" value="5" <% if(uoGradeID==5){out.print("checked");} %> />正版主
-
- <input type="radio" name="ugID" value="6" <% if(uoGradeID==6){out.print("checked");} %> />副版主
-
- <input type="radio" name="ugID" value="7" <% if(uoGradeID!=5 && uoGradeID!=6){out.print("checked");} %> />荣誉版主
- <%
- }else{
- %>
- <input type="radio" name="ugID" value="3" <% if(uoGradeID==3){out.print("checked");} %> />正区长
-
- <input name="ugID" type="radio" value="4" <% if(uoGradeID!=3){out.print("checked");} %> />副区长
- <%
- }
- %></td>
- </tr>
- <tr>
- <td height="30" class="tab3">
- <input type="radio" name="uoIs" value="1" <% if(uoIs==1){out.print("checked");} %>/>权限开通
-
- <input type="radio" name="uoIs" value="0" <% if(uoIs==0){out.print("checked");} %>/>权限关闭
- </td>
- </tr>
- <tr>
- <td height="30" class="tab3">
- <input name="act" type="submit" class="btn" id="act" value="确定添加" /> </td>
- </tr>
- <tr>
- <td class="tab3"> </td>
- </tr>
- </form>
- </table>
- <%=Gfoot()%>
- </body>
- </html>