markcont.jsp

来自「JAVA+JSP程序系统-华源网络科技论坛」· JSP 代码 · 共 38 行

JSP
38
字号
<%@ 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>
      精华区 
      <%@ 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() %>
    </td>
    <td align=center><%= cont.gettime() %></td>
  </tr>
  <tr bgcolor="#F5F5F5">
    <td><%= cont.getmemo() %></td>
    <td valign=top><%= info.userinfo(cont.getwriter()) %></td>
  </tr>
</table>
<%@ include file="footer.inc" %>

⌨️ 快捷键说明

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