📄 复件 catalog.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="include/config.jsp"%>
<%@include file="include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../css/style.css" rel=stylesheet type=text/css>
<SCRIPT language=JavaScript src="../js/pub.js"></SCRIPT>
<title>乐趣新闻首页----乐趣工作室</title>
</head>
<body bgcolor="#FFF9E6" leftmargin="0" topmargin="0">
<table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DC9F01" bgcolor="#FFFFFF" bordercolordark="#FFF9E6">
<tr>
<td valign="top">
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="80"><img src="images/tou.jpg" width="770" height="80"></td>
</tr>
<tr>
<td><table width="770" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#838383">
<td width="755" height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
</tr>
<tr>
<td height="25" background="images/topbg1.gif"> <div align="center">
<%@include file="include/board1.jsp"%>
</td>
</tr>
<%
boardParentID =request.getParameter("boardParentID");
boardParentName = ((Vector)(news.getTypeName(boardParentID).get(0))).get(0).toString();
m_vct = news.getSubTypeList(boardParentID );//取得放在首页的新闻类型
%>
<tr>
<td height="25" valign="bottom">
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=760>
<TR>
<TD height=20>
您现在的位置:<A href="index.jsp">首 页 </A>
<%
if(boardParentID!=null&&!boardParentID.equals(""))
{
%>
→ <A href="catalog.jsp?boardParentID=<%=boardParentID%>" class=list><!--%=new String(boardParentName.getBytes("gb2312"),"ISO8859_1")%--><%=boardParentName%></A> → 栏目列表
<%
}
else
{
%>
→ 栏目列表
<%
}
%> </FONT> </TD>
<TD height=20 align="right"><font color=#2D56D2>
<%
if(session.getAttribute("id") == null || session.getAttribute("id") == "")
{
%>
<a href="javascript:issue();" class=list><u>发布自己的稿件</u></a>
<%
}
else
{
%>
<a href="issue.jsp" class=list><u>发布自己的稿件</u></a>
<%
}
%>
</FONT> </TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td height="13"><hr width="99%" size="1"></td>
</tr>
<tr>
<td><table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="560" valign="top"><table width="560" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="560" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" rowspan="2"><div align="center">
<table width="160" border="1" cellpadding="0" cellspacing="0" bordercolor="#DC9F01" bordercolordark="#FFFFFF">
<tr>
<td><img src="images/toutiao.jpg" width="160" height="103"></td>
</tr>
</table>
</div></td>
<td width="380" height="20"><font color="#A66400" size="2"><strong>个文科强人是怎样跨学校跨专业考研的...</strong></font></td>
</tr>
<tr>
<td width="380"> <table width="380" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60">现在跨专业跨学校考研已经是一种趋势。某君学习图书馆学年,也是得发腻。于是决定考个理科的研究生,在广泛的调查和研究之后。他毅然决定考天大的化院来挑战一下自己。看看一个连苯完都不会写的人是否可以大跨度考研成功。他做了一下跨专业跨学校考研已经是一种趋势。</td>
</tr>
<tr>
<td height="20" valign="bottom"> <div align="right"><a href="http://www.onlineshop.net/code/news/newdetail.jsp?boardParentID=1&boardID=5&newid=11" target="_blank">阅读全文 </a>
>> </div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10"><img src="images/tmtp.gif" width="2" height="2">
</td>
</tr>
<tr>
<td>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<%
if(m_vct!=null&&m_vct.size()>0)
{
for(int i=0;i<m_vct.size();i++)
{
Vector t_vct = (Vector)m_vct.get(i);
%>
<tr>
<td height="16" valign="bottom" bgcolor="#FFCC00">
<table width="100%">
<tr align="left">
<td> :: <!--%=new String(((String)t_vct.get(2)).getBytes("gb2312"),"ISO8859_1")%--><%=t_vct.get(2)%> ::
</td>
<td align="right">
<a href="list.jsp?boardParentID=<%=t_vct.get(0)%>&boardID=<%=t_vct.get(1)%>">更多>>> </a>
</td>
</tr>
</table>
</td>
</tr>
<%
boardParentID =t_vct.get(0).toString();
boardID =t_vct.get(1).toString();
n_list_vct =news.getList(boardID,boardParentID,"00");// pageCtl.getcurData(news.getList(boardID,boardParentID,"00"),20,1); //分页实现
if(n_list_vct!=null&&n_list_vct.size()>0)
{
%>
<tr>
<td height="155" valign="top">
<table width="540" border="0" align="center" cellpadding="0" cellspacing="0">
<%
int br_judge=0;
for(int j=0;j<n_list_vct.size();j++)
{
Vector t1_vct = (Vector)n_list_vct.get(j);
title = (String)t1_vct.get(1);
if(title.length()>14)
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -