<!--#include file=conn.asp-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN">
<head>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type" />
<title>程序下载-源码下载-米表程序下载-<%=sitet%> </title>
<meta name="keywords" content="<%=sitek%>" />
<meta name="description" content="<%=sited%>"/>
<meta content="IE=7" http-equiv="X-UA-Compatible" />
<link href="/public/css/web/global.css?v=20130820a" media="all" rel="stylesheet" type="text/css" />
<link href="/public/css/web/style.css?v=20130820a" media="all" rel="stylesheet" type="text/css" />
<link href="/public/css/web/news.css?v=20130820a" media="all" rel="stylesheet" type="text/css" />
<script src="/public/js/jquery.min.js" type="text/javascript"></script>
<link rel="shortcut icon" href="/public/images/favicon.png" />
</head>

<body>
<!--#include file=i_Top.asp-->

<span id="curNav" style="display:none">2</span>
<div class="main-nav-wrap" id="haoma2013-nav-wrap" style="background: url(/public/css/web/img/global/bg-repeat-global-nav.png) 0 0 repeat-x;">
	<div class="second-nav h50" id="vip-nav">
		<!--#include file=i_Nav.asp-->
	</div>		
</div>

<script type="text/javascript">
var nav = document.getElementById('haoma2013-nav-wrap'),
lis = nav.getElementsByTagName('li'),
curNav = document.getElementById('curNav').innerHTML;
if(curNav != "-1"){
	lis[curNav].className = 'on';
}
</script>

<div class="wrap">
	<div class="main mt15">
		<div class="hm-cn fl">
			<div class="news_list">
				<div class="b b-news">
					<div class="b-bd">
						<ul class="l-article-s">
						<%
					Set rs2=getRs
					rs2.open "select  * from tb_newscontent order by id desc",conn,1,1
					If Not rs2.eof Then 
	record_size=15'每页显示x条记录
	rs2.pagesize=record_size		'设置每页的最大记录数
	record_count=rs2.recordcount	'获得记录总数
	page_count=rs2.pagecount		'获得页面总数
	page=request("page")		'获得当前页号
	If Not IsNumeric(page) Or page="" Then
	page=1
	End If 

	page=CInt(page)
	If page>page_count Then
	page=page_count
	End If 

	if page<=1 then
	page=1
	end if

	rs2.absolutepage=page
 
End If 

n2=1
	Do While Not rs2.eof And n2<=record_size
					%>
							<li>
								<span class="extra"><span class="time"><%=FormatDateTime(Rs2("addtime"),2)%></span></span>
								<a class="link" href="/show.asp?<%=rs2("id")%>" target="_blank"><%=Rs2("title")%></a>
							</li>
	<%
		rs2.movenext
		'If n2 Mod 2 = 0 Then response.write "</tr><tr>"
		n2=n2+1
	Loop 
		rs2.close
		%>					
							
						
						</ul>
						<div class="clearfix pagenation-wraper">
							<div class="pagenation">
		<ul class="pages">
		<li>当前<%=page%>页 &nbsp;&nbsp; 总<%=page_count%>页 &nbsp;&nbsp; </li>
		<li><a href="?page=1">第一页</a> &nbsp;&nbsp;  </li>
		<li><a href="?page=<%=page-1%>">上一页</a> &nbsp;&nbsp; </li>
		<li><a href="?page=<%=page+1%>">下一页</a> &nbsp;&nbsp; </li>
		<li><a href="?page=<%=page_count%>">尾 页</a>		</li>
				</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="hm-side fr">
			<div id="ad_img" class="banner">
				<%AD 3%>
			</div>
		</div>
		
		<div id="DW_Footer">
<style>
.footer_link {text-align:left; width:220px;}
.footer_link span {float:left;width:70px;}
.footer_link a {float:left;}
</style>
<!--#include file=i_bottom.asp-->
</div>
	</div>
</div>
</body>

</html>
