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