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

📄 content.jsp

📁 JAVA+JSP程序系统-华源网络科技论坛
💻 JSP
字号:
<%@ taglib uri="techbbs.tld" prefix="mt" %>
<%@ page contentType="text/html; charset=gb2312" %>
<jsp:useBean id="info" scope="page" class="org.jetic.web.techbbs.Information" />
<jsp:setProperty name="info" property="*" />
<jsp:useBean id="cont" scope="page" class="org.jetic.web.techbbs.Article" />
<jsp:setProperty name="cont" property="*" />
<%info.online(request.getRemoteAddr(),session,"品味文章");%>
<%@ include file="header.inc.jsp" %>
<%@ include file="other.jsp" %>
<%
 int id = info.getboardID();
 int id2 = cont.getArticleID();
 info.click(id2); 
%>
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolordark="#FFFFFF" bordercolorlight="#000000">
  <tr>
    <td bgcolor="#DDDDDD">
      <a href="index.jsp">华源技术论坛</a>
      <a href="Topic.jsp?boardID=<%= id %>"><%= info.boardname(id) %></a>
      <a href="marked.jsp?boardID=<%= id %>">本版精华</a> 
      <a href="Post.jsp?boardID=<%= id %>">发表新文章</a>
      <a href="Re.jsp?boardID=<%= id %>&articleID=<%= id2 %>">回复本文</a>
      <%@ include file="link.inc" %>      
    </td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="2" cellpadding="3">
  <tr bgcolor="#DDDDDD">
    <td width="75%">
      主题 <img src="image/icon/icon<%= cont.geticon() %>.gif" width=15 height=15 align=middle>
      <%= cont.gettitle() %>
      <%
      if (cont.getmark().equals("M")) out.print("<a href='dismark.jsp?boardID=" + id + "&articleID=" + id2 + "'><取消M></a>");
      else out.print("<a href='mark.jsp?boardID=" + id + "&articleID=" + id2 + "'><标为M></a> <a href='del.jsp?boardID=" + id + "&articleID=" + id2 + "'><删除></a>");
      %>
    </td>
    <td align=center><%= cont.gettime() %></td>
  </tr>
  <tr bgcolor="#F5F5F5">
    <td><%= cont.getmemo() %></td>
    <td valign=top><%= info.userinfo(cont.getwriter()) %></td>
  </tr>
  <% if(cont.getre()>0) { %>
  <tr>
    <td>相关回复</td>
    <td>&nbsp;</td>
  </tr>
  <mt:Articlere articleID="<%= id2 %>">
  <tr bgcolor="#DDDDDD">
    <td>
      <%= articlemark %><img src="image/icon/icon<%= articleicon %>.gif" width=15 height=15 align=middle>
      <%= articletitle %>
      <%
      if (articlemark.equals("M")) out.print("<a href='dismark.jsp?boardID=" + id + "&articleID=" + articleID + "'><取消M></a>");
      else out.print("<a href='mark.jsp?boardID=" + id + "&articleID=" + articleID + "'><标为M></a> <a href='del.jsp?boardID=" + id + "&articleID=" + articleID + "'><删除></a>");
      %>    
    </td>
    <td align=center><%= articletime %></td>
  </tr>
  <tr bgcolor="#F5F5F5">
    <td><%= articlememo %></td>
    <td valign=top><%= info.userinfo(articlewriter) %></td>
  </tr>
  </mt:Articlere>
  <% } %>
</table>
<%@ include file="footer.inc" %>

⌨️ 快捷键说明

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