⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clubsafefilelist.jsp

📁 一个论坛程序
💻 JSP
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="../GVinc/gvInclude.jsp" %>
<%@ include file="clubMasterPass.jsp" %>
<jsp:useBean id="csfc" scope="request" class="com.gamvan.club.file.ClubSafeFileCollection"/>
<jsp:useBean id="csfe" scope="request" class="com.gamvan.club.file.ClubSafeFileEdit"/>
<% 	
//权限判断共享代码
String fileIDs[];
if(request.getMethod().equals("POST")){
	fileIDs = request.getParameterValues("fileID");
	csfe.safeFilesDel(fileIDs);
	out.print(OutPrint.prtCenter(csfe.getMessage(),"./clubSafeFileList.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">
<style type="text/css">
<!--
.style2 {color: #CC0000}
-->
</style>
</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="4" cellspacing="1" bgcolor="#b6b6b6">
<tr>
  <td align="center"><strong>社区文件防盗链管理</strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> <a href="clubSafeFileEdit.jsp?act=add"><span class="style2">手工添加防盗链文件点击这里&gt;&gt;&gt;</span></a></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="30" align="center"><strong>打开</strong></td>
      <td width="30" align="center"><strong>编辑</strong></td>
	 </tr>
<% 

int totalPage = 0;
int iPage =  TypeChange.stringToInt(request.getParameter("iPage"));
if(iPage<1){
	iPage = 1;
}
totalPage = csfc.safeFileCount();
List list = csfc.safeFileList();
%>

<c:forEach var="f" items="<%=list%>">
<tr align="center" bgcolor="#f6f6f6">
<td bgcolor="#f6f6f6">
<input name="fileID" type="checkbox" id="fileID" value="<club:files type="fileID" value="${f.fileID}"/>">
</td>
<td>
<input name="fileNameAndPath" type="text" id="fileNameAndPath" style="width:100%; height:20px" 
	value="<club:files type="fileSafeUrl" value="${f.fileNameAndPath}" idIs="${f.fileID}" property="<%=com.gamvan.net.URL.getServerUrl(request)%>"/>">
</td>
<td>
<club:files type="dateTime" value="${f.fileDateTime}"/>
</td><td>
<club:users type="userName" value="${f.fileByUser}" idIs="${f.fileByUserID}"/>
</td><td>
<club:users type="userIp" value="${f.fileByUserIp}"/>
</td> <td>
<club:files type="from" value="${f.fileFrom}"/>
</td>
<td>
<club:files type="isOpen" value="${f.fileIsOpen}"/>
</td>
<td>
<a href="clubSafeFileEdit.jsp?fileID=<club:files type="fileID" value="${f.fileID}"/>&act=edit">编辑</a>
</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="30" colspan="8" bgcolor="#f6f6f6">
<%=OutPrint.pageJump(totalPage,30, iPage, "clubUpFiles.jsp?")%></td>
</tr>  </table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -