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

📄 readelite.jsp

📁 一个jsp写的bbs
💻 JSP
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/bbscs.tld" prefix="bbscs"%>
<%@ page import="java.util.*"%>
<bean:define id="bid" name="board" property="id"></bean:define>
<bean:define id="postid" name="f" property="mainID"></bean:define>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>精华文章</title>
<link href="css/css1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>

<body>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="readBoard">
  <tr>
    <td width="82%">
      [精华区]
      <html:link action="/refine?action=index&pid=0" paramId="bid" paramName="board" paramProperty="id"><bean:write name="board" property="boardName"/></html:link>
      <logic:iterate id="dirs" name="eliteDirs" scope="request" type="com.laoer.bbscs.bean.Elite">
      <%
      HashMap values_link = new HashMap();
      values_link.put("bid",String.valueOf(bid));
      values_link.put("pid",String.valueOf(dirs.getId()));
      pageContext.setAttribute("values_link", values_link);
      %>
      &raquo;
      <html:link action="/refine?action=index" name="values_link">
        <bean:write name="dirs" property="eliteName"/>
      </html:link>
      </logic:iterate>
    </td>
    <td width="18%">
      <div align="right">
        [<a href="javascript:history.go(-1);">返回</a>]
        [<html:link action="/forum?action=index" paramId="bid" paramName="board" paramProperty="id">返回版区</html:link>]
      </div>
    </td>
  </tr>
</table>
<p></p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="bgColor5"><table width="100%" border="0" cellpadding="4" cellspacing="1">
      <tr>
        <td class="bgColor3">
          <span class="font2">[精]</span>
          <bbscs:forum name="f" type="face"/>
          <strong class="font1">主题:<bean:write name="f" property="title"/></strong>
        </td>
      </tr>
      <tr>
        <td class="bgColor4"><table width="96%" border="0" align="center" cellpadding="4" cellspacing="0">
          <tr>
            <td width="24%">作者:<bean:write name="f" property="nickName"/>(<bean:write name="f" property="userName"/>)</td>
            <td width="76%">发帖时间:<bbscs:forum name="f" property="postTime" type="time"/></td>
          </tr>
          <tr>
            <td>整理人:<bean:write name="f" property="doEliteName"/></td>
            <td>整理时间:<bbscs:forum name="f" property="doEliteTime" type="time"/></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td class="bgColor3"><table width="96%" border="0" align="center" cellpadding="4" cellspacing="0" class="table1">
          <tr>
            <td class="bgColor2">
              <div id="detail" class="postDetail">
                <bbscs:forum name="f" type="detail"/>
              </div>
              <bbscs:forum name="f" type="sign" itemClass="signInPost"/>
            </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td class="bgColor4">
          <div align="center">
          <%
          HashMap values_link_p = new HashMap();
          values_link_p.put("bid",String.valueOf(bid));
          values_link_p.put("id",String.valueOf(postid));
          pageContext.setAttribute("values_link_p", values_link_p);
          %>
          [<html:link action="/read?action=topic&&fcpage=1&fcaction=index" name="values_link_p">察看源帖</html:link>]
          </div>
        </td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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