软件下载的详细列表


调用 call down_main_list(29,"本站收藏")

sub down_main_list(n_id,name)
dim id,topic,tim,counter
%>
<table border=0 cellpadding=0 cellspacing=0 width='100%'>
<tr>
<td align=left height=27 background='/skin/skin_1/main/down_bar1.gif'>
<img border=0 src='/skin/skin_1/small/m_down.gif' align=absmiddle> <font class=btd><a href="down_list.asp?c_id=<%=n_id%>"><%=name%></a></font></td><td align=right height=27 background='/skin/skin_1/main/down_bar1.gif'><a href="down_list.asp?c_id=<%=n_id%>"><img border=0 src='skin/skin_1/small/more_article.gif'></a></td>
</tr>
</table>
<table border=0 width='100%'>
<%
sql="select top 5  jk_class.c_name,jk_sort.s_name,down.* from jk_class,jk_sort,down where jk_class.c_id=down.c_id and jk_sort.s_id=down.s_id and down.hidden=1 and down.c_id="&n_id&"  order by id desc"  
set rs=joekoe_cms.exec(sql,1)
do while not rs.eof
  id=rs("id")
  topic=rs("name")
  tim=rs("tim")
  counter=rs("counter")
  response.write vbcrlf&"    <tr><td height='"&dim_num(6)&"'>  <img src='skin/"&joekoe_cms.web_skin&"/small/h_down.gif' border=0 align=absMiddle> <a href=down_list.asp?c_id="&rs("c_id")&"&s_id="&rs("s_id")&" title="&left(rs("s_name"),25)&" target=_blank>["&left(rs("s_name"),6)&"]</a><a href='down_view.asp?id="&id&"' target=_blank alt='"&joekoe_cms.code_html(topic,1,0)&"'>"&joekoe_cms.code_html(topic,1,40)&"</a></td><td class=tims align=right><font class=blue>"&counter&"</font>      "&joekoe_cms.time_type(tim,4)&"</td></tr>"
  rs.movenext
loop
rs.close
%>
    </table>

<%
end sub

文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 7 | 引用: 0 | 查看次数: 699
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭