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

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. <jsp:useBean id="cuf" scope="request" class="com.gamvan.club.manage.ClubUpfiles"/>
  5. <% 
  6. //权限判断共享代码
  7. String cfIDs[];
  8. String realPath=request.getRealPath("");
  9. if(request.getMethod().equals("POST")){
  10. cfIDs = request.getParameterValues("cfID");
  11. cuf.setRealPath(realPath);
  12. cuf.filesDels(cfIDs);
  13. out.print(OutPrint.prtCenter(cuf.getMessage(),"./clubUpFiles.jsp",1));
  14. out.close();
  15. if(true)return;
  16. }
  17. %>
  18. <html xmlns="http://www.w3.org/1999/xhtml">
  19. <head>
  20. <title>社区管理</title>
  21. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  22. <link href="css.css" rel="stylesheet" type="text/css">
  23. </head>
  24. <body>
  25. <script type="text/javascript" src="../GVscript/GVshowMenu.js"></script>
  26. <script language="javascript" type="text/javascript" src="../GVscript/GVtopCode.js"></script>
  27. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#b6b6b6">
  28. <tr><td align="center"><strong>管理上传文件</strong></td></tr></table>
  29. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e6e6e6">
  30. <form name="Gforms" method="post" action="">
  31. <tr><td width="30" align="center"><strong>操作</strong></td>
  32. <td width="*" align="center"><strong>原文件名</strong></td>
  33. <td width="110" align="center"><strong>上传时间</strong></td>
  34. <td width="80" align="center"><strong>上传人</strong></td>
  35. <td width="100" align="center"><strong>上传IP</strong></td>
  36. <td width="100" align="center"><strong>所属位置</strong></td>
  37. <td width="50" align="center"><strong>扩展名</strong></td>
  38. </tr><% 
  39. int totalPage = 0;
  40. int iPage =  TypeChange.stringToInt(request.getParameter("iPage"));
  41. if(iPage<1){
  42. iPage = 1;
  43. }
  44. totalPage = cuf.filesCount();
  45. %><c:forEach var="f" items="<%=cuf.filesList(iPage,30)%>">
  46. <tr align="center" bgcolor="#f6f6f6">
  47. <td bgcolor="#f6f6f6">
  48. <club:files type="htmlCheckbox" idIs="${f.cfID}"/>
  49. </td><td>
  50. <c:set var="fileDomain" value="<%=clubUpfileDomain%>" scope="page"/>
  51. <club:files type="fileName" value="${f.cfOldName}" property="${f.cfOldPath}" url="${fileDomain}${f.cfNewPath}${f.cfNewName}"/>
  52. </td>
  53. <td>
  54. <span class="smallTxt">
  55. <club:files type="dateTime" value="${f.cfDateTime}"/>
  56. </span>
  57. </td><td>
  58. <club:files type="byUser" value="${f.cfByUser}" idIs="${f.cfByUserID}" url="../"/>
  59. </td><td>
  60. <club:files type="byIp" value="${f.cfByIp}"/>
  61. </td> <td>
  62. <club:files type="ccName" value="${f.ccName}" idIs="${f.ccID}" url="../"/>
  63. </td><td>
  64. <club:files type="fileExt" value="${f.cfExt}"/>
  65. </td></tr>
  66. </c:forEach>
  67. <tr bgcolor="#f6f6f6">
  68. <td align="center" bgcolor="#f6f6f6">
  69. <input name="chkall" type="checkbox" id="chkall" value="on" onclick="checkAll(this.form)"/> </td>
  70. <td height="36" bgcolor="#f6f6f6" colspan="10" ><input name="gvSubmit" type="submit" id="gvSubmit" value="删除文件"></td>
  71. </tr>
  72. </form>
  73. <tr bgcolor="#f6f6f6">
  74. <td height="36" colspan="8" bgcolor="#f6f6f6">
  75. <%=OutPrint.pageJump(totalPage,30, iPage, "clubUpFiles.jsp?")%>
  76. </td></tr>  </table>
  77. </body>
  78. </html>