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

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="csfi" scope="request" class="com.gamvan.club.file.ClubSafeFilesInfo"/>
  5. <% 
  6. //权限判断共享代码
  7. String allowDomain = "";
  8. if(request.getMethod().equals("POST")){
  9. csfi.setAllowDomain(request.getParameter("allowDomain"));
  10. csfi.fileInfoUpdate();
  11. out.print(OutPrint.prtCenter(csfi.getMessage(),"./clubSafeFilesInfo.jsp",1));
  12. out.close();
  13. if(true)return;
  14. }
  15. ClubSafeFilesInfoItem csfii = null;
  16. csfii = (ClubSafeFilesInfoItem)csfi.getSafeFilesInfo();
  17. if(csfii!=null){
  18. allowDomain = csfii.getAllowDomain();
  19. }
  20. %>
  21. <html xmlns="http://www.w3.org/1999/xhtml">
  22. <head>
  23. <title>社区管理</title>
  24. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  25. <link href="css.css" rel="stylesheet" type="text/css">
  26. <style type="text/css">
  27. <!--
  28. .style3 {color: #FF0000}
  29. -->
  30. </style>
  31. </head>
  32. <body>
  33. <script type="text/javascript" src="../GVscript/GVshowMenu.js"></script>
  34. <script language="javascript" type="text/javascript" src="../GVscript/GVtopCode.js"></script>
  35. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#b6b6b6">
  36. <tr>
  37.   <td align="center"><strong>社区文件防盗链管理</strong></td>
  38. </tr>
  39. <tr>
  40. <td bgcolor="#FFFFFF"><span class="style3">请用单竖线分割多个域名,以下文本框内的域名将被允许访问受防盗程序保护的文件</span></td>
  41. </tr>
  42. </table>
  43. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e6e6e6">
  44. <form name="Gforms" method="post" action="">
  45. <tr>
  46. <td width="212">允许访问的域名:</td>
  47. <td width="768">
  48.   <textarea name="allowDomain" rows="4" id="allowDomain" style="width:100%;"><%=allowDomain%></textarea>
  49. </td>
  50. </tr>
  51. <tr bgcolor="#f6f6f6">
  52.   <td align="center" bgcolor="#f6f6f6">&nbsp;</td>
  53.   <td bgcolor="#f6f6f6" colspan="5" ><input name="gvSubmit" type="submit" id="gvSubmit2" value="确定提交"></td>
  54. </tr>
  55. </form>
  56. </table>
  57. </body>
  58. </html>