📄 index.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ include file="head.jsp" %>
</DIV>
<style type="text/css">
<!--
a:hover {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dashed;
border-left-style: none;
border-top-color: #3300FF;
border-right-color: #3300FF;
border-bottom-color: #3300FF;
border-left-color: #3300FF;
}
-->
</style>
<TABLE cellSpacing=0 cellPadding=0 width=770 align=center
background="images/bg01.gif" border=0 style="margin-top: -16">
<TBODY>
<TR>
<TD vAlign=top height=179>
<TABLE class=style cellSpacing=0 cellPadding=0 width=748 align=center
border=0>
<TBODY>
<TR>
<%@ include file="left.jsp" %>
<TD width=10 height="100%">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width=10
background="images/line.gif" border=0>
<TBODY>
<TR>
<TD> </TD></TR></TBODY></TABLE></TD>
<TD vAlign=top width=529 bgColor=#ffffff>
<TABLE height=10 cellSpacing=0 cellPadding=0 width=500 align=center
border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<TABLE height=25 cellSpacing=0 cellPadding=0 width=510 align=center
background="images/he.gif" border=0>
<TBODY>
<TR>
<TD width=510>
<DIV align=left> <font size="2" color="#3399FF">
<%=myNews.getSortNameBySortId(1)%></font></DIV></TD>
</TR></TBODY></TABLE>
<TABLE height=186 cellSpacing=0 cellPadding=0 width=480 align=center
border=0>
<TBODY>
<TR>
<TD width=110 height="186">
<DIV align=center><IMG
src="images/news.jpg" width="86" height="67"></DIV></TD>
<TD vAlign=top width=390 height="186">
<DIV class=font align=center>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width="2%" rowspan="2" class=font> </TD>
<TD class=font width="97%" height="170">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<%
int sortId=1;
int i=1;
Iterator articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>9)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
<tr>
<td width="5%" align="center"><IMG height=6 src="images/arrow_g.gif" width=4></td>
<td width="95%" class=font><a href="article.jsp?articleId=<%=article.getArticleId()%>"><%=article.getTitle()%></a></td>
</tr>
<% i++;
};
%>
</table>
</TD>
</TR>
<TR>
<TD class=font><div align="right"><a href="articleList.jsp?sortId=1">更多...</a><img border="0" src="images/jr.gif" width="20" height="9"></div></TD>
</TR>
</TBODY>
</TABLE>
</DIV></TD></TR></TBODY></TABLE>
<TABLE height=25 cellSpacing=0 cellPadding=0 width=510 align=center
background="images/he.gif" border=0>
<TBODY>
<TR>
<TD width=510>
<DIV align=left> <font size="2" color="#3399FF"><%=myNews.getSortNameBySortId(2)%></font></DIV></TD>
</TR></TBODY></TABLE>
<TABLE height=129 cellSpacing=0 cellPadding=0 width=480 align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width=390 height=110>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<%
sortId=2;
i=1;
articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>5)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
<TR>
<TD width="8%" height=20> <DIV align=center><IMG height=6 src="images/arrow_z.gif" width=4></DIV></TD>
<TD width="92%" class=font><a href="article.jsp?articleId=<%=article.getArticleId()%>"><%=article.getTitle()%></a></TD>
</TR>
<% i++;
}
%>
</TBODY>
</TABLE>
</DIV></TD>
<TD width=110 height="127" rowspan="2">
<DIV align=center><img border="0" src="images/ring.jpg" width="100" height="87"></DIV></TD></TR>
<TR>
<TD class=font><div align="right" class=font><a href="articleList.jsp?sortId=2">更多...</a><img border="0" src="images/jr.gif" width="20" height="9"></div></TD>
</TR>
</TBODY></TABLE>
<TABLE height=25 cellSpacing=0 cellPadding=0 width=510 align=center
background="images/he.gif" border=0>
<TBODY>
<TR>
<TD width=510>
<DIV align=left> <font size="2" color="#3399FF">
<%=myNews.getSortNameBySortId(3)%></font></DIV></TD>
</TR></TBODY></TABLE>
<TABLE height=236 cellSpacing=0 cellPadding=0 width=480 align=center
border=0>
<TBODY>
<TR>
<TD height=140 rowspan="2">
<DIV align=center><img border="0" src="images/xlh.jpg" width="100" height="86"></DIV></TD>
<TD width=490 height="222" vAlign=top class=font>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<%
sortId=3;
i=1;
articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>5)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
<TR>
<TD width="8%" height=20> <DIV align=center><p style="margin-left: 50"><IMG height=6 src="images/arrow_g.gif" width=4></DIV></TD>
<TD class=font>
<p style="margin-left: 20"><a href="article.jsp?articleId=<%=article.getArticleId()%>"><%=article.getTitle()%></a></TD>
</TR>
<% i++;
}
%>
</TBODY>
</TABLE>
</DIV></TD></TR>
<TR>
<TD height="10" vAlign=top class=font><div align="right"><a href="articleList.jsp?sortId=3">更多...</a><img border="0" src="images/jr.gif" width="20" height="9"></div></TD>
</TR>
</TBODY></TABLE>
<TABLE height=25 cellSpacing=0 cellPadding=0 width=510 align=center
background="images/he.gif" border=0>
<TBODY>
<TR>
<TD width=510>
<DIV align=left> <font size="2" color="#3399FF"><%=myNews.getSortNameBySortId(4)%></font></DIV></TD>
</TR></TBODY></TABLE>
<TABLE height=140 cellSpacing=0 cellPadding=0 width=480 align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width=390 height=140>
<DIV align=center>
<TABLE width="100%" height="140" border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD class=font height=140> <div align="left">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<%
sortId=4;
i=1;
articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>6)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
<TR>
<TD width="8%" height=20><DIV align=center><IMG height=6 src="images/arrow_y.gif" width=4></DIV></TD>
<TD width="92%" class=font><a href="article.jsp?articleId=<%=article.getArticleId()%>"><%=article.getTitle()%></a></TD>
</TR>
<% i++;
}
%>
</TBODY>
</TABLE>
</div>
<DIV align=right>
<P class=en> </P>
</DIV></TD></TR></TBODY></TABLE>
</DIV></TD>
<TD width=110>
<DIV align=center><IMG height=160
src="images/coffee.gif"
width=74 align="left"></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<%@ include file="foot.htm" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -