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

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=GB2312"%>
  2. <%@ include file="include/config.jsp"%>
  3. <%@include file="include/control.jsp"%>
  4. <% request.setCharacterEncoding("gb2312"); %>
  5. <%@include file="include/head.jsp"%>
  6. <html>
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  9. <LINK href="../css/style.css" rel=stylesheet type=text/css>
  10. <title>新闻发布----乐趣工作室</title>
  11. <script language="JavaScript">  
  12. function sub()
  13.  {
  14.      document.issueform.par.value="addnews";
  15.      document.issueform.action="issueout.jsp"
  16.      document.issueform.submit();
  17.  }  
  18. </script>
  19. </head>
  20. <% 
  21.       boardParentID = request.getParameter("boardParentID");
  22.       boardID = request.getParameter("boardID");   
  23.       par = request.getParameter("par");
  24.       if(boardParentID!=null&&!boardParentID.equals(""))
  25.        {
  26.           position = news.getPosition(boardID,boardParentID);
  27.            if(par!=null&&!par.equals("")&&!par.equals("null"))
  28.            {
  29.               issuance.createNews(inc,boardID,boardParentID);
  30.            }
  31.        }
  32.       
  33.       m_vct = news.getBanner(); 
  34.       
  35.       
  36. %>
  37. <body bgcolor="#FFF9E6" leftmargin="0" topmargin="0">
  38. <table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DC9F01" bgcolor="#FFFFFF" bordercolordark="#FFF9E6">
  39.   <tr> 
  40.     <td valign="top">
  41. <table width="770" border="0" cellspacing="0" cellpadding="0">
  42.         <tr> 
  43.           <td height="80"><img src="images/tou.jpg" width="770" height="80"></td>
  44.         </tr>
  45.         <tr> 
  46.           <td><table width="770" border="0" cellspacing="0" cellpadding="0">
  47.               <tr bgcolor="#838383"> 
  48.                 <td width="755" height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  49.               </tr>
  50.               <tr> 
  51.                 <td height="25" background="images/topbg1.gif"> <div align="center">首 
  52.                     页 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;心灵驿站 
  53.                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;小资生活 
  54.                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;乐趣娱乐 
  55.                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;乐趣论坛 
  56.                   </div></td>
  57.               </tr>
  58.             </table></td>
  59.         </tr>
  60.         <tr> 
  61.           <td height="25" valign="bottom">&nbsp;&nbsp;
  62. 您现在的位置:<A href="index.jsp" >首 页</A> 
  63.       <%
  64.        if(boardParentID!=null&&!boardParentID.equals(""))
  65.        {
  66.          %>
  67.          → <A href="catalog.jsp?boardParentID=<%=boardParentID%>"><!--%=new String(((String)((Vector)position.get(0)).get(0)).getBytes("gb2312"),"ISO8859_1")%--><%=((Vector)position.get(0)).get(0)%></A> 
  68.          → <A href="list.jsp?boardParentID=<%=boardParentID%>&boardID=<%=boardID%>" ><!--%=new String(((String)((Vector)position.get(0)).get(1)).getBytes("gb2312"),"ISO8859_1")%--> <%=((Vector)position.get(0)).get(1)%></A>
  69.          → 发布文章 
  70.          <%
  71.        }  
  72.       %>             
  73.            </td>
  74.         </tr>
  75.         <tr>
  76.           <td height="13"><hr width="99%" size="1"></td>
  77.         </tr>
  78.         <tr> 
  79.           <td><table width="770" border="0" cellspacing="0" cellpadding="0">
  80.               <tr> 
  81.                 <td width="200" valign="top"><table width="180" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DC9F01"  bordercolordark="#FFFFFF">
  82.                     <tr> 
  83.                       <td><img src="images/fabu.jpg" width="180" height="20"></td>
  84.                     </tr>
  85.                     <tr> 
  86.                       <td><img src="images/bg1.jpg" width="180" height="22"></td>
  87.                     </tr>
  88.                     <tr> 
  89.                       <td background="images/bg2.jpg"><table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
  90.                           <%
  91.    if(m_vct!=null&&m_vct.size()>0)
  92.     {
  93.        for(int i=0;i<m_vct.size();i++)
  94.         {
  95.            Vector t_vct = (Vector)m_vct.get(i);           
  96.            %>
  97.                    <TR>
  98.                    <TD align=left>&nbsp;&nbsp;<!--%=new String(((String)t_vct.get(1)).getBytes("gb2312"),"ISO8859_1")%--><%=t_vct.get(1)%></td> 
  99.                    </tr>
  100.            <%
  101.           
  102.           n_list_vct = news.getSubTypeList(t_vct.get(0).toString());
  103.           if(n_list_vct!=null&&n_list_vct.size()>0)
  104.            {
  105.                 for(int j=0;j<n_list_vct.size();j++) 
  106.                  {
  107.                     Vector t1_vct = (Vector)n_list_vct.get(j);
  108.                      %>
  109.                       <tr>
  110.                       <td align=left>&nbsp;&nbsp;&nbsp;&nbsp;
  111.                       <a href="issue.jsp?boardParentID=<%=t1_vct.get(0)%>&boardID=<%=t1_vct.get(1)%>"><!--%=new String(((String)t1_vct.get(2)).getBytes("gb2312"),"ISO8859_1")%--><%=t1_vct.get(2)%></a>
  112.                       </td>
  113.                       </tr>
  114.                      <%
  115.                  }    
  116.            } 
  117.            
  118.         }
  119.     }
  120. %>  
  121.                           <tr> 
  122.                             <td height="17"><div align="left"><a href="index.jsp">返回首页</a></div></td>
  123.                           </tr>
  124.                         </table></td>
  125.                     </tr>
  126.                     <tr> 
  127.                       <td><img src="images/bg3.jpg" width="180" height="24"></td>
  128.                     </tr>
  129.                   </table></td>
  130.                 <td width="10" valign="top" background="images/shuxian.gif">&nbsp;</td>
  131.                 <td width="560" valign="top"><table width="530" border="0" align="center" cellpadding="0" cellspacing="0">
  132.                     <tr>
  133.                       <td>&nbsp;</td>
  134.                     </tr>
  135.                     <tr>
  136.                       <td>
  137.                           
  138.                       <table width="530" border="1" cellpadding="0" cellspacing="0" bordercolor="#DC9F01" bordercolordark="#FFFFFF" bgcolor="#FFFDF7">
  139.                     
  140.                           <tr> 
  141.                             <td valign="top"> <table width="510" border="0" align="center" cellpadding="0" cellspacing="0">
  142.                                              
  143.               <tr> 
  144.                 <td width=80% align="center" valign="center">&nbsp;<font color="red">发布成功,请等待乐趣工作室审批!</font></td> 
  145.                 
  146.               </tr> 
  147.               <tr> 
  148.                 <td width=80% align="center" valign="center">&nbsp;</td> 
  149.                 
  150.               </tr>                           
  151.               <tr> 
  152.                 <td width=80% align="center" valign="center">&nbsp;<a href="issue.jsp?boardParentID=<%=boardParentID%>&boardID=<%=boardID%>">继续发布</a>  <a href="index.jsp">返回首页</a></td>                 
  153.               </tr>                                          
  154.                               </table></td>
  155.                           </tr>
  156.                         </table></td>
  157.                     </tr>
  158.                     <tr>
  159.                       <td>&nbsp;</td>
  160.                     </tr>
  161.                   </table> </td>
  162.               </tr>
  163.               <tr>
  164.                 <td valign="top">&nbsp;</td>
  165.                 <td valign="top">&nbsp;</td>
  166.                 <td width="560" valign="top">&nbsp;</td>
  167.               </tr>
  168.             </table></td>
  169.         </tr>
  170.       </table>
  171.     </td>
  172.   </tr>
  173. </table>
  174. <div align="center">
  175.   <table width="760" border="0" cellspacing="0" cellpadding="0">
  176.     <tr>
  177.       <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
  178.     </tr>
  179.     <tr>
  180.       <td><div align="center">&copy;中文版权所有: 乐趣工作室『2rich』 &copy;Copyright 2003-2004 
  181.         </div></td>
  182.     </tr>
  183.     <tr>
  184.       <td><div align="center">本新闻系统部分内容摘自Internet,与 乐趣工作室『2rich』 立场无关 </div></td>
  185.     </tr>
  186.   </table>
  187. </div>
  188. </body>
  189. </html>