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

📄 readhistory.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/FCKeditor.tld" prefix="FCK"%>
<%@taglib uri="/WEB-INF/bbscs.tld" prefix="bbscs"%>
<bean:define id="boardid" name="board" scope="request" property="id"/>
<bean:define id="pagesObj" name="pl" property="pages" scope="request" type="com.laoer.bbscs.service.web.Pages"/>
<bean:define id="forumList" name="pl" property="objectList" scope="request" type="java.util.List"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html xhtml="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>
<bean:write name="title" filter="false"/>
</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>
<script type="text/javascript" src="js/jsMsg.jsp"></script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/comm.js"></script>
<script type="text/javascript" src="js/read.js"></script>

</head>
<body>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="readBoard">
  <tr>
    <td width="43%">
      <html:link action="/in">社区</html:link>
      <logic:iterate id="pboard" name="pboards" scope="request">
      &raquo;
      <html:link action="/forum?action=index" paramId="bid" paramName="pboard" paramProperty="id"><bean:write name="pboard" property="boardName"/></html:link>
      </logic:iterate>
      &raquo;
      <html:link action="/forum?action=index" paramId="bid" paramName="board" paramProperty="id"><bean:write name="board" property="boardName"/></html:link>
    </td>
    <td width="57%">
      <div align="right">
        [分页: <bbscs:pages name="pagesObj" argPage="inpages" argTotal="topicTotal"/>]
        [<bbscs:topic type="returnforum"/>]
      </div>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="2">
  <tr>
    <td width="83%">
      <logic:iterate id="f" name="forumList" type="com.laoer.bbscs.bean.ForumHistory" indexId="index">
      <div id="topic<%=f.getId()%>">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td class="bgColor5">
            <table width="100%" border="0" cellpadding="4" cellspacing="1">
              <tr>
                <td colspan="2" class="bgColor3">
                  <span class="font2">[<bbscs:forumHistory name="f" type="floor"/>]</span>
                  <bbscs:forumHistory name="f" type="face"/>
                  <span class="font1">
                    <strong>主题:<bean:write name="f" property="title"/></strong>
                    <span id="cndt<%=f.getId()%>">
                      <logic:equal value="1" name="f" property="canNotDel">M</logic:equal>
                    </span>
                  </span>
                </td>
              </tr>
              <tr>
                <td width="21%" valign="top" class="bgColor4">
                  <html:link action="/userInfo?action=id" paramId="id" paramName="f" paramProperty="userID">
                    <bean:write name="f" property="nickName"/>(<bean:write name="f" property="userName"/>)
                  </html:link>
                </td>
                <td width="79%" class="bgColor2">
                  <div align="right">
                    <a href="javascript:;" onclick="showHisrotyIp('<%=boardid%>','<%=f.getId()%>');"><img src="images/ip.gif" alt="IP" border="0" width="16" height="16" align="absmiddle"/></a>
                  </div>
                  <div id="ipMsg<%=f.getId()%>" class="summary1" style="display:none" align="right"></div>
                </td>
              </tr>
              <tr>
                <td valign="top" class="bgColor4">
                  <bbscs:userinfoinpost idName="f" idProperty="userID" styleClass="pic1"/>
                </td>
                <td valign="top" class="bgColor2">
                  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>
                        <div id="detail<%=f.getId()%>" class="postDetail">
                          <bbscs:forumHistory name="f" type="detail"/>
                        </div>
                        <bbscs:forumHistory name="f" type="sign" itemClass="signInPost"/>
                        <bbscs:forumHistory name="f" type="amend"/>
                      </td>
                    </tr>
                    <tr>
                      <td><div align="right">&nbsp;</div></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td valign="top" class="bgColor4"><bbscs:forumHistory name="f" type="timeinpost"/></td>
                <td class="bgColor2">
                  <div align="right">
                  </div>
                  <div id="postOpt<%=f.getId()%>" class="summary1" style="display:none"></div>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table width="100%" height="1" border="0">
        <tr>
          <td></td>
        </tr>
      </table>
      </div>
      </logic:iterate>

      <table width="100%" border="0" cellpadding="4" cellspacing="0">
        <tr>
          <td class="bgColor4">
            <div align="right">
              [分页: <bbscs:pages name="pagesObj" argPage="inpages" argTotal="topicTotal"/>]
              [<bbscs:topic type="returnforum"/>]
            </div>
          </td>
        </tr>
      </table>

      <table width="100%" height="1" border="0">
        <tr>
          <td></td>
        </tr>
      </table>

    </td>
    <td width="17%" valign="top" class="bgColor4">
      <table width="100%" border="0" cellpadding="4" cellspacing="0" class="table7">
        <tr>
          <td class="bgColor3">
            <div align="center" class="font1">社区搜索</div>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="4" cellspacing="0">
        <html:form action="/search">
        <tr>
          <td>
            <div align="center">
              <input name="query" type="text" class="input2" size="8"/>
              <input name="Submit2" type="submit" class="button1" value="提交"/>
            </div>
          </td>
        </tr>
        </html:form>
      </table>
      <table width="100%" border="0" cellpadding="4" cellspacing="0" class="table7">
        <tr>
          <td class="bgColor3">
            <div align="center" class="font1">推荐主题</div>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="4" cellspacing="0">
        <tr>
          <td><bbscs:topic type="commend"/></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html:html>

⌨️ 快捷键说明

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