[QUOTE]查询语句
select top {$Param(1)} ID,Title,PicUrl from KS_Article where PicNews=1 and Tid in({$CurrClassChildID}) and Slide<>1 and Verific=1 and DelTF=0 order by OrderID desc,id desc[/QUOTE]
[QUOTE]循环体
[loop={$Param(1)}]
<li>
<a href="{$Field(id,GetInfoUrl,1,1)}" title="{$Field(title,Text,0,...,0,)}"><img src="{$Field(picurl,Text,0,...,0,)}" alt="{$Field(title,Text,0,...,0,)}" /></a>
<span><a href="{$Field(id,GetInfoUrl,1,1)}" title="{$Field(title,Text,0,...,0,)}">{$Field(title,Text,0,...,0,)}</a></span>
</li>[/loop][/QUOTE]
需要css配合
[此贴子已经被作者于2007-1-2 14:41:00编辑过]