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

📄 bbstopic.jsp

📁 基于struts和ORACLE的论坛
💻 JSP
字号:
<HTML>
	<HEAD>
		<TITLE>BBS.TOL24.COM</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=gb2312">
		<LINK href="images/style.css" type="text/css" rel=stylesheet>
	</HEAD>
<%@ page contentType="text/html;charset=GBK" language="java" %>
<%@ page import = "StudyBbs.*" %>
<%@ page import = "java.util.*" %>	
<%
	session.setAttribute(Constants.TALK_TYPE_KEY,"topic");

	Vector v = (Vector)session.getAttribute(Constants.TOPIC_LIST_KEY);
	Integer tpage=(Integer)session.getAttribute(Constants.CUR_PAGEID_KEY);
	int pageid=tpage.intValue();
	Integer tsort=(Integer)session.getAttribute(Constants.CUR_SORTID_KEY);
	int sortid=tsort.intValue();
	String sortname=(String)session.getAttribute(Constants.CUR_SORTNAME_KEY);
	String username=(String)session.getAttribute(Constants.USERNAME_KEY);
	TopicDisp t = null;
	if(v != null ){	
%>	
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<BR>
<TABLE style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width="100%" 
border=0>
  <TBODY>
  <TR>
    <TD class=bold width=25 height=26>&nbsp;</TD>
    <TD bgColor=#e3effd>
      </TD>
    <TD align=left width=350 bgColor=#e3effd></TD>
    <TD class=bold width=21>&nbsp;</TD></TR>
  <TR>
    <TD class=bold height=25>&nbsp;</TD>
    <TD class=bold vAlign=bottom height=40>&nbsp; <IMG height=22 
      src="images/icon_38.gif" width=18 align=absMiddle> <%=username%>&nbsp;&nbsp;     
    </TD>
    <TD class=bold vAlign=bottom align=right width=370>&nbsp;&nbsp;&nbsp;       
      <A href="newtopic.do"><IMG 
      height=25 src="images/btn_07.gif" width=91 align=absMiddle 
      border=0> </A>&nbsp; </TD>
    <TD class=bold width=21>&nbsp;</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD width=25></TD>
    <TD width=5><IMG height=28 alt="" src="images/part1_37.gif" 
      width=5></TD>
    <TD align=right background=images/part1_38.gif>
      <P style="MARGIN-TOP: 3px; COLOR: #ffffff">∷∷∷</P></TD>
    <TD class=title align=middle width=110 
    background=images/part1_38.gif><SPAN 
      style="COLOR: #ffffff"><%=sortname%></SPAN></TD>
    <TD background=images/part1_38.gif>
      <P style="MARGIN-TOP: 3px; COLOR: #ffffff">∷∷∷</P></TD>
    <TD width=8><IMG height=28 alt="" src="images/part1_41.gif" 
      width=8></TD>
    <TD width=22></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD width=25></TD>
    <TD style="BORDER-RIGHT: #04359b 1px solid; BORDER-LEFT: #04359b 1px solid" 
    vAlign=top>
      <TABLE class=LH16 cellSpacing=1 cellPadding=5 width="100%" align=center 
      bgColor=#aec1d2 border=0>
        <TBODY>
        <TR class=bold align=middle>
          <TD width=20 background=images/bg_02.gif 
          height=28>&nbsp;</TD>
          <TD background=images/bg_02.gif>标 题</TD>
          <TD width=80 background=images/bg_02.gif>发起人</TD>
          <TD width=110 background=images/bg_02.gif>发表时间</TD>
          <TD width=40 background=images/bg_02.gif>回复</TD>
           <TD width=180 background=images/bg_02.gif>最后发表</TD></TR>           
		<%for(int i = 0;i < v.size();i++)
       		{  
       			t = (TopicDisp)v.get(i);	
       %>           
        <TR bgColor=#ffffff>
          <TD class=bold align=middle width=20 bgColor=#f4f8fb><IMG 
            src="images/icon_5.gif"></TD>            
          <TD><A href="content.do?topicid=<%=t.getId()%>"><%=t.getTitle()%></A></TD>     
          <TD class=en align=middle width=80 bgColor=#f4f8fb><A href=""><%=t.getOwner()%></A></TD>             
          <TD class=en align=middle width=130><%=t.getTime()%></TD>	          
          <TD align=middle width=40 bgColor=#f4f8fb><%=t.getReCount()%></TD>
          <TD class=en align=middle width=180 bgColor=#f4f8fb><%=t.getLastTalk()%></TD></TR>          
         <% } %>            
</TBODY></TABLE></TD>
    <TD width=1 bgColor=#bdbdbd></TD>
    <TD width=1 bgColor=#cdcdcd></TD>
    <TD width=1 bgColor=#efefef></TD>
    <TD width=22></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD width=25 rowSpan=2></TD>
    <TD width=5 background=images/part1_44.gif></TD>
    <TD height=10><IMG height=0 src="" width=0></TD>
    <TD width=8 background=images/part1_48.gif></TD>
    <TD width=22 rowSpan=2></TD></TR>
  <TR>
    <TD width=5><IMG height=14 alt="" src="images/part1_51.gif" 
      width=5></TD>
    <TD background=images/part1_52.gif></TD>
    <TD width=8><IMG height=14 alt="" src="images/part1_55.gif" 
      width=8></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <FORM style="MARGIN: 0px" name=gosomewhere action=searchdoc.jsp target=_blank>
  <TBODY>
  <TR>
    <TD vAlign=bottom width=25>&nbsp; </TD>
    <TD align=right bgColor=#f4f8fb>
     
    <A href="topic.do?sortid=<%=sortid%>&pageid=0">首页</A>
        <A href="topic.do?sortid=<%=sortid%>&pageid=<%=pageid-1%>">前页</A> 
      <A href="topic.do?sortid=<%=sortid%>&pageid=<%=pageid+1%>">后页<SPAN class=px7>&gt;&gt;</SPAN></A>
	</TD>
    <TD vAlign=bottom width=22>&nbsp; </TD></TR></FORM></TBODY></TABLE><BR>	    
      <%	}
	else{
%>
您无权访问本页面!
<%}
%>
<TABLE class=LH18 style="MARGIN-TOP: 20px; MARGIN-BOTTOM: 3px" cellSpacing=0 
cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD align=middle><FONT color=#666666>Study Online 版权所有<BR></FONT></TD></TR></TBODY></TABLE><BR></BODY></HTML>

⌨️ 快捷键说明

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