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