<%
dim id,topic
sql="select top 3 news.id,pic,topic,news.tim,news.counter,news.s_id,news.c_id,jk_sort.s_id,jk_sort.c_id,jk_sort.s_name from news,jk_sort where hidden=1 and jk_sort.s_id = news.s_id and jk_sort.c_id=news.c_id and news.c_id=90 order by id desc"
set rs=joekoe_cms.exec(sql,1)...,Bullcn'Blog - 分享、交流、进步。" /> 外部网站调用行业动态 - Bullcn'Blog

外部网站调用行业动态


<!-- #include file="include/skin.asp" -->
<%
dim id,topic
sql="select top 3 news.id,pic,topic,news.tim,news.counter,news.s_id,news.c_id,jk_sort.s_id,jk_sort.c_id,jk_sort.s_name from news,jk_sort where hidden=1 and jk_sort.s_id = news.s_id and jk_sort.c_id=news.c_id and news.c_id=90 order by id desc"
set rs=joekoe_cms.exec(sql,1)
do while not rs.eof
id=rs("id")
topic=rs("topic")
response.write vbcrlf&" document.write(""<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td align='center'><a href='http://cdyis.com/vip/news_view.asp?id="&id&"' target=_blank ><img src='"&rs("pic")&"' width='100' height='100' style='border:1px solid #cccccc;' alt='文章标题:"&joekoe_cms.code_html(topic,1,0)&"'></a></td></tr><tr><td align='center'><a href='http://cdyis.com/vip/news_view.asp?id="&id&"' target=_blank alt='文章标题:"&joekoe_cms.code_html(topic,1,0)&"'>"&joekoe_cms.code_html(topic,1,17)&"</a></td></tr></table>"");"
rs.movenext
loop
rs.close
%>
定一文件名为newtu.asp
调用也加
<s cript src="http://cdyis.com/vip/newtu.asp"></s cript>
http://www.joekoe.com/forum_view.asp?forum_id=7&view_id=60962

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