clubUpFiles.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:3k
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="../GVinc/gvInclude.jsp" %>
- <%@ include file="clubMasterPass.jsp" %>
- <jsp:useBean id="cuf" scope="request" class="com.gamvan.club.manage.ClubUpfiles"/>
- <%
- //权限判断共享代码
- String cfIDs[];
- String realPath=request.getRealPath("");
- if(request.getMethod().equals("POST")){
- cfIDs = request.getParameterValues("cfID");
- cuf.setRealPath(realPath);
- cuf.filesDels(cfIDs);
- out.print(OutPrint.prtCenter(cuf.getMessage(),"./clubUpFiles.jsp",1));
- out.close();
- if(true)return;
- }
- %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <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/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript" src="../GVscript/GVtopCode.js"></script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#b6b6b6">
- <tr><td align="center"><strong>管理上传文件</strong></td></tr></table>
- <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e6e6e6">
- <form name="Gforms" method="post" action="">
- <tr><td width="30" align="center"><strong>操作</strong></td>
- <td width="*" align="center"><strong>原文件名</strong></td>
- <td width="110" align="center"><strong>上传时间</strong></td>
- <td width="80" align="center"><strong>上传人</strong></td>
- <td width="100" align="center"><strong>上传IP</strong></td>
- <td width="100" align="center"><strong>所属位置</strong></td>
- <td width="50" align="center"><strong>扩展名</strong></td>
- </tr><%
- int totalPage = 0;
- int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
- if(iPage<1){
- iPage = 1;
- }
- totalPage = cuf.filesCount();
- %><c:forEach var="f" items="<%=cuf.filesList(iPage,30)%>">
- <tr align="center" bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">
- <club:files type="htmlCheckbox" idIs="${f.cfID}"/>
- </td><td>
- <c:set var="fileDomain" value="<%=clubUpfileDomain%>" scope="page"/>
- <club:files type="fileName" value="${f.cfOldName}" property="${f.cfOldPath}" url="${fileDomain}${f.cfNewPath}${f.cfNewName}"/>
- </td>
- <td>
- <span class="smallTxt">
- <club:files type="dateTime" value="${f.cfDateTime}"/>
- </span>
- </td><td>
- <club:files type="byUser" value="${f.cfByUser}" idIs="${f.cfByUserID}" url="../"/>
- </td><td>
- <club:files type="byIp" value="${f.cfByIp}"/>
- </td> <td>
- <club:files type="ccName" value="${f.ccName}" idIs="${f.ccID}" url="../"/>
- </td><td>
- <club:files type="fileExt" value="${f.cfExt}"/>
- </td></tr>
- </c:forEach>
- <tr bgcolor="#f6f6f6">
- <td align="center" bgcolor="#f6f6f6">
- <input name="chkall" type="checkbox" id="chkall" value="on" onclick="checkAll(this.form)"/> </td>
- <td height="36" bgcolor="#f6f6f6" colspan="10" ><input name="gvSubmit" type="submit" id="gvSubmit" value="删除文件"></td>
- </tr>
- </form>
- <tr bgcolor="#f6f6f6">
- <td height="36" colspan="8" bgcolor="#f6f6f6">
- <%=OutPrint.pageJump(totalPage,30, iPage, "clubUpFiles.jsp?")%>
- </td></tr> </table>
- </body>
- </html>