<!-- #include file="include/con_flash.asp" -->
<%
call cid_sid()
select case action
case "good"
  tit="推荐动画"
case "hot"
  tit="热门动画"
case "search"
  tit="动画搜索"
case else
  if int(cid)<1 then call format_redirect("flash.asp")
  if action<>"more" then action=""
  tit="动画列表"
end select
%>
<!-- #include file="include/con_flash_list.asp" -->
<!-- #include file="include/jk_pagecute.asp" -->
<!-- #include file="include/jk_page_cute.asp" -->
<!-- #include file="include/jk_keyes.asp" -->
<%
dim nummer,rssum,page,viewpage,thepages,pageurl
dim nid,nname,nemoney,pnum,w_num,vvt
nummer=dim_num(0)
pageurl="?action="&action&"&c_id="&cid&"&s_id="&sid&"&"

call web_head(0,0,0,0,0)
call flash_load(0,0,0)
'----------------------------左边 开始----------------------------
'call flash_label("动画链接")
call flash_sort(0)
call flash_left("hot",10,10,"热门动画")
call flash_left("good",10,10,"推荐动画")
'----------------------------左边 结束----------------------------
call web_center(0)
'----------------------------中间 开始----------------------------
%>

<table cellspacing=1 cellpadding=4 class=table>
<tr><td class=td0>&nbsp;<%response.write img_skin(web_img_m)&"推 荐 动 画"%></td></tr>
<tr class=bg_td><td>
<%
dim username,tim,remark
  sql="select top 5 id,tim,name,remark,username,spic,emoney,power,counter from flash where hidden=1 and c_id="&cid&" and istop=1 order by id desc"
  set rs=joekoe_cms.exec(sql,1)
  do while not rs.eof
    nid=rs("id")
    nname=rs("name")
    nemoney=rs("emoney")
    username=rs("username")
    tim=rs("tim")
    remark=rs("remark")
%>
  <table border=0 cellspacing=0 cellpadding=0 width='100%'>
  <tr align=center>
  <td width='<%response.write pnum%>%'>
  <table width="96%" border="0" cellspacing=0 cellpadding=0 align=center height="50">
  <tr>
    <td width=100><div align="center"><%response.write pic_fk(rs("spic"),5,"flash_view.asp?id="&nid)%></div></td>
    <td width="450"><table width="433" border=0 cellpadding=1 cellspacing=1 align=center>
                    <tr>
                      <td width="293">动画名称： <a href='flash_view.asp?id=<%response.write nid%>' alt='<%response.write joekoe_cms.code_html(nname,1,0)%>'><font color=blue><%response.write joekoe_cms.code_html(nname,1,w_num)%></font>
                        </a></td>
                      <td width="106">观看次数：<font class=red> <%response.write rs("counter")%> </font>次</td>
                    </tr>
                    
                    <tr> 
                      <td colspan="2">
                        <table width="100%" border="0">
                          
                          <tr> 
                            <td colspan="2">动画简介：<%response.write rs("remark")%></td>
                          </tr>
                        </table>
						<%if vvt>0 then%></td>
                    </tr>
                    <%if vvt>1 then%>
                    <tr>
                      <td colspan="2">
                        <%response.write format_emoney_power(nemoney,rs("power"),0)%>
                      </td>
                    </tr>
                    <%
    end if
  end if
%>
                  </table></td>
  </tr>
</table>
<table width="100%" border="0">
  <tr>
    <td height="1" bgcolor="#999999"></td>
  </tr>
  <tr>
    <td height="2"></td>
  </tr>
</table>
   </td>
  </tr>
    	<%
    rs.movenext
  loop
  rs.close
%>
   </table>
</td></tr>
</table>
<%
 call flash_more(nummer,30,tit)
call flash_search("动画搜索")
'----------------------------中间 结束----------------------------
call flash_end()
call web_end(0,0)
%>