clubClassList.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:9k
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="../GVinc/gvInclude.jsp" %>
- <%@ include file="clubMasterPass.jsp" %>
- <jsp:useBean id="ccl" scope="page" class="com.gamvan.club.classed.ClubClassList"/>
- <jsp:useBean id="ccd" scope="page" class="com.gamvan.club.classed.ClubClassDel"/>
- <jsp:useBean id="cce" scope="page" class="com.gamvan.club.classed.ClubClassEdit"/>
- <jsp:useBean id="ccb" scope="page" class="com.gamvan.club.classed.ClubClassBar"/>
- <jsp:useBean id="ccc" scope="page" class="com.gamvan.club.classed.ClubClassCollection"/>
- <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="fo" scope="page" class="com.gamvan.tools.FileOperate" />
- <%
- //权限判断共享代码
- boolean ispass = false;
- //ArrayEdit ae = new ArrayEdit();
- ispass = ae.txtsArray(gvcmgTxt,4,"|");
- if(!ispass){
- out.print(prtCenter2("您无权进行此项操作!","",2));
- out.close();
- if(true)return;
- }
- String act = "add";
- if(request.getParameter("act")!=null){
- ccID = TypeChange.stringToInt(request.getParameter("ccID"));
- if(ccID>0){
- ccd.classDel(ccID);
- out.print(prtCenter2(ccd.getMessage(),"clubClassList.jsp",1));
- }else{
- out.print(prtCenter2("更新成功","clubClassList.jsp",1));
- }
- out.close();
- if(true)return;
- }
- /****************执行左栏生成***************************/
- if(request.getMethod().equals("POST")){
- ccb.setExpert(TypeChange.stringToInt(request.getParameter("expert")));
- ccb.setColor_0(TypeChange.nullOfString(request.getParameter("color_0")));
- ccb.setColor_1(TypeChange.nullOfString(request.getParameter("color_1")));
- ccb.setStrong_0(TypeChange.stringToInt(request.getParameter("strong_0")));
- ccb.setStrong_1(TypeChange.stringToInt(request.getParameter("strong_1")));
- ccb.setRealPath(request.getRealPath("") + File.separator+"club"+File.separator+"GVfilesInc"+File.separator);
- ccb.createClassFiles();
- //out.print(request.getRealPath("") + File.separator+"club"+File.separator+"GVfilesInc"+File.separator);
- out.print(prtCenter2("哈哈,搞定!","",2));
- out.close();
- if(true)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 language="javascript" src="../GVscript/GVtopCode.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="#AAB4CC">
- <form name="Gforms" method="post" action="" onSubmit="javascript:postMsg();">
- <tr bgcolor="#CCCCCC">
- <td colspan="2"><strong>社区左栏导航生成高级选项</strong></td>
- </tr>
- <tr>
- <td width="11%" align="center" bgcolor="#e5e5e5"><strong>分类修饰</strong></td>
- <td width="89%" bgcolor="#FFFFFF">
- 颜色(16进制颜色代码)<input name="color_1" type="text" id="color_0" size="10" maxlength="10">
-
- 是否加粗<input name="strong_0" type="checkbox" id="strong_0" value="1">
- </td>
- </tr>
- <tr>
- <td align="center" bgcolor="#e5e5e5"><strong>版面修饰</strong></td>
- <td bgcolor="#FFFFFF">
- 颜色(16进制颜色代码)<input name="color_1" type="text" id="color_1" size="10" maxlength="10">
-
- 是否加粗<input name="strong_1" type="checkbox" id="strong_1" value="1"></td>
- </tr>
- <tr>
- <td align="center" bgcolor="#e5e5e5"> </td>
- <td bgcolor="#FFFFFF">
- <input name="gvSubmit" type="submit" id="gvSubmit" value="重新生成左栏菜单">
- <input type="hidden" name="gvBack" value=""/>
- <input name="expert" type="checkbox" id="expert" value="1">启用高级选项</td>
- </tr>
- </form>
- </table>
- <table width="99%" height="90" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e6e6e6">
- <tr bgcolor="#f6f6f6">
- <td width="40" height="22" align="center" bgcolor="#f6f6f6"><strong>操作</strong></td>
- <td align="center"><strong>名称</strong></td>
- <td width="40" align="center"><strong>类别</strong></td>
- <td width="40" align="center"><strong>隐藏</strong></td>
- <td width="50" align="center"><strong>属性</strong></td>
- <td width="70" align="center"><strong>默认风格</strong></td>
- <td width="50" align="center"><strong>主题</strong></td>
- <td width="50" align="center"><strong>回复</strong></td>
- <td width="60" align="center"><strong>排序</strong></td>
- <td width="40" align="center"><strong>配置</strong></td>
- <td width="40" align="center"><strong>删除</strong></td>
- </tr>
- <c:forEach var="ccc0" items="<%=ccc.classList()%>">
- <tr bgcolor="#f6f6f6">
- <td height="22" align="center" bgcolor="#f6f6f6">
- <club:classinfo type="htmlCheckbox" idIs="${ccc0.ccID}"/>
- </td>
- <td>
- <club:classinfo type="className" idIs="${ccc0.ccID}" value="${ccc0.ccName}" url="../"/>
- </td><td align="center">
- <club:classinfo type="classType" idIs="${ccc0.ccType}"/>
- </td><td align="center">
- <club:classinfo type="classHidden" bea="${ccc0.ccHidden}"/>
- </td><td align="center">
- <club:classinfo type="classPro" idIs="${ccc0.ccPro}"/>
- </td><td align="center">
- <club:classinfo type="classStyle" idIs="${ccc0.ccPro}"/>
- </td><td align="center">
- <club:classinfo type="classTopic" value="${ccc0.ccTopic}"/>
- </td>
- <td align="center">
- <club:classinfo type="classReply" value="${ccc0.ccReply}"/>
- </td>
- <td align="center">
- <club:classinfo type="classOrder" value="${ccc0.ccOrder}"/>
- </td>
- <td align="center">
- <club:classinfo type="htmlEdit" idIs="${ccc0.ccID}"/>
- </td>
- <td align="center">
- <club:classinfo type="htmlDel" idIs="${ccc0.ccID}"/>
- </td>
- </tr>
- <c:set value="${ccc0.ccID}" target="${ccc}" property="reId" />
- <c:forEach var="ccc1" items="<%=ccc.classReList()%>">
- <tr bgcolor="#ffffff">
- <td height="22" align="center" bgcolor="#f6f6f6">
- <club:classinfo type="htmlCheckbox" idIs="${ccc1.ccID}"/>
- </td>
- <td>
- <club:classinfo type="className" idIs="${ccc1.ccID}" value="${ccc1.ccName}" url="../"/>
- </td><td align="center">
- <club:classinfo type="classType" idIs="${ccc1.ccType}"/>
- </td><td align="center">
- <club:classinfo type="classHidden" bea="${ccc1.ccHidden}"/>
- </td><td align="center">
- <club:classinfo type="classPro" idIs="${ccc1.ccPro}"/>
- </td><td align="center">
- <club:classinfo type="classStyle" idIs="${ccc1.ccPro}"/>
- </td><td align="center">
- <club:classinfo type="classTopic" value="${ccc1.ccTopic}"/>
- </td>
- <td align="center">
- <club:classinfo type="classReply" value="${ccc1.ccReply}"/>
- </td>
- <td align="center">
- <club:classinfo type="classOrder" value="${ccc1.ccOrder}"/>
- </td>
- <td align="center">
- <club:classinfo type="htmlEdit" idIs="${ccc1.ccID}"/>
- </td>
- <td align="center">
- <club:classinfo type="htmlDel" idIs="${ccc1.ccID}"/>
- </td>
- </tr>
-
- <c:set value="${ccc1.ccID}" target="${ccc}" property="reId" />
- <c:forEach var="ccc2" items="<%=ccc.classReList()%>">
- <tr bgcolor="#ffffff">
- <td height="22" align="center" bgcolor="#f6f6f6">
- <club:classinfo type="htmlCheckbox" idIs="${ccc2.ccID}"/>
- </td>
- <td>
-
- <club:classinfo type="className" idIs="${ccc2.ccID}" value="${ccc2.ccName}" url="../"/>
- </td><td align="center">
- <club:classinfo type="classType" idIs="${ccc2.ccType}"/>
- </td><td align="center">
- <club:classinfo type="classHidden" bea="${ccc2.ccHidden}"/>
- </td><td align="center">
- <club:classinfo type="classPro" idIs="${ccc2.ccPro}"/>
- </td><td align="center">
- <club:classinfo type="classStyle" idIs="${ccc2.ccPro}"/>
- </td><td align="center">
- <club:classinfo type="classTopic" value="${ccc2.ccTopic}"/>
- </td>
- <td align="center">
- <club:classinfo type="classReply" value="${ccc2.ccReply}"/>
- </td>
- <td align="center">
- <club:classinfo type="classOrder" value="${ccc2.ccOrder}"/>
- </td>
- <td align="center">
- <club:classinfo type="htmlEdit" idIs="${ccc2.ccID}"/>
- </td>
- <td align="center">
- <club:classinfo type="htmlDel" idIs="${ccc2.ccID}"/>
- </td>
- </tr>
- </c:forEach>
- </c:forEach>
- </c:forEach>
- <tr bgcolor="#f6f6f6">
- <td height="34" colspan="12" bgcolor="#f6f6f6">
- (删除版面时请先删除子分类)
-
- </td>
- </tr>
- </table>
- </body>
- </html>