📄 bbscontent.jsp
字号:
<HEAD><TITLE>帖子内容</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,"content");
Vector v = (Vector)session.getAttribute(Constants.RESPONS_LIST_KEY);
Respond c = null;
if(v != null ){
String content;
String grade;
String nickname;
String memo;
%>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TABLE height=52 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR height=26>
<TD width=25></TD>
<TD bgColor=#e3effd><FONT color=#4f4f4f>
<TD width=22></TD></TR>
<TR>
<TD width=25></TD>
<TD>
<TABLE height=35 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=25></TD>
<TD>
</TD>
<TD align=right>
<A href="newtopic.do"><IMG
height=25 src="images/btn_10.gif" width=91
align=absMiddle border=0></A></TD>
<TD width=22></TD></TR></TBODY></TABLE></TD>
<TD width=22></TD></TR></TBODY></TABLE>
<%for(int i = 0;i < v.size();i++)
{
c = (Respond)v.get(i);
content=c.getContent();
if (content==null) content="";
nickname=c.getNickname();
if (nickname==null) nickname="";
grade=c.getGrade();
if (grade==null) grade="";
memo=c.getMemo();
if (memo==null) memo="";
%>
<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"
width="20%" background=images/part1_38.gif height=28>
<P style="MARGIN-LEFT: 15px; COLOR: #ffffff">作 者: </P></TD>
<TD style="BORDER-RIGHT: #04359b 1px solid" width="75%"
background=images/part1_38.gif>
<P style="MARGIN-LEFT: 15px; COLOR: #ffffff">
<FONT size=-1>主题:<%=c.getTitle()%>
</FONT></P></TD>
<TD align=middle width=22></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=25 rowSpan=2></TD>
<TD class=LH16
style="BORDER-RIGHT: #acc2d2 1px solid; BORDER-LEFT: #04359b 1px solid"
vAlign=top width="20%" bgColor=#f4f8fb rowSpan=2><IMG height=27 hspace=4
src="images/male_2.gif" width=16 align=right vspace=6>
<P style="MARGIN: 15px"><SPAN class=bold><A class=en
href=""><%=c.getOwner()%></A></SPAN><BR>等级:<%=grade%><BR>昵称:<%=nickname%><BR>
<IMG height=16
src="images/icon_12.gif" width=16 align=absMiddle> 发表于:<FONT
color=#990000><%=c.getTime()%></FONT></P>
<BR></TD>
<TD class=LH18
style="BORDER-RIGHT: #04359b 1px solid; PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-TOP: 15px"
vAlign=top width="75%" bgColor=#f4f8fb>
<P><FONT size=-1>
<%=content%> </TD>
<TD width=22 rowSpan=2></TD></TR>
<TR>
<TD class=LH16 style="BORDER-RIGHT: #04359b 1px solid" vAlign=bottom
bgColor=#f4f8fb>
<P
style="MARGIN-BOTTOM: 15px; MARGIN-LEFT: 15px; MARGIN-RIGHT: 15px"><FONT
color=#0066ff>-----------------------------------------------------------------<BR>
<BR><%=memo%>
</FONT></P></TD></TR></TBODY></TABLE>
<% } %>
<% }
else{
%>
您无权访问本页面!
<%}
%>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=25></TD>
<TD style="BORDER-TOP: #04359b 1px solid" width="95%"> </TD>
<TD width=22></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=bold width=25 height=25> </TD>
<TD class=bold width=22> </TD></TR></TBODY></TABLE><BR><BR><BR>
<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 + -