📄 news.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<table width="96%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="82%" valign="bottom"> <TABLE width="597" border=0 cellPadding=0 cellSpacing=0 class=word>
<TBODY>
<TR>
<TD background=pic/bj.gif
height=54> <DIV align=left>
<TABLE width="80%" border=0 align="right" cellPadding=0 cellSpacing=0 class=word>
<FORM name=form1 action=index.asp method=post>
<TR>
<TD width="250" height=36> <div align="center">
<SCRIPT
src="pic/datectrl.js">
</SCRIPT>
从
<INPUT class=input onfocus=setday(this)
maxLength=10 size=9 value=<%=date%>
name=start_date>
至
<INPUT class=input
onfocus=setday(this) maxLength=10 size=9
value=<%=date%> name=end_date>
</div></TD>
<TD><INPUT type=image height=19 width=50
src="pic/go1.gif" border=0
name=imageField> </TD>
<TD height=36> <DIV align=right>新闻共<%=rs.recordcount%><B><FONT
color=#ff6600></FONT></B>条 目前<FONT
color=#ff6600><STRONG><%=topage%></STRONG></FONT>/<FONT
color=#ff6600><STRONG><%=rs.pagecount%></STRONG></FONT>页</DIV></TD>
<TD width="25"> </TD>
</TR>
<TBODY>
</TBODY>
</FORM>
</TABLE>
</DIV></TD>
</TR>
<TR>
<TD vAlign=top> <TABLE class=word cellSpacing=0 cellPadding=0 width=592 border=0>
<TBODY>
<TR vAlign=top>
<TD width="592" height=45><IMG height=38
src="pic/bbb_2.gif"
width=592></TD>
</TR>
<TR vAlign=top>
<TD background=pic/bb.gif> <TABLE
width=522 height="25" border=0 align=center cellPadding=0 cellSpacing=0 class=word>
<TBODY>
<%
if rs.eof then
response.Write("暂无新闻!!")
else
rs.absolutepage=topage
for i=1 to rs.pagesize
if rs.eof then
exit for
end if
%>
<TR>
<TD width=16 valign="middle" class=worden> <DIV align=center>—</DIV></TD>
<TD width=407 valign="middle" class=word ><a href="#" onclick="MM_openBrWindow('open_news.asp?id=<%=rs("id")%>','新闻信息','scrollbars=yes,width=592')"><%=rs("caption")%></a></TD>
<TD class=worden width=100> <DIV class=worden
align=center><%=rs("puttime")%></DIV></TD>
</TR>
<%rs.movenext
next
%>
</TBODY>
</TABLE></TD>
</TR>
<TR vAlign=bottom>
<TD height=52> <DIV align=center>
<TABLE cellSpacing=0 cellPadding=4 width="100%"
border=0>
<TBODY>
<TR class=word>
<TD align=middle width="6%"><IMG height=9
src="pic/list_info.gif"
width=11></TD>
<TD width="25%">共<SPAN class=en><%=rs.recordcount%></SPAN>条</TD>
<TD align=middle width="48%"> <TABLE cellSpacing=0 cellPadding=3 width="100%"
border=0>
<TBODY>
<TR align=middle>
<TD class=word width="13%"><a href="index.asp?topage=<%=1%>"><IMG height=15 alt=首页
src="pic/list_home.gif"
width=15 border=0></a> </TD>
<TD class=word width="13%"><a href="index.asp?topage=<%=topage-1%>"><IMG height=15
alt=上一页
src="pic/list_pre.gif"
width=15 border=0></a> </TD>
<TD class=word width="48%">第<SPAN class=en><FONT
color=#ff6600><B><%=topage%></B></FONT></SPAN>页
/ 共<SPAN
class=en><%=rs.pagecount%></SPAN>页</TD>
<TD class=word width="13%"><A
href="index.asp?topage=<%=topage+1%>"><IMG
height=15 alt=下一页
src="pic/list_next.gif"
width=15 border=0></A> </TD>
<TD class=word width="13%"><A
href="index.asp?toapge=<%=rs.pagecount%>"><IMG
height=15 alt=末页
src="pic/list_end.gif"
width=15 border=0></A> </TD>
</TR>
</TBODY>
</TABLE></TD>
<FORM name=form2 action=index.asp method=post>
<TD align=right width="13%"><SELECT id=page size=1 name=page>
<%for h=1 to rs.pagecount%>
<OPTION value=<%=h%>><%=h%></OPTION>
<%next%>
</SELECT> <INPUT
type=hidden name=class2> </TD>
<TD width="8%"><INPUT name="topage"
type=image
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px"
src="pic/list_go.gif" alt=go width=15 height=15>
</TD>
</FORM>
</TR>
</TBODY>
</TABLE>
</DIV></TD>
</TR>
</TABLE></TD>
</TR>
<%end if%>
</TABLE></td>
<td width="18%" valign="bottom"><div align="center"><img src="pic/7.gif" width="64" height="176"></div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -