news_add.jsp
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:5k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@ include file="conn.jsp"%>
  3. <% 
  4. String condition="select * from art";
  5. rs=stmt.executeQuery(condition);
  6. rs.next();
  7. %>
  8. <html>
  9. <head>
  10. <%
  11. if(session.getAttribute("adminname")==null)
  12. {response.sendRedirect("sorry.jsp");}
  13. %>
  14. <%--<meta http-equiv="Content-Type" content="text/html; charset=gb2312">--%>
  15. <title>新闻</title>
  16. <link href="style.css" rel="stylesheet" type="text/css">
  17. <style type="text/css">
  18. <!--
  19. a.rights:link {
  20. COLOR: #000000;
  21. TEXT-DECORATION: none;
  22. }
  23. a.rights:visited {
  24. COLOR: #000000;
  25. TEXT-DECORATION: none;
  26. }
  27. a.rights:hover {
  28. COLOR: #FF0000;  
  29. TEXT-DECORATION: none;
  30. }
  31. .style1 {font-size: 9pt; text-decoration: none; font-family: "??ì?";}
  32. </style>
  33. </head>
  34. <body background="img/beijing.gif" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  35. <table width="650" border="0" align="center" cellpadding="0" cellspacing="0" class="tittle0">
  36.    <tr bgcolor="img/beijing.gif">
  37.     <td colspan="3" rowspan="2"align="center" valign="middle"><img src="mm_travel_photo.jpg" alt="Header image" width="400" height="140" border="0"></td>
  38.      <td bgcolor="#3366CC" height="140" width="250"colspan="3" id="tagline" valign="top" align="center"><font size="5">新闻系统</font></td>
  39.   </tr>
  40. </table>
  41. <br>
  42. <table width="650" border="0" cellspacing="0" cellpadding="0" align="center">
  43.   <tr> 
  44.     <td></td>
  45.   </tr>
  46.   <tr> 
  47.     <td valign="top" bgcolor="#FFFFFF"> 
  48.  <form action="news_add_operate.jsp" method="POST" name="form" id="form" >
  49.         <table width="650" border="0" cellspacing="0" cellpadding="0">
  50.           <tr> 
  51.             <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle3">
  52.                 <tr> 
  53.                   <td width="12%"><img src="img/top1.gif" width="81" height="22"></td>
  54.                   <td width="86%" background="img/top2.gif"><a href="add_all_slly.jsp"><center>
  55.                   </center></a></td>
  56.                   <td width="2%"><img src="img/top3.gif" width="47" height="22"></td>
  57.                 </tr>
  58.               </table></td>
  59.           </tr>
  60.           <tr valign="top"> 
  61.             <td height="162"> <table width="100%" border="0" cellpadding="0" cellspacing="2" class="tittle1">
  62.                 <tr> 
  63.                   <td width="70" height="30" align="right"><font color="#000099"><img src="img/Forum_nav.gif" width="15" height="19" align="absmiddle">标 题</font></td>
  64.                   <td width="156" height="30"> <input name="art_headline" type="text" id="art_headline" style="border:1px double rgb(187,185,185);font:9pt"> 
  65.                     </td>
  66.                   <td width="414" rowspan="4" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  67.                       <tr> 
  68.                         <td><font color="#000099"><img src="img/shareforum.gif" width="25" height="25" align="absmiddle"> 
  69.                           <span class="font0">添加新闻</span></font></td>
  70.                       </tr>
  71.                       <tr> 
  72.                         <td align="center"> <textarea name="art_content" cols="65" rows="20" id="art_content" style="border:1px double rgb(187,185,185);font:9pt"></textarea> 
  73.                           <font color="#FF0000">*</font> </td>
  74.                       </tr>
  75.                     </table></td>
  76.                 </tr>
  77.                 <tr> 
  78.                   <td align="right"><font color="#000099"><img src="img/topicnew.gif" width="16" height="18" align="absmiddle">作 者<span class="style1">  
  79.                    </span></font></td>
  80.                   <td height="30"><input name="author" type="text" id="author" style="border:1px double rgb(187,185,185);font:9pt" >                  </td>
  81.                 </tr>
  82.                 <tr> 
  83.                   <td height="30" align="right"><font color="#000099"><img src="img/topichot2.gif" width="16" height="18" align="absmiddle">电 话<span class="font0">   
  84.                     </span></font></td>
  85.                   <td height="30"> <input name="tel" type="text" id="tel" style="border:1px double rgb(187,185,185);font:9pt" > 
  86.                   </td>
  87.                 </tr>
  88.                 <tr> 
  89.                   <td height="30" colspan="2" align="right">&nbsp;                  </td>
  90.                 </tr>
  91.                 <tr>
  92.                   <td height="30" colspan="2" align="right">&nbsp;</td> 
  93.                   <td align="center"> <input type="submit" name="Submit" value="提 交" style="border:1 solid #BBB9B9;background:#ffffff" class="button"> 
  94.                     <input type="reset" name="Submit2" value="重 写" style="border:1 solid #BBB9B9;background:#ffffff" class="button"> 
  95.                   </td>
  96.                 </tr>
  97.               </table></td>
  98.           </tr>
  99.           <tr valign="top"> 
  100.             <td><table border="0" width="650" cellspacing="0" cellpadding="0" height="7" align="center">
  101.                 <tr> 
  102.                   <td width="2%" align="center"><img src="img/end1.gif" width="12" height="14"></td>
  103.                   <td width="89%" align="center" background="img/end2.gif"></td>
  104.                   <td width="9%" align="center"><img src="img/end3.gif" width="65" height="14"></td>
  105.                 </tr>
  106.               </table></td>
  107.           </tr>
  108.         </table>
  109.         
  110.       </form></td>
  111.   </tr>
  112. </table>
  113. </body>
  114. </html>