<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/Conn.asp"-->
<html>
<head>

<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn" />
<title><%=titles%></title>
<meta name="keywords" content="<%=keywords%>">
<meta name="description" content="<%=descriptions%>">
<meta name="robots" content="all"/>
<meta name="author" content="盐城换物网"/>
<meta name="copyright" content="盐城换物网"/>
<link rel="stylesheet" href="css/css.css" type="text/css">


 
</head>

<body>
<!--#include file="top.asp"-->
<table width="980"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="980"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="text">当前位置：<a href="http://www.huanwu001.com/index.asp" target="_blank">换吧网</a> &gt; 新闻中心 &gt; 资讯/公告列表</td>
    <td><!--#include file="top_bottom.asp"--></td>
  </tr>
</table></td>
  </tr>
</table>

<table width="980"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5" background="images/top_mubiao.gif"></td>
  </tr>
</table>
<table width="980"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" height="6"></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="230" valign="top" bgcolor="#F3F8FD"><!--#include file="news_left.asp" --></td>
        <td width="10"></td>
        <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="30" background="images/nei_1.gif">&nbsp;资讯/公告列表
                  <!-- -->		
					<script type="text/javascript"><!--
google_ad_client = "pub-0277375147918990";
/* 728x15, 创建于 10-12-23 */
google_ad_slot = "4346014813";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


<!-- --></td>
                <td width="25"><img src="images/nei.gif" width="25" height="28"></td>
              </tr>
            </table></td>
          </tr>
		  <%
	set rs=server.CreateObject("adodb.recordset")
	sql="Select * from news order by id desc"
	rs.open sql,conn,1,1
    if rs.recordcount<>0 then
       rs.pagesize=15
	   page=clng(request.QueryString("page"))
	   if page<1 then page=1
	   if page>rs.pagecount then page=rs.pagecount
	   rs.absolutepage=page
	   for i = 1 to rs.pagesize 
%>
          <tr>
            <td height="30" class="text"><table width="100%"  border="0" cellspacing="0" cellpadding="0" onMouseMove="javascript:this.style.backgroundColor='#F5FAFE'" onMouseOut="javascript:this.style.backgroundColor=''">
              <tr>
                <td height="30" class="text">[<%=rs("class_id")%>] <a href="news_show.asp?id=<%=rs("id")%>" target="_blank" title="<%=rs("title")%>" class="text"><%=left(rs("title"),30)%></a></td>
                <td width="120" class="text" style="color:#999999 ">[<%=rs("date")%>]</td>
              </tr>
            </table></td>
          </tr>
		  <tr>
            <td height="1" background="images/line.gif" class="text" style="color:#999999 "></td>
          </tr>
		  
		  <%  rs.movenext
    if rs.eof then exit for
	next
%><tr>
		    <td height="50" class="text"><!-- -->
					
					<script type="text/javascript"><!--
google_ad_client = "pub-0277375147918990";
/* 728x90, 创建于 10-12-23 */
google_ad_slot = "2848946151";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
					
					<!-- --><br>每页显示15条记录，
              <%
  if page=1 then
     response.Write("[首页]")
  else
     response.Write("<a href=?page=1 class=text>[首页]</a>")	 
  end if
  if page=1 then
     response.Write("  [上一页]") 	 
  else
     response.Write("  <a href=?page=" & page-1 & " class=text>[上一页]</a>")	  
  end if	
  if  page=rs.pagecount then
     response.Write("  [下一页]") 
  else
     response.Write("  <a href=?page=" & page+1 & " class=text>[下一页]</a>")	  
  end if 
  if page=rs.pagecount then
     response.Write("  [末页]")
  else
     response.Write("  <a href=?page=" & rs.pagecount & " class=text>[末页]</a>")	 
  end if
  %>
&nbsp;&nbsp;当前第<%=page%>页，共<%=rs.pagecount%>页&nbsp;&nbsp;共<%=rs.recordcount%>条信息！</td>
		    </tr>
        </table>
		<%
end if
rs.close
%>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top" height="6"></td>
  </tr>
</table>
<!--#include file="bottom.asp"-->
</body>
</html>
