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

📄 presentviewlistthread.java

📁 cwbbs 云网论坛源码
💻 JAVA
字号:
package com.redmoon.forum.plugin.present;import com.redmoon.forum.plugin.base.IPluginViewListThread;import com.redmoon.forum.plugin.base.UIListThread;import javax.servlet.http.HttpServletRequest;import cn.js.fan.util.StrUtil;import com.redmoon.forum.plugin.BoardDb;import com.redmoon.forum.MsgDb;public class PresentViewListThread implements IPluginViewListThread {    HttpServletRequest request;    public PresentViewListThread(HttpServletRequest request, String boardCode) {        this.request = request;        this.boardCode = boardCode;    }    public String render(int position) {        String str = "";        switch (position) {        case UIListThread.POS_RULE:            str += StrUtil.toHtml(StrUtil.ubb(request, getBoardRule(), true)) + getHelpLink() + getBoardNote();            break;        default:            break;        }        return "";     }    public String getHelpLink() {        return PresentSkin.LoadString(request, "helpLink");    }    public void setBoardCode(String boardCode) {        this.boardCode = boardCode;    }    public String getBoardCode() {        return boardCode;    }    public String render(int position, MsgDb md) {        return "";    }    public String getBoardRule() {        BoardDb sb = new BoardDb();        sb = (BoardDb)sb.getBoardDb(PresentUnit.code, boardCode);        return sb.getBoardRule();    }    public String getBoardNote() {                String note = "";        return note;    }    public boolean IsPluginBoard() {        BoardDb sb = new BoardDb();        return sb.isPluginBoard(PresentUnit.code, boardCode);    }    public String getListtopicSql(HttpServletRequest request, String boardcode, String op, String timelimit, int threadType) {        return "";    }    private String boardCode;}

⌨️ 快捷键说明

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