汗。。做sql标签时,选了Ajax调用,结果只要是用了这个SQL标签的栏目发布后的内容都是一样,不选发布后正常,也可以多选。
select ID,Tid,Title,NewsID,Intro,Articlecontent,Picurl from KS_Article where Tid='{$CurrClassID}'
[loop={$Param(0)}]<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30%" rowspan="3" align="center" valign="middle"><img src="{$Field(Picurl,Text,0,0,0,/images/logo.gif)}"/></td>
<td align="center">{$Field(Title,Text,0,...,0,无内容)}
<hr noshade="noshade" /></td>
</tr>
<tr>
<td>{$Field(Intro,Text,0,...,0,)}</td>
</tr>
<tr>
<td align="right"><a href="{$Field(NewsID,GetInfoUrl,1,1)}" target="blank">详细介绍</a></td>
</tr>
<tr>
<td colspan="2"><img src="/images/product_12.jpg" width="730" height="5"></td>
</tr>
</table>[/loop]