const.jsp
上传用户:toby834
上传日期:2013-10-21
资源大小:2613k
文件大小:5k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page  import="net.acai.forum.*,
  2.  java.util.Date,
  3.  net.acai.util.*,
  4. net.acai.filter.*,
  5. net.acai.database.*"%>
  6. <%
  7. long startTime=(new Date()).getTime();
  8. String forumName,forumURL,companyName,hostURL,SMTPServer,systemEmail,timeAdjust;
  9. String scriptTimeOut,forumLogo,picURL,faceURL,uploadPic,ipFlag,fromFlag,titleFlag;
  10. String uploadFlag,guestUser,guestLogin,openMSG,badWords,maxAnnouncePerPage,maxTitleList;
  11. String announceMaxBytes,tableBackColor,aTableBackColor,tableTitleColor,aTableTitleColor;
  12. String tableBodyColor,aTableBodyColor,tableFontColor,tableContentColor,alertFontColor;
  13. String contentTitle,ads1,ads2,copyRight,version;
  14. String wealthAnnounce,wealthReAnnounce,wealthDel,wealthLogin;
  15. String epAnnounce,epReAnnounce,epDel,epLogin;
  16. int wealthReg,cpReg,epReg,emailFlag;
  17. String cpAnnounce,cpReAnnounce,cpDel,cpLogin,cookiePath;
  18. String maxOnline,maxOnlineDate,titleName;
  19. String topicNum,bbsNum,todayNum,userNum,lastNum,lastUser;
  20. int tableWidth=700;
  21.    try{
  22. forumName=ForumPropertiesManager.getString("ForumName");
  23. forumURL=ForumPropertiesManager.getString("ForumURL");
  24. companyName=ForumPropertiesManager.getString("CompanyName");
  25. hostURL=ForumPropertiesManager.getString("HostUrl");
  26. SMTPServer=ForumPropertiesManager.getString("SMTPServer");
  27. systemEmail=ForumPropertiesManager.getString("SystemEmail");
  28. timeAdjust=ForumPropertiesManager.getString("TimeAdjust");
  29. scriptTimeOut=ForumPropertiesManager.getString("ScriptTimeOut");
  30. forumLogo=ForumPropertiesManager.getString("Logo");
  31. picURL=ForumPropertiesManager.getString("Picurl");
  32. faceURL=ForumPropertiesManager.getString("Faceurl");
  33. emailFlag=Integer.parseInt(ForumPropertiesManager.getString("EmailFlag"));
  34. uploadPic=ForumPropertiesManager.getString("Uploadpic");
  35. ipFlag=ForumPropertiesManager.getString("IpFlag");
  36. fromFlag=ForumPropertiesManager.getString("FromFlag");
  37. guestUser=ForumPropertiesManager.getString("guestuser");
  38. guestLogin=ForumPropertiesManager.getString("guestlogin");
  39. openMSG=ForumPropertiesManager.getString("openmsg");
  40. badWords=ForumPropertiesManager.getString("badwords");
  41. announceMaxBytes=ForumPropertiesManager.getString("AnnounceMaxBytes");
  42. maxAnnouncePerPage=ForumPropertiesManager.getString("MaxAnnouncePerPage");
  43. maxTitleList=ForumPropertiesManager.getString("Maxtitlelist");
  44. tableBackColor=ForumPropertiesManager.getString("Tablebackcolor");
  45. aTableBackColor=ForumPropertiesManager.getString("aTablebackcolor");
  46. tableTitleColor=ForumPropertiesManager.getString("Tabletitlecolor");
  47. aTableTitleColor=ForumPropertiesManager.getString("aTabletitlecolor");
  48. tableBodyColor=ForumPropertiesManager.getString("Tablebodycolor");
  49. aTableBodyColor=ForumPropertiesManager.getString("aTablebodycolor");
  50. tableFontColor=ForumPropertiesManager.getString("TableFontcolor");
  51. tableContentColor=ForumPropertiesManager.getString("TableContentcolor");
  52. alertFontColor=ForumPropertiesManager.getString("AlertFontColor");
  53. contentTitle=ForumPropertiesManager.getString("ContentTitle");
  54. ads1=ForumPropertiesManager.getString("ads1");
  55. ads2=ForumPropertiesManager.getString("ads2");
  56. copyRight=ForumPropertiesManager.getString("Copyright");
  57. version=ForumPropertiesManager.getString("Version");
  58. titleFlag=ForumPropertiesManager.getString("TitleFlag");
  59. uploadFlag=ForumPropertiesManager.getString("uploadFlag");
  60. wealthReg=Integer.parseInt(ForumPropertiesManager.getString("wealthReg"));
  61. wealthAnnounce=ForumPropertiesManager.getString("wealthAnnounce");
  62. wealthReAnnounce=ForumPropertiesManager.getString("wealthReannounce");
  63. wealthDel=ForumPropertiesManager.getString("wealthDel");
  64. wealthLogin=ForumPropertiesManager.getString("wealthLogin");
  65. epReg=Integer.parseInt(ForumPropertiesManager.getString("epReg"));
  66. epAnnounce=ForumPropertiesManager.getString("epAnnounce");
  67. epReAnnounce=ForumPropertiesManager.getString("epReannounce");
  68. epDel=ForumPropertiesManager.getString("epDel");
  69. epLogin=ForumPropertiesManager.getString("epLogin");
  70. cpReg=Integer.parseInt(ForumPropertiesManager.getString("cpReg"));
  71. cpAnnounce=ForumPropertiesManager.getString("cpAnnounce");
  72. cpReAnnounce=ForumPropertiesManager.getString("cpReannounce");
  73. cpDel=ForumPropertiesManager.getString("cpDel");
  74. cpLogin=ForumPropertiesManager.getString("cpLogin");
  75. topicNum=ForumPropertiesManager.getString("TopicNum");
  76. bbsNum=ForumPropertiesManager.getString("BbsNum");
  77. todayNum=ForumPropertiesManager.getString("TodayNum");
  78. userNum=ForumPropertiesManager.getString("UserNum");
  79. lastUser=ForumPropertiesManager.getString("lastUser");
  80. cookiePath=ForumPropertiesManager.getString("cookiepath");
  81. maxOnline=ForumPropertiesManager.getString("Maxonline");
  82. maxOnlineDate=ForumPropertiesManager.getString("MaxonlineDate");
  83. }
  84. catch(Exception e){
  85. //System.out.println(e.getMessage());
  86. throw new ServletException(e.getMessage());
  87. }
  88. %>
  89. <%
  90. String bodyFontColor="#000000";
  91. int bmFlag_1=1;
  92. int bmFlag_2=1;
  93. int bmFlag_3=1;
  94. int bmFlag_4=1;
  95. int bmFlag_5=1;
  96. %>
  97. <%
  98.    String   NDate = Format.getDateTime();
  99. int  forumID=ParamUtil.getInt(request,"forumID",0);
  100. boolean  forumMaster=false,master=false;
  101. String userName="";
  102. String userPassword="";
  103. String stats="";
  104. boolean guibin=false;
  105. int i=0;
  106. boolean foundUser=false;
  107. String lastLogin;
  108. String picOM="ao1.gif",picOB="ao.gif",picOV="gb(1).gif",picOH="messages1.gif",picOU="messages2.gif";
  109. %>