- <HTML>
- <HEAD><TITLE>论坛主页</TITLE>
- <META http-equiv=refresh content=30>
- <META http-equiv=Content-Type content="text/html; charset=gb2312">
- <LINK href="images/style.css" type="text/css" rel="stylesheet">
- </HEAD>
- <BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
- <META http-equiv=refresh content=600>
- <%@ page contentType="text/html;charset=GBK" language="java" %>
- <%@ page import = "StudyBbs.*" %>
- <%@ page import = "java.util.*" %>
- <%
- Vector v = (Vector)session.getAttribute(Constants.SORT_LIST_KEY);
- Sort s = null;
- String username=(String)session.getAttribute(Constants.USERNAME_KEY);
- if(v != null ){
- String master;
- %>
- </h1><br>
- <TABLE class=LH18 style="MARGIN-TOP: 15px; MARGIN-BOTTOM: 3px" cellSpacing=0
- cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width=30> </TD>
- <TD class=bold vAlign=bottom height=40> <IMG height=22
- src="images/icon_38.gif" width=18 align=absMiddle> <%=username%>
- </TD>
- <TD width=24 colSpan=2></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 width=60
- background=images/part1_38.gif> </TD>
- <TD align=right background=images/part1_38.gif>
- <P style="MARGIN-TOP: 3px; COLOR: #ffffff">∷∷∷</P></TD>
- <TD align=middle width=90
- background=images/part1_38.gif><SPAN class=title
- style="COLOR: #ffffff">论坛分类</SPAN></TD>
- <TD background=images/part1_38.gif>
- <P style="MARGIN-TOP: 3px; COLOR: #ffffff">∷∷∷</P></TD>
- <TD align=middle width=60
- background=images/part1_38.gif> </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=LH18 cellSpacing=1 cellPadding=0 width="100%" align=center
- bgColor=#aec1d2 border=0>
- <TBODY>
- <TR class=bold align=middle>
- <TD width=160 background=images/bg_02.gif height=28>论
- 坛</TD>
- <TD width=60 background=images/bg_02.gif>主 题</TD>
- <TD background=images/bg_02.gif>最 后 发 表</TD>
- <TD width=130 background=images/bg_02.gif>版 主</TD></TR>
- <%for(int i = 0;i < v.size();i++)
- {
- s = (Sort)v.get(i);
- master=s.getMaster();
- if (master==null) master="";
- %>
- <TR bgColor=#ffffff>
- <TD class=bold bgColor=#ffffff><IMG height=35 hspace=8
- src="images/icon_15.gif" width=39 align=absMiddle
- vspace=5> <SPAN class=en><A href="topic.do?sortid=<%=s.getId()%>&sortname=<%=s.getName()%>"
- target=_self><%=s.getName()%></A> </SPAN></TD>
- <TD align=middle bgColor=#f4f8fb><%=s.getTopicNum()%></TD>
- <TD class=bg1 bgColor=#f4f8fb>
- <% if (s.getTopicNum()!=0){%>
- <P style="MARGIN-LEFT: 40px; MARGIN-RIGHT: 15px">
- <A href="content.do?topicid=<%=s.getLastTopicId()%>"><%=s.getLastTopic()%></A>
- (<%=s.getLastTopicOwner()%>)
- <FONT color=#9a0003><%=s.getLastTopicTime()%></FONT> </P>
- <% } %>
- </TD>
- <TD class=en align=middle bgColor=#ffffff>
- <A href=""><%=master%></A><BR></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>
- <% }
- 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>