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

电子政务应用

开发平台:

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