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

📄 setstyles.jsp

📁 这是一个用JSP开发的论坛源 码。。。 按照上在的README可轻松的捅有下JSP论坛
💻 JSP
📖 第 1 页 / 共 5 页
字号:
<%
/*##################################################################**
**#  程序名称:LyBBS『凌云论坛』                                   #**
**#                                                                #**
**#  程序开发: teddy 『星语凌』                                    #**
**#                                                                #**
**#  版权所有: 凌云创作室 (原流星电脑工作室)                       #**
**#                                                                #**
**#  主页地址: http://www.lybbs.net                                #**
**#  电邮地件: horseye@sina.com                                    #**
**#                                                                #**
**##################################################################*/
%>
<%@ include file="config.jsp"%>
<%@ page contentType="text/html;charset=GBK" %>
<%
String action="",
       tempSTR="";

ParameterUtils.setCharacterEncoding(request);

action=ParameterUtils.getString(request,"action");
%>
<!--//html from here-->
<%@ include file="boardprepare.jsp"%>
<%@ include file="head.jsp"%>
<style>
  .delbutton {BORDER-RIGHT: #ff9933 1px solid; BORDER-TOP: #ff9933 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #ff9933 1px solid; COLOR: #ff6633; BORDER-BOTTOM: #ff9933 1px solid; FONT-FAMILY: 宋体; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff; CURSOR:hand}
</style>
<body bgcolor="#555555" topmargin=5 leftmargin=5>
<table width=95% cellpadding=0 cellspacing=1 border=0 bgcolor=#000000 align=center>
 <tr>
  <td>
  <table width=100% cellpadding=0 cellspacing=1 border=0>
   <tr>
    <td width=28% valign=top bgcolor=#FFFFFF>
     <%@ include file="left.jsp"%>
    </td>
    <td width=70% valign=top bgcolor=#FFFFFF>
   <table width=100% cellpadding=6 cellspacing=0 border=0>
<%
if(!cookieMode.equals("7")) {
  response.sendRedirect("admincenter.jsp");
}
else {
  int styleid=0;
  String checkAction="";
  styleid=ParameterUtils.getInt(request,"styleid");
  checkAction=ParameterUtils.getString(request,"checkAction");
  ForumStyle forumStyle=new ForumStyle();

      String announcemove="",
           lbbody="",
           menufontcolor="",
           menubackground="",
           menubackpic="",
           titleborder="",
           font="",
           lastpostfontcolor="",
           fonthighlight="",
           posternamefont="",
           posternamecolor="",
           memglow="",
           adminnamecolor="",
           adminglow="",
           smonamecolor="",
           smoglow="",
           teamnamecolor="",
           teamglow="",
           banglow="",
           fontcolormisc="",
           miscbackone="",
           miscbacktwo="",
           otherbackpic="",
           otherbackpic1="",
           catback="",
           catbackpic="",
           catfontcolor="",
           tablebordercolor="",
           tablewidth="",
           titlecolor="",
           titlefontcolor="",
           forumcolorone="",
           forumcolortwo="",
           forumfontcolor="",
           postcolorone="",
           postcolortwo="",
           postfontcolorone="",
           postfontcolortwo="",
           boarddispsign="",
           boardlogo="",
           dispview="";
    int defaultsmileheight=0,
        defaultsmilewidth=0,
        banfreshtime=0,
        cinoption=0,
        imageviewnumber=0,
        linesperpage=0,
        logdelmax=0,
        maxdeloneday=0,
        maxlistpost=0,
        maxpollitem=0,
        maxpostreport=0,
        maxsavepost=0,
        maxsmail=0,
        newrefers=0,
        paraspace=0,
        timetoshow=0,
        wordspace=0;

    String look="",
           movetopicname="",
           noself="",
           pagechange="",
           pvtip="",
           quotemode="",
           smocanseeip="",
           sortalltopic="",
           statsopen="",
           titleback="",
           titlefont="";

    int membergone=0,
        maxinslength=0,
        maxinsline=0,
        maxsignlength=0,
        maxsignline=0,
        defaultheight=0,
        defaultwidth=0,
        maxposticonheight=0,
        maxposticonwidth=0,
        infosopen=0,
        maxupload=0;
    String newmsgpop="",
           onlineview="",
           showskin="",
           regaccess="",
           advpost="",
           editjhmpself="",
           editusertitleself="",
           sendwelcomemessage="",
           arrowavaupload="",
           xzbopen="";
    int autofreshtime=0,
        maxthreads=0,
        maxtopics=0,
        hottopicmark=0,
        hotpollmark=0,
        newmarktime=0,
        maxtoptopic=0;
    String refreshforum="",
           arrowuserdel="",
           sortposticonshow="",
           dispquickreply="",
           allowattachment="",
           arrawpostflash="",
           arrawpostfontsize="",
           arrawpostmedia="",
           arrawpostpic="",
           arrawpostsound="",
           arrowupload="",
           arrawsignflash="",
           arrawsignfontsize="",
           arrawsignmedia="",
           arrawsignpic="",
           arrawsignsound="",
           searchopen="";

  if(action.equals("")) {

    if(checkAction.equals("")) {

      if(styleid!=0)
        forumStyle=new ForumStyle("id",styleid);
      else
        forumStyle=new ForumStyle("adminselected",1);

           announcemove=forumStyle.getAnnounceMove();
           lbbody=forumStyle.getLbBody();
           menufontcolor=forumStyle.getMenuFontColor();
           menubackground=forumStyle.getMenuBackGround();
           menubackpic=forumStyle.getMenuBackPic();
           titleborder=forumStyle.getTitleBorder();
           font=forumStyle.getFont();
           lastpostfontcolor=forumStyle.getLastPostFontColor();
           fonthighlight=forumStyle.getFontHighLight();
           posternamefont=forumStyle.getPosterNameFont();
           posternamecolor=forumStyle.getPosterNameColor();
           memglow=forumStyle.getMemGlow();
           adminnamecolor=forumStyle.getAdminNameColor();
           adminglow=forumStyle.getAdminGlow();
           smonamecolor=forumStyle.getSmoNameColor();
           smoglow=forumStyle.getSmoGlow();
           teamnamecolor=forumStyle.getTeamNameColor();
           teamglow=forumStyle.getTeamGlow();
           banglow=forumStyle.getBanGlow();
           fontcolormisc=forumStyle.getFontColorMisc();
           miscbackone=forumStyle.getMiscBackOne();
           miscbacktwo=forumStyle.getMiscBackTwo();
           otherbackpic=forumStyle.getOtherBackPic();
           otherbackpic1=forumStyle.getOtherBackPic1();
           catback=forumStyle.getCatBack();
           catbackpic=forumStyle.getCatBackPic();
           catfontcolor=forumStyle.getCatFontColor();
           tablebordercolor=forumStyle.getTableBorderColor();
           tablewidth=forumStyle.getTableWidth();
           titlecolor=forumStyle.getTitleColor();
           titlefontcolor=forumStyle.getTitleFontColor();
           forumcolorone=forumStyle.getForumColorOne();
           forumcolortwo=forumStyle.getForumColorTwo();
           forumfontcolor=forumStyle.getForumFontColor();
           postcolorone=forumStyle.getPostColorOne();
           postcolortwo=forumStyle.getPostColorTwo();
           postfontcolorone=forumStyle.getPostFontColorOne();
           postfontcolortwo=forumStyle.getPostFontColorTwo();
           boarddispsign=forumStyle.getBoardDispSign();
           boardlogo=forumStyle.getBoardLogo();
           dispview=forumStyle.getDispView();
        defaultsmileheight=forumStyle.getDefaultSmileHeight();
        defaultsmilewidth=forumStyle.getDefaultSmileWidth();
        banfreshtime=forumStyle.getBanFreshTime();
        cinoption=forumStyle.getCinoption();
        imageviewnumber=forumStyle.getImageViewNumber();
        linesperpage=forumStyle.getLinesPerPage();
        logdelmax=forumStyle.getLogDelMax();
        maxdeloneday=forumStyle.getMaxDelOneDay();
        maxlistpost=forumStyle.getMaxListPost();
        maxpollitem=forumStyle.getMaxPollItem();
        maxpostreport=forumStyle.getMaxPostReport();
        maxsavepost=forumStyle.getMaxSavePost();
        maxsmail=forumStyle.getMaxSmail();
        newrefers=forumStyle.getNewRefers();
        paraspace=forumStyle.getParaSpace();
        timetoshow=forumStyle.getTimeToShow();
        wordspace=forumStyle.getWordSpace();

           look=forumStyle.getLook();
           movetopicname=forumStyle.getMoveTopicName();
           noself=forumStyle.getNoSelf();
           pagechange=forumStyle.getPageChange();
           pvtip=forumStyle.getPvtIP();
           quotemode=forumStyle.getQuoteMode();
           smocanseeip=forumStyle.getSmoCanSeeIP();
           sortalltopic=forumStyle.getSortAllTopic();
           statsopen=forumStyle.getStatsOpen();
           titleback=forumStyle.getTitleBack();
           titlefont=forumStyle.getTitleFont();

        membergone=forumStyle.getMemberGone();

⌨️ 快捷键说明

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