<table width="607" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="right">
<% if rs.pagecount=1 then %>
<td height="21" colspan="2" class="font-12"><font color="#000000" class="font-12-blue">共有[<font color="#ff0000"><%=rs.recordcount%></font>]条纪录 以上是[<font color="red">1~<%=rs.recordcount%></font>]条</font></td>
</tr>
<tr>
<%else%>
<td width="43%" align="center" valign="bottom" class="font-12"><font color="#000000" class="font-12-blue">
<% page_start=cint((page-1)*rs.pagesize)+1
page_end=rs.pagesize*page
if page_end>=rs.recordcount then page_end=rs.recordcount
%>
[<font color="#ff0000">共有<%=rs.recordcount%>条记录</font>] 以下是[<font color="red"><%=page_start%>~<%=page_end%></font>]条 </font></td>
<td width="57%" height="21" align="center" valign="bottom" class="font-12"><font color="#000000" class="font-12-blue"><font color="#000000" class="font-white-12 style4">
<% response.write"<form name=go2to form method=Post action=""news.asp"">"
if page=1 then
response.write "<font color='#000064'>首页 上一页</font> "
else
response.write "<a href=news.asp?page=1"+" class=ft-style-4><font color='0000BE'>首页</font></a> "
response.write "<a href=news.asp?page="+cstr(page-1)+" class=ft-style-4><font color='0000BE'>上一页</font></a> "
end if
if rs.PageCount=page then
response.write "<font color='#000064'>下一页 尾页</font>"
else
response.write "<a href=news.asp?page="+cstr(page+1)+" class=ft-style-4><font color='0000BE'>下一页</font></a> "
response.write "<a href=news.asp?page="+cstr(rs.PageCount)+" class=ft-style-4><font color='0000BE'>尾页</font></a>"
end if
response.write "<font color='000064'> 页次:<font color=blue>"&page&"</font>/"&rs.pagecount&"页</font>"
response.write "<font color='000064'> 转到第<input type='text' name='page' size=2 maxLength=3 οnkeyup=""value=value.replace(/[^0-9]/g,'');"" style='font-size: 9pt; color:#0E96DF; position: relative; height: 18' value="&Page&">页</font> "
response.write "<input class=button type='submit' value='确 定' style='font-family: 宋体; font-size: 9pt; color: #000073; position: relative; height: 19'>" %>
</font> </font></td>
<% end if %>
</table>
<tr align="right">
<% if rs.pagecount=1 then %>
<td height="21" colspan="2" class="font-12"><font color="#000000" class="font-12-blue">共有[<font color="#ff0000"><%=rs.recordcount%></font>]条纪录 以上是[<font color="red">1~<%=rs.recordcount%></font>]条</font></td>
</tr>
<tr>
<%else%>
<td width="43%" align="center" valign="bottom" class="font-12"><font color="#000000" class="font-12-blue">
<% page_start=cint((page-1)*rs.pagesize)+1
page_end=rs.pagesize*page
if page_end>=rs.recordcount then page_end=rs.recordcount
%>
[<font color="#ff0000">共有<%=rs.recordcount%>条记录</font>] 以下是[<font color="red"><%=page_start%>~<%=page_end%></font>]条 </font></td>
<td width="57%" height="21" align="center" valign="bottom" class="font-12"><font color="#000000" class="font-12-blue"><font color="#000000" class="font-white-12 style4">
<% response.write"<form name=go2to form method=Post action=""news.asp"">"
if page=1 then
response.write "<font color='#000064'>首页 上一页</font> "
else
response.write "<a href=news.asp?page=1"+" class=ft-style-4><font color='0000BE'>首页</font></a> "
response.write "<a href=news.asp?page="+cstr(page-1)+" class=ft-style-4><font color='0000BE'>上一页</font></a> "
end if
if rs.PageCount=page then
response.write "<font color='#000064'>下一页 尾页</font>"
else
response.write "<a href=news.asp?page="+cstr(page+1)+" class=ft-style-4><font color='0000BE'>下一页</font></a> "
response.write "<a href=news.asp?page="+cstr(rs.PageCount)+" class=ft-style-4><font color='0000BE'>尾页</font></a>"
end if
response.write "<font color='000064'> 页次:<font color=blue>"&page&"</font>/"&rs.pagecount&"页</font>"
response.write "<font color='000064'> 转到第<input type='text' name='page' size=2 maxLength=3 οnkeyup=""value=value.replace(/[^0-9]/g,'');"" style='font-size: 9pt; color:#0E96DF; position: relative; height: 18' value="&Page&">页</font> "
response.write "<input class=button type='submit' value='确 定' style='font-family: 宋体; font-size: 9pt; color: #000073; position: relative; height: 19'>" %>
</font> </font></td>
<% end if %>
</table>