
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/css_2009.css" type=text/css rel=stylesheet>
<!--#include file="admin/Check_SqlIn.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="admin/config.asp"-->
<!--#include file="admin/const.asp"-->
<%classid=request("classid")
	set dhrs=server.createobject("adodb.recordset")
	dhsql="select * from class where id="&classid
	dhrs.open dhsql,conn,1,1
	classname=dhrs("classname")
	dhrs.close
	set dhrs=nothing
%>
<STYLE>.style29 {
	FONT-SIZE: 12px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, sans-serif
}
.style31 {
	COLOR: #000000
}
.st_tbcss {
	BORDER-RIGHT: medium none; PADDING-RIGHT: 0px; BORDER-TOP: medium none; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: medium none; PADDING-TOP: 0px; BORDER-BOTTOM: medium none
}
.st_tdcss {
	BORDER-RIGHT: medium none; PADDING-RIGHT: 0px; BORDER-TOP: medium none; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: medium none; PADDING-TOP: 0px; BORDER-BOTTOM: medium none
}
.st_ftcss {
	BORDER-RIGHT: medium none; PADDING-RIGHT: 0px; BORDER-TOP: medium none; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: medium none; PADDING-TOP: 0px; BORDER-BOTTOM: medium none
}
</STYLE>


<META content="<%=classname%>_<%=website%>" name=Keywords>
<META content="<%=classname%>_<%=website%>" name=Description>
<title><%=classname%>_<%=website%></title>
<BODY>
<DIV align=center>
<!--#include file="header.asp"-->
  <TABLE id=table1 height=301 cellSpacing=0 cellPadding=0 width=980 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
  
  
  
  
    <TD vAlign=top width=238 bgColor=#fffdee><TABLE class=bd4 cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
          <TR>
            <TD><TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" 
            background=images/zx_r6_c28.jpg border=0>
                <TBODY>
                  <TR>
                    <TD width=40>&nbsp;</TD>
                    <TD class=huang14>推荐文章</TD>
                    <TD width=50></TD>
                  </TR>
                </TBODY>
            </TABLE>
                <TABLE height=30 cellSpacing=0 cellPadding=0 width=210 align=center 
            border=0>
                  <TBODY>
                    <TR>
                      <TD><TABLE cellSpacing=0 cellPadding=0 width="100%">
                          <TBODY>
                            <%
						  
						  set rs=conn.execute("select top 10 id,title from article where tj=1 ORDER BY id DESC" )
						  if not rs.eof then
						   do while not rs.eof
						  %>
                            <TR>
                              <TD class="" vAlign=middle width=10><div align="center"><img src="images/ico_01.gif" width="4" height="6"></div></TD>
                              <TD class=""><A title=<%=rs("title")%> 
                              href="article.asp?id=<%=rs("id")%>" 
                              target=_blank><%=gotTopic(rs("title"),30)%></A></TD>
                            </TR>
                            <%
						  rs.movenext
						  loop
						  else
						  %>
                            <TR>
                              <TD colspan="2" vAlign=top class=""><div align="center">暂无信息</div></TD>
                            </TR>
                            <%
						  end if
						  rs.close
						  set rs=nothing
						  %>
                          </TBODY>
                      </TABLE></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
          </TR>
        </TBODY>
    </TABLE>
        <TABLE class=bd3 cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR>
              <TD><TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" 
            background=images/zx_r6_c28.jpg border=0>
                  <TBODY>
                    <TR>
                      <TD width=40>&nbsp;</TD>
                      <TD class=huang14>热门文章</TD>
                      <TD width=50></TD>
                    </TR>
                  </TBODY>
                </TABLE>
                  <TABLE height=30 cellSpacing=0 cellPadding=0 width=210 align=center 
            border=0>
                    <TBODY>
                      <TR>
                        <TD><TABLE cellSpacing=0 cellPadding=0 width="100%">
                            <TBODY>
                              <%
						  
						  set rs=conn.execute("select top 10 id,title from article order by hits,id" )
						  if not rs.eof then
						   do while not rs.eof
						  %>
                              <TR>
                                <TD class="" vAlign=middle width=10><div align="center"><img src="images/ico_01.gif" width="4" height="6"></div></TD>
                                <TD class=""><A title=<%=rs("title")%> 
                              href="article.asp?id=<%=rs("id")%>" 
                              target=_blank><%=gotTopic(rs("title"),30)%></A></TD>
                              </TR>
                              <%
						  rs.movenext
						  loop
						  else
						  %>
                              <TR>
                                <TD colspan="2" vAlign=top class=""><div align="center">暂无信息</div></TD>
                              </TR>
                              <%
						  end if
						  rs.close
						  set rs=nothing
						  %>
                            </TBODY>
                        </TABLE></TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
            </TR>
          </TBODY>
      </TABLE></TD>
    <TD width=15>　</TD>
    <TD class=main_tdbgall vAlign=top>
      <TABLE id=table23 cellSpacing=5 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>
          <HR SIZE=1>          </TD></TR></TBODY></TABLE>
		
		 
      <TABLE id=table22 style="WORD-BREAK: break-all" cellSpacing=0 
      cellPadding=0 width="100%" border=0>
        <TBODY>
        
        <TR>
          <TD class=main_tdbg_575 vAlign=top height=200>
            
			  
			  
             
			<TABLE cellSpacing=0 cellPadding=0 width="100%"><TBODY>
			
			<%
Set rs=Server.CreateObject("ADODB.RecordSet") 
sql="select id,Title,hits,addtime,ClassName,classid  from article where classid="&classid&" order by id desc"

rs.Open sql,conn,1,1
if rs.eof and rs.bof then
  response.Write("<div align=center>没有符合要求的文章</div><br>")
else
	rs.PageSize=newsperpage
	page=clng(request("page"))
	if page=0 then page=1 
	pages=rs.pagecount
	if page > pages then page=pages
	rs.AbsolutePage=page 
	
	for j=1 to rs.PageSize 
	Title = rs("Title")
		turl="article.asp?id="&rs("id")
		hits= rs("hits")
		addtime=rs("addtime")
		%>
			<TR><TD width=10 height="29" vAlign=top class=listbg><IMG  src="images/Article_common.gif"  width="9" height="15"></TD>
<TD width=529 class=listbg>[<%=rs("classname")%>] <A class=listA  title=99 href=<%=turl%>  target=_blank><%=Title%></A></TD>
<TD width=100 class=listbg></TD>
 <TD class=listbg align=left width=100></TD>
<TD class=listbg align=left width=132><%=addtime%></TD></TR>
<%
rs.movenext

if rs.eof then exit for
next
%>


  </TABLE>
			  
			  <BR>
			  <div align="center">
			 <div class="listpage">
			  <form method=Post action="list.asp?classid=<%=classid%>">
                          <%if Page<2 then      
    response.write "首页 上一页&nbsp;"
  else
    response.write "<a href=list.asp?classid="&classid&"&page=1>首页</a>&nbsp;"
    response.write "<a href=list.asp?classid="&classid&"&page=" & Page-1 & ">上一页</a>&nbsp;"
  end if
  if rs.pagecount-page<1 then
    response.write "下一页 尾页"
  else
    response.write "<a href=list.asp?classid="&classid&"&page=" & (page+1) & ">"
    response.write "下一页</a> <a href=list.asp?classid="&classid&"&page="&rs.pagecount&">尾页</a>"
  end if
   response.write "&nbsp;页次：<strong><font color=red>"&Page&"</font>/"&rs.pagecount&"</strong>页 "
    response.write "&nbsp;共<b><font color='#FF0000'>"&rs.recordcount&"</font></b>条记录 <b>"&rs.pagesize&"</b>条记录/页"
   response.write " 转到：<input type='text' name='page' size=4 maxlength=10  value="&page&">"
   response.write " <input class=input type='submit'  value=' Goto '  name='cndok'></span>"     
%>
                </form>
			  </div>
<%
end if
set rs=nothing%>  
			  </div></TD></TR>
        <TR>
          <TD class=main_shadow></TD></TR>
        
        <TR>
          <TD class=main_shadow></TD></TR>
        <TR>
          <TD class=main_Search>　</TD></TR></TABLE></TD>
    <TD vAlign=top>　</TD></TR></TBODY></TABLE>
<!--#include file="footer.asp"--></DIV>
</BODY></HTML>

