谢谢科汛官方.回复真快啊.麻烦你帮我看看
select ID,Tid,Title,ArticleInput,Adddate,Hits,Articlecontent from KS_Article order by adddate desc
[loop=30]
<DIV class=newslist>
<DL>
<DT class=topic><a href="{$Field(ID,GetInfoUrl,1,1)}" target=_blank>{$Field(Title,Text,74,,0,)}</a>
<DD class=author><SPAN>{$Field(ArticleInput,Text,0,...,0,)}发布于 {$Field(Adddate,Date,YYYY-MM-DD hh:mm:ss)} | {$Field(Hits,Num,0,2)} 次阅读</SPAN> </DD>
<DD class=desc>{$Field(Tid,GetClassUrl,1,0)}
<SPAN>{$Field(Articlecontent,Text,450,0,2,)}</SPAN>
</DD></DL>
<DL>
<DD class=detail><SPAN><a href="{$Field(ID,GetInfoUrl,1,1)}" target=_blank><STRONG>详细内容</STRONG></A> </SPAN>
</DD></DL></DIV>
[/loop]
[此贴子已经被作者于2007-12-8 17:37:51编辑过]