⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news.jsp

📁 读您的文件包读您的文件包读您的文件包读您的文件包
💻 JSP
字号:
<%@ 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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="mm_travel2.css" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-family: "宋体"}
.style2 {font-size: 9px}
.style3 {color: #9999CC; text-decoration: none; font-family: "宋体";}
.style4 {font-size: 9pt}
.style5 {color: #999999}
.style6 {font-family: "宋体"; color: #999999; }
.style7 {color: #FF0000}
.style8 {font-family: Tahoma}
a.rights:link {
	COLOR: #000000;
	TEXT-DECORATION: none;
	
}
a.rights:visited {
	COLOR: #000000;
	TEXT-DECORATION: none;
	
}
a.rights:hover {
	COLOR: #FF0000;  
	TEXT-DECORATION: none;
	
}
.style9 {
	font-size: 9pt;
	color: #FF0000;
	font-weight: bold;
}
-->
</style>
<title>新闻系统</title>

<script language="javascript">

var d=new Date();
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December");

var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();

</script>
</head>
<body background="img/beijing.gif" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="650" align="center" cellpadding="0" cellspacing="0">
  <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" colspan="3" id="tagline" valign="top" align="center"><font size="5">新闻系统</font></td>
  </tr>
  <tr>
    <td colspan="7" bgcolor="#003366"><img src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="1" height="1" border="0"></td>
  </tr>

  <tr width="650" bgcolor="#CCFF99">
  	<td colspan="7" id="dateformat" height="25">&nbsp;&nbsp;<script language="javascript">
      document.write(TODAY);	</script>	</td>
  </tr>
 <tr>
    <td colspan="7" bgcolor="#003366"><img src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="1" height="1" border="0"></td>
  </tr>

 <tr>
    <td width="189" valign="top" bgcolor="#E6F3FF">
	<table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
        <tr>
          <td width="165">&nbsp;<br>
		 &nbsp;<br></td>
        </tr>
        <tr>
          <td width="165"><a href="login.jsp" class="font0">管理员登陆</a></td>
        </tr>
        <tr>
          <td width="165"><a href="news_add.jsp" class="font0">添加新闻</a></td>
        </tr>
        <tr>
          <td width="165"><a href="news_all.jsp" class="font0">删除新闻</a></td>
        </tr>
        <tr>
          <td width="165"><a href="news_all.jsp" class="font0">编辑新闻</a></td>
        </tr>
        
		<tr>
          <td width="165"><a href="Index.jsp" class="font0">返回首页</a></td>
        </tr>
      </table>
 	<br>
  	&nbsp;<br>
  	&nbsp;<br>
  	&nbsp;<br> 	</td>
    <td width="50"><img src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="50" height="1" border="0"></td>
    <td colspan="2" valign="top"><img src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="305" height="1" border="0"><br>
	&nbsp;<br>
	&nbsp;<br>
	<%
	String condition1="select * from art ";
rs=stmt.executeQuery(condition1);
rs.next();
%>
	<table border="0" cellspacing="0" cellpadding="0" width="386">
        <tr>
          <td width="386" align="center"><p><%=rs.getString("art_headline")%></p>
          <p>&nbsp;</p></td>
		</tr>

		<tr>
          <td class="bodyText"><p> <%=rs.getString("art_content")%>  </tr>
      </table>
    <br>	  </td>
    <td colspan="2">&nbsp;</td>
    <td width="8">&nbsp;</td>
  </tr>
  <tr>
    <td width="189">&nbsp;</td>
    <td width="50">&nbsp;</td>
    <td width="161">&nbsp;</td>
    <td width="226">&nbsp;</td>
    <td width="7">&nbsp;</td>
    <td width="7">&nbsp;</td>
	<td width="8">&nbsp;</td>
  </tr>
</table>
<img src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="50" height="1" border="0">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
    <td align="center"><p class="style4 style8"><a href="http://jorwoo.yeah.net" target="_blank" class="rights">周亚平</a>&nbsp;&nbsp; 版权所有 <br>
程序设计:周亚平&nbsp;&nbsp; E-mail: <a href="mailto:zhouyaping1986@126.com" class="rights">zhouyaping1986@126.com</a><br>
QQ:153589840</p>    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -