新建sql函数标签:
Ajax调用:选"否"
标签类型:选择“终级分页标签”
查询语句:select id,title,keywords,hits,intro,adddate,author,(select count(id) from ks_comment where channelid=1 and infoid=ks_article.id) as commenttotal from KS_Article where tid in({$CurrClassChildID}) and verific=1 order by id desc
循 环 体:
[loop=10]
<table width="100%" border="0">
<tr>
<td width="80" rowspan="3">
dsdsd</td>
<td><a href="{$Field(id,GetInfoUrl,1,1)}" target="_blank"><font style="color:#ff6600;font-size:14px;">{$Field(title,Text,0,...,0,)}</font></a></td>
</tr>
<tr>
<td>{$Field(intro,Text,250,...,2,)}</td>
</tr>
</table>
<div style="border-bottom:1px dashed #999999;"></div>
[/loop]