news_add.jsp
资源名称:zyp.rar [点击查看]
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:5k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ include file="conn.jsp"%>
- <%
- String condition="select * from art";
- rs=stmt.executeQuery(condition);
- rs.next();
- %>
- <html>
- <head>
- <%
- if(session.getAttribute("adminname")==null)
- {response.sendRedirect("sorry.jsp");}
- %>
- <%--<meta http-equiv="Content-Type" content="text/html; charset=gb2312">--%>
- <title>新闻</title>
- <link href="style.css" rel="stylesheet" type="text/css">
- <style type="text/css">
- <!--
- a.rights:link {
- COLOR: #000000;
- TEXT-DECORATION: none;
- }
- a.rights:visited {
- COLOR: #000000;
- TEXT-DECORATION: none;
- }
- a.rights:hover {
- COLOR: #FF0000;
- TEXT-DECORATION: none;
- }
- .style1 {font-size: 9pt; text-decoration: none; font-family: "??ì?";}
- </style>
- </head>
- <body background="img/beijing.gif" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
- <table width="650" border="0" align="center" cellpadding="0" cellspacing="0" class="tittle0">
- <tr bgcolor="img/beijing.gif">
- <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>
- <td bgcolor="#3366CC" height="140" width="250"colspan="3" id="tagline" valign="top" align="center"><font size="5">新闻系统</font></td>
- </tr>
- </table>
- <br>
- <table width="650" border="0" cellspacing="0" cellpadding="0" align="center">
- <tr>
- <td></td>
- </tr>
- <tr>
- <td valign="top" bgcolor="#FFFFFF">
- <form action="news_add_operate.jsp" method="POST" name="form" id="form" >
- <table width="650" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tittle3">
- <tr>
- <td width="12%"><img src="img/top1.gif" width="81" height="22"></td>
- <td width="86%" background="img/top2.gif"><a href="add_all_slly.jsp"><center>
- </center></a></td>
- <td width="2%"><img src="img/top3.gif" width="47" height="22"></td>
- </tr>
- </table></td>
- </tr>
- <tr valign="top">
- <td height="162"> <table width="100%" border="0" cellpadding="0" cellspacing="2" class="tittle1">
- <tr>
- <td width="70" height="30" align="right"><font color="#000099"><img src="img/Forum_nav.gif" width="15" height="19" align="absmiddle">标 题</font></td>
- <td width="156" height="30"> <input name="art_headline" type="text" id="art_headline" style="border:1px double rgb(187,185,185);font:9pt">
- </td>
- <td width="414" rowspan="4" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><font color="#000099"><img src="img/shareforum.gif" width="25" height="25" align="absmiddle">
- <span class="font0">添加新闻</span></font></td>
- </tr>
- <tr>
- <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>
- <font color="#FF0000">*</font> </td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td align="right"><font color="#000099"><img src="img/topicnew.gif" width="16" height="18" align="absmiddle">作 者<span class="style1">
- </span></font></td>
- <td height="30"><input name="author" type="text" id="author" style="border:1px double rgb(187,185,185);font:9pt" > </td>
- </tr>
- <tr>
- <td height="30" align="right"><font color="#000099"><img src="img/topichot2.gif" width="16" height="18" align="absmiddle">电 话<span class="font0">
- </span></font></td>
- <td height="30"> <input name="tel" type="text" id="tel" style="border:1px double rgb(187,185,185);font:9pt" >
- </td>
- </tr>
- <tr>
- <td height="30" colspan="2" align="right"> </td>
- </tr>
- <tr>
- <td height="30" colspan="2" align="right"> </td>
- <td align="center"> <input type="submit" name="Submit" value="提 交" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
- <input type="reset" name="Submit2" value="重 写" style="border:1 solid #BBB9B9;background:#ffffff" class="button">
- </td>
- </tr>
- </table></td>
- </tr>
- <tr valign="top">
- <td><table border="0" width="650" cellspacing="0" cellpadding="0" height="7" align="center">
- <tr>
- <td width="2%" align="center"><img src="img/end1.gif" width="12" height="14"></td>
- <td width="89%" align="center" background="img/end2.gif"></td>
- <td width="9%" align="center"><img src="img/end3.gif" width="65" height="14"></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- </body>
- </html>