我用这么个循环代码:
<!--{block name="spacenews" parameter="grade/5/catid/126,128,127,174,175,176,177/order/i.dateline DESC/limit/0,1/cachetime/900/subjectlen/26/showdetail/1/messagelen/70/messagedot/1/showcategory/1/cachename/top_new/tpl/data"}--><!--热点资讯-->
<!--{loop $_SBLOCK['top_new'] $value}-->
<a href="$value[url]" target="_blank" title="$value[subjectall]"><h3>$value[subject]</h3></a>
<!--{/loop}-->
编译成HTML代码却是:
<a href="http://my.tong-xin.com/?action-viewnews-itemid-644" target="_blank" title="印度官员否认封杀黑莓服务"><h3><span style='font-size:12px;font-style:none;font-weight:none;text-decoration:none'>印度官员否认封杀黑莓服务</span></h3></a>
无缘无故多出这么一段代码:
<span style='font-size:12px;font-style:none;font-weight:none;text-decoration:none'>
我用了这句输出语句:
{eval secho($value[subject]);}
显示:
<span style='font-size:12px;font-style:none;font-weight:none;text-decoration:none'>印度官员否认封杀黑莓服务</span>
请问这是怎么回事呀?请大家指教,谢谢啦!!!!!!
[ 本帖最后由 gexu 于 2008-3-20 13:44 编辑 ] |