📄 seen.asp
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title></title>
</head>
<body>
<%
Response.Expires=0
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>新闻</title>
<link rel="stylesheet" type="text/css" href="1.css">
</head>
<body>
<!--#include file="data.asp"-->
<%
sql="select * from 新闻 order by id desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'> 还 没 有 任 何 资 料 </p>"
else
%>
<div align="center">
<table border="0" cellspacing="1" width="590" cellpadding="0" height="98">
<tr>
<td width="781" height="69" colspan="2">
<p align="center"><font color="#000080" size="6">
“两课”新闻<img border="0" src="images/printpage.gif" onclick="javascript:window.print()"></font></td>
<%end if%></tr>
<tr>
<td width="1001" height="12">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="98%" height="1">
<tr>
<td align="center" width="31%" height="1" style="border: 1px solid #800000">
题目</td>
</tr> <tr><%do while not rs.eof%>
<td align="center" width="31%" height="1" style="border: 1px solid #800000"><font size="2" color="#000000"><a target="_self" href="seenews.asp?id=<%=rs("id")%>"><%=rs("标题")%></a></font>
</td>
</tr><%
rs.movenext
loop
rs.Close
%>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -