clubSafeFilesInfo.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Java
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="../GVinc/gvInclude.jsp" %>
- <%@ include file="clubMasterPass.jsp" %>
- <jsp:useBean id="csfi" scope="request" class="com.gamvan.club.file.ClubSafeFilesInfo"/>
- <%
- //权限判断共享代码
- String allowDomain = "";
- if(request.getMethod().equals("POST")){
- csfi.setAllowDomain(request.getParameter("allowDomain"));
- csfi.fileInfoUpdate();
- out.print(OutPrint.prtCenter(csfi.getMessage(),"./clubSafeFilesInfo.jsp",1));
- out.close();
- if(true)return;
- }
- ClubSafeFilesInfoItem csfii = null;
- csfii = (ClubSafeFilesInfoItem)csfi.getSafeFilesInfo();
- if(csfii!=null){
- allowDomain = csfii.getAllowDomain();
- }
- %>
- <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">
- <!--
- .style3 {color: #FF0000}
- -->
- </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"><span class="style3">请用单竖线分割多个域名,以下文本框内的域名将被允许访问受防盗程序保护的文件</span></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="212">允许访问的域名:</td>
- <td width="768">
- <textarea name="allowDomain" rows="4" id="allowDomain" style="width:100%;"><%=allowDomain%></textarea>
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td align="center" bgcolor="#f6f6f6"> </td>
- <td bgcolor="#f6f6f6" colspan="5" ><input name="gvSubmit" type="submit" id="gvSubmit2" value="确定提交"></td>
- </tr>
- </form>
- </table>
- </body>
- </html>