<%@ codepage ="65001" %>
<%charset="utf-8"%>
<!--#include file="../mycartconn/conn.asp" -->
<!--#include file="../mycartconn/Function.asp"-->
<!--#include file="../mycartconn/page.asp"-->
	<%
	Set rs= Server.CreateObject("ADODB.Recordset")
	sql="select top 24 id,defpic,name,userid,hits,views,cate from A_slide where flag=1 and share_set=1 and cate=7 order by datetime desc"
	rs.open sql,conn,1,1
	rs.CacheSize = 24
	page1("24")
	i=1
	while not rs.eof and i<=24%>
<li onmouseover="this.className='over'" onmouseout="this.className=''">
	<a href='mofahe.asp?moliheid=<%=rs("id")%>' target=oMain class="slideImg">
	<span class="icon_play"></span>
	<img src="<%=rs("defpic")%>" width="120" height="90" alt="<%=rs("name")%>" title="<%=rs("name")%>" /></a>
	<p>名称：<a href="http://www.nanyangren.com/mofahe.asp?moliheid=<%=rs("id")%>" class="slideTitle" target="_blank"><%=rs("name")%></a></p>
	<p>作者：<a href="user.asp?huiyuan=<%=rs("userid")%>" class="userName"><%=conn.execute("select nickname from huiyuan where userid="&rs("userid")&"")(0)%></a></p>
	<p>浏览：<%=rs("hits")+rs("views")%>人</p>
	<p>分类：<a href="category-7.asp" target="_blank"><%=conn.execute("select cate from A_cate where cateid="&rs("cate")&"")(0)%></a></p>
</li>
	  <%
	rs.MoveNext
	i=i+1
	Wend
	rs.close
	Set rs=Nothing
conn.close
Set conn=nothing
	%>