list.jsp
上传用户:sami52198
上传日期:2010-02-11
资源大小:5174k
文件大小:14k
源码类别:

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=GB2312"%>
  2. <%@ include file="include/config.jsp"%>
  3. <%@include file="include/head.jsp"%>
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <LINK href="../css/style.css" rel=stylesheet type=text/css>
  8. <SCRIPT language=JavaScript src="../js/pub.js"></SCRIPT>
  9. <title>乐趣新闻列表----乐趣工作室</title>
  10. </head>
  11. <body bgcolor="#FFF9E6" leftmargin="0" topmargin="0">
  12. <table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DC9F01" bgcolor="#FFFFFF" bordercolordark="#FFF9E6">
  13.   <tr> 
  14.     <td valign="top">
  15. <table width="770" border="0" cellspacing="0" cellpadding="0">
  16.         <tr> 
  17.           <td height="80"><img src="images/tou.jpg" width="770" height="80"></td>
  18.         </tr>
  19.         <tr> 
  20.           <td><table width="770" border="0" cellspacing="0" cellpadding="0">
  21.               <tr bgcolor="#838383"> 
  22.                 <td width="755" height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  23.               </tr>
  24.               <tr> 
  25.                 <td height="25" background="images/topbg1.gif"> <div align="center">    
  26. <%@include file="include/board1.jsp"%>              
  27.                </td>
  28.         </tr>
  29.  
  30. <%
  31.   boardParentID = request.getParameter("boardParentID");
  32.   boardID =   request.getParameter("boardID");   
  33.   m_vct = news.getSubTypeList(boardParentID);
  34.   position = news.getPosition(boardID,boardParentID);  
  35. %>        
  36.         <tr> 
  37.           <td height="25" valign="bottom">&nbsp;&nbsp;
  38. <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=760>
  39.   <TR>
  40.     <TD height=20> 
  41.     您现在的位置:<A href="index.jsp" class=list>首 页</A> → <A href="catalog.jsp?boardParentID=<%=boardParentID%>" class=list><!--%=new String(((String)((Vector)position.get(0)).get(0)).getBytes("gb2312"),"ISO8859_1")%--><%=((Vector)position.get(0)).get(0)%></A> → <A href="list.jsp?boardParentID=<%=boardParentID%>&boardID=<%=boardID%>" class=list><!--%=new String(((String)((Vector)position.get(0)).get(1)).getBytes("gb2312"),"ISO8859_1")%--> <%=((Vector)position.get(0)).get(1)%></A> → 文章列表     </FONT> </TD>
  42.     <TD height=20 align="right"><font color=#2D56D2> 
  43.     <%
  44.       if(session.getAttribute("id") == null || session.getAttribute("id") == "")
  45.        {
  46.           %>
  47.            <a href="javascript:issue();" class=list><u>发布自己的稿件</u></a>
  48.           <%
  49.        }
  50.       else
  51.        {
  52.           %>
  53.           <a href="issue.jsp" class=list><u>发布自己的稿件</u></a>
  54.           <%
  55.        }
  56.           
  57.     %>  
  58.    
  59.     </FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </TD>  
  60.   </TR>
  61. </TABLE>          
  62.            </td>
  63.         </tr>
  64.       
  65.         <tr>
  66.           <td height="13"><hr width="99%" size="1"></td>
  67.         </tr>
  68.         <tr> 
  69.           <td><table width="770" border="0" cellspacing="0" cellpadding="0">
  70.               <tr> 
  71.                 <td width="560" valign="top"><table width="560" border="0" cellspacing="0" cellpadding="0">
  72.                     <tr> 
  73.                       <td><table width="560" border="0" cellspacing="0" cellpadding="0">
  74.                           <tr> 
  75.                             <td width="180" rowspan="2"><div align="center"> 
  76.                                 <table width="160" border="1" cellpadding="0" cellspacing="0" bordercolor="#DC9F01"  bordercolordark="#FFFFFF">
  77.                                   <tr> 
  78.                                     <td><img src="images/toutiao.jpg" width="160" height="103"></td>
  79.                                   </tr>
  80.                                 </table>
  81.                               </div></td>
  82.                             <td width="380" height="20"><font color="#A66400" size="2"><strong>个文科强人是怎样跨学校跨专业考研的...</strong></font></td>
  83.                           </tr>
  84.                           <tr> 
  85.                             <td width="380"> <table width="380" border="0" cellspacing="0" cellpadding="0">
  86.                                 <tr> 
  87.                                   <td height="60">现在跨专业跨学校考研已经是一种趋势。某君学习图书馆学年,也是得发腻。于是决定考个理科的研究生,在广泛的调查和研究之后。他毅然决定考天大的化院来挑战一下自己。看看一个连苯完都不会写的人是否可以大跨度考研成功。他做了一下跨专业跨学校考研已经是一种趋势。</td>
  88.                                 </tr>
  89.                                 <tr> 
  90.                                   <td height="20" valign="bottom"> <div align="right"><a href="http://www.2rich.net/code/news/newdetail.jsp?boardParentID=1&boardID=5&newid=11" target="_blank">阅读全文 </a> 
  91.                                       &gt;&gt;&nbsp;&nbsp;</div></td>
  92.                                 </tr>
  93.                               </table></td>
  94.                           </tr>
  95.                         </table></td>
  96.                     </tr>
  97.                     <tr> 
  98.                       <td height="10"><img src="images/tmtp.gif" width="2" height="2"> 
  99.                       </td>
  100.                     </tr>
  101.                     <tr> 
  102.                       <td>
  103.                       <table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
  104.            <tr> 
  105.             <td height="16" valign="bottom" bgcolor="#FFCC00" valign="top">
  106.                               <table width="540" border="0" align="center" cellpadding="0" cellspacing="0">
  107.                                 <tr valign="center"> 
  108.                                   <td width="50%" height="18" valign="top"> 
  109.                                    &nbsp;&nbsp;:: <%=((Vector)position.get(0)).get(1)%> ::<br> </td>
  110.                                   <td align="right" width="50%" height="18" valign="center">&nbsp;
  111.                                   
  112.                                   </td>
  113.                                 </tr>
  114.                               </table>            
  115.             </td>     
  116.             </tr>           
  117. <%
  118.    // n_list_vct = pageCtl.getcurData(news.getList(boardID,boardParentID,"00"),40,1);
  119.    n_list_vct = news.getList(boardID,boardParentID,"00");
  120.    if(n_list_vct!=null&&n_list_vct.size()>0)
  121.     {
  122. %>
  123.                            <tr> 
  124.                             <td height="155" valign="top"> 
  125.                               <table width="540" border="0" align="center" cellpadding="0" cellspacing="0">                              
  126.                         
  127. <%      
  128.       
  129.       int br_judge=0;
  130.       
  131.        for(int j=0;j<n_list_vct.size();j++)
  132.         {   
  133.           
  134.            Vector t1_vct = (Vector)n_list_vct.get(j);
  135.         
  136.            title = (String)t1_vct.get(1);
  137.         
  138.            createdate = t1_vct.get(2).toString();
  139.         
  140.            if(title.length()>13)
  141.             {
  142.         
  143.                title = title.substring(0,12)+"...";
  144.         
  145.             }           
  146.                 
  147.               
  148.                            if(j%2==0)
  149.                              {
  150.                                br_judge=1;
  151.                                 %>
  152.                             <tr valign="top"> 
  153.                                   <td width="50%" height="18"><img src="images/xtb.jpg" width="18" height="11"> 
  154.                                     <a  href=newdetail.jsp?boardParentID=<%=boardParentID%>&boardID=<%=boardID%>&newid=<%=t1_vct.get(0)%>  target=_blank><!--%=new String(title.getBytes("gb2312"),"ISO8859_1")%--><%=title%></a>(<font color="#31720E"><%=(t1_vct.get(2).toString()).substring(5,16)%></font>)</img> </td>
  155.                                     
  156.                                  
  157.                                 <%
  158.                              }
  159.                             else
  160.                              {  
  161.                                   br_judge=0;
  162.                                  %>  
  163.                                   <td width="50%" height="18"><img src="images/xtb.jpg" width="18" height="11"> 
  164.                                     <a  href=newdetail.jsp?boardParentID=<%=boardParentID%>&boardID=<%=boardID%>&newid=<%=t1_vct.get(0)%>  target=_blank><!--%=new String(title.getBytes("gb2312"),"ISO8859_1")%--><%=title%></a>(<font color="#31720E"><%=(t1_vct.get(2).toString()).substring(5,16)%></font>)</img><br> </td>
  165.                                  </tr>
  166.                                  
  167.                                 <%
  168.                              }           
  169.         }
  170.         
  171.                        if(br_judge==1)
  172.                         {
  173.                                  %>  
  174.                                   <td width="50%" height="18">
  175.                                     &nbsp;</td>
  176.                                  </tr>
  177.                               
  178.                                 <%                          
  179.                         }
  180.      %>
  181.                                 </table>
  182.                         </td>
  183.                     </tr>        
  184.      <%                             
  185.     }
  186. %> 
  187.               
  188.                         </table>
  189.                         </td>
  190.                     </tr>
  191.                   </table>
  192.                   </td>
  193.                 <td width="10" valign="top" background="images/shuxian.gif">&nbsp;</td>
  194.                 <td width="200" valign="top"> 
  195.                   <table width="180" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DC9F01"  bordercolordark="#FFFFFF">
  196.                     <tr> 
  197.                       <td><img src="images/sousuo.jpg" width="180" height="20"></td>
  198.                     </tr>
  199.                     <tr> 
  200.                       <td height="95" background="images/shousuo.gif"> <table width="165" border="0" align="center" cellpadding="0" cellspacing="0">
  201.                           <tr valign="bottom"> 
  202.                             <td width="68" height="28"> <div align="center"><font size="2">分 类:</font></div></td>
  203.                             <td width="97" height="28"><strong><font size="2"> 
  204.                               </font></strong> <select name="select">
  205.                                 <option>全部文章</option>
  206.                               </select> <strong><font size="2"> </font></strong></td>
  207.                           </tr>
  208.                           <tr> 
  209.                             <td height="28"> <div align="center"><font size="2">关键字:</font></div></td>
  210.                             <td height="28"><strong><font size="2"> 
  211.                               <input name="textfield3" type="password" size="10">
  212.                               </font></strong></td>
  213.                           </tr>
  214.                           <tr valign="bottom"> 
  215.                             <td height="20" colspan="2"> <div align="center"><img src="images/dis06.gif" width="84" height="17"></div></td>
  216.                           </tr>
  217.                         </table></td>
  218.                     </tr>
  219.                     <tr> 
  220.                       <td height="12"><img src="images/tmtp.gif" width="2" height="2"></td>
  221.                     </tr>
  222.                     <tr> 
  223.                       <td><img src="images/huiyuan.jpg" width="180" height="20"></td>
  224.                     </tr>
  225.                     <tr> 
  226.                       <td height="95" background="images/shousuo.gif">
  227.                       <%@include file="include/board2.jsp"%>   
  228.                      </td>
  229.                     </tr>
  230.                     <tr> 
  231.                       <td height="12"><img src="images/tmtp.gif" width="2" height="2"></td>
  232.                     </tr>
  233.                     <tr> 
  234.                       <td><img src="images/jiaodian.jpg" width="180" height="20"></td>
  235.                     </tr>
  236.                     <tr> 
  237.                       <td height="180" background="images/jiaodianbg.gif"><table width="140" border="0" align="center" cellpadding="0" cellspacing="0">
  238.                           <tr>
  239.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  240.                           </tr>
  241.                           <tr>
  242.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  243.                           </tr>
  244.                           <tr>
  245.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  246.                           </tr>
  247.                           <tr>
  248.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  249.                           </tr>
  250.                           <tr>
  251.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  252.                           </tr>
  253.                           <tr>
  254.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  255.                           </tr>
  256.                           <tr>
  257.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  258.                           </tr>
  259.                           <tr>
  260.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  261.                           </tr>
  262.                           <tr>
  263.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  264.                           </tr>
  265.                           <tr>
  266.                             <td height="16">* 乐趣大型新闻系统1.0版</td>
  267.                           </tr>
  268.                         </table></td>
  269.                     </tr>
  270.                   </table>
  271.                 </td>
  272.               </tr>
  273.               <tr>
  274.                 <td valign="top">&nbsp;</td>
  275.                 <td valign="top">&nbsp;</td>
  276.                 <td width="200" valign="top">&nbsp;</td>
  277.               </tr>
  278.             </table></td>
  279.         </tr>
  280.       </table>
  281.     </td>
  282.   </tr>
  283. </table>
  284. <div align="center">
  285.   <table width="760" border="0" cellspacing="0" cellpadding="0">
  286.     <tr>
  287.       <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
  288.     </tr>
  289.     <tr>
  290.       <td><div align="center">&copy;中文版权所有: 乐趣工作室『2rich』 &copy;Copyright 2003-2004 
  291.         </div></td>
  292.     </tr>
  293.     <tr>
  294.       <td><div align="center">本新闻系统部分内容摘自Internet,与 乐趣工作室『2rich』 立场无关 </div></td>
  295.     </tr>
  296.   </table>
  297. </div>
  298. </body>
  299. </html>