<!--#include file="../conn.asp"-->
<%
dim smallClass, bigClass
smallClass = request.QueryString("smallClass")
bigClass = request.QueryString("bigClass")

if bigClass = "" then
	sql = "select * from article where Nclassid="& smallClass &" order by articleid desc"
else
	sql = "select * from article where classid="& bigClass &" order by articleid desc"
end if

page=request.QueryString("page")
if page="" or isnumeric(page)=false then page=1

if id = "" or isnumeric(id) = false then id = 0
rs.open sql,conn,1,1
page_size = 10
prm = "smallClass="& smallClass &"&bigClass="& bigClass &"&"
if not rs.eof then
	have = 1
	rs.pagesize     = page_size
	rs.absolutePage = page
	recordCountNum  = rs.recordcount
else
	have = 0
end if
%>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新闻动态</title>
<link href="/css/comm.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/comm.js"></script>
<script type="text/javascript" src="/inc/showo_page.js"></script>
</head>

<body>
<div class="bodyDiv">
	<!--#include file="fq_top.asp"-->
	<!--#include file="daohang.asp"-->
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="270" bgcolor="#F0F0F0"><div>
      <div align="center"><img src="img/Snap20.jpg" width="244" height="191" /></div>
      <div><!--#include file="chenggong.asp"--></div>
      <div style="margin-top:10px;"><!--#include file="cuxiao.asp"--></div>
      <div style="margin-top:10px;"><!--#include file="yinan.asp"--></div>
    </div></td>
        <td valign="top" width="10">&nbsp;</td>
        <td width="629" valign="top"><br />
        <br />
        <table width="569" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="77"><img src="/images/more3.gif" width="77" height="32" /></td>
            <td width="361"><img src="/images/more2.gif" width="361" height="32" /></td>
            <td width="131"><img src="/images/more1.gif" width="131" height="32" /></td>
          </tr>
          <tr>
            <td colspan="3"><table width="100%" border="0" cellpadding="8" cellspacing="0" background="/images/Snap41.gif" class="tabledot">
        <%
		dim i
		i = 1
		do while not rs.eof and i <=page_size
		%>
              <tr>
                <td width="65" align="center"><%=i%></td>
                <td width="354" class="moren"><div style="width:361px;" class="hiddfont"><%="<a href='/viewNews.asp?id="& rs("articleid") &"' target='_blank'>"& rs("title") &"</a>"%></div></td>
                <td width="120"><%=rs("dateandtime")%></td>
              </tr>
			  <%
		i = i + 1
		rs.movenext
		loop
		rs.close
			  %>
            </table>
            </td>
          </tr>
          <tr>
            <td colspan="3"><img src="/images/Snap40.gif" width="569" height="10" /></td>
          </tr>
        </table>
        <%if have = 1 then%>
          <table width="569" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><Script Language="JavaScript">
ShowoPage("<table style='BORDER-COLLAPSE: collapse' borderColor='#111111' height='10' cellSpacing='0' cellPadding='0' width='95%' border='0'><tr><td vAlign='bottom'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","</td></tr></table>","页次:<font color='red'>","</font>/","","&nbsp;","&nbsp;每页<font color='red'>","</font>&nbsp;","&nbsp;共计:<font color='red'>","</font></td><td vAlign='bottom' align='right'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","<font face=webdings>9</font>","<font face=webdings>7</font>","<font face=webdings>8</font>","<font face=webdings>:</font>","&nbsp;&nbsp;跳转:","<font color='orange'>[","]</font>","","","<font color='red'>","</font>","","",<%=recordCountNum%>,<%=page_size%>,4,"?p=parm1&<%=prm%>")
</Script></td>
            </tr>
          </table>
          <%end if%>
        </td>
    </tr>
    </table>
<!--#include file="../model_bottom.asp"-->
</div>

</body>
</html>