我已经设置读取了,我是用代码调用,不是js调用
<!--{block name="spaceblog" parameter="catid/10,11,12,13,14,15,16,17,18,19/showattach/1/showspacename/1/order/i.dateline DESC/perpage/6/subjectlen/48/showdetail/1/messagelen/500/messagedot/1/showcategory/1/cachename/blogindex/tpl/data"}--><!--博客首页最新调用-->
<!--{if !empty($_SBLOCK[blogindex])}-->
<!--{loop $_SBLOCK[blogindex] $value}-->
<DIV class=post><H1><A title="$value[subjectall]" href="$value[url]" target="_blank">$value[subject]</A></H1>
<H3><a href="{S_URL}/?$value[uid]" title="$value[spacename]" target="_blank">$value[username]</a> | #date("Y-m-d", $value["dateline"])# </H3>
<h4>阅读 ($value[viewnum]) 评论 ($value[replynum])</h4>
<DIV class="entry snap_trigger_icon">
<><a href="$value[url]"></a> $value[message] </P>
<p><!--{if !empty($value['thumbpath'])}--><a href="$value[url]"><img src="$value[thumbpath]" alt="" width="400" height="225" /></a><!--{/if}--></p>
<>[<a href="$value[url]" target="_blank">查看全文</a>]</P>
</DIV>
</DIV>
<!--{/loop}-->
<!--{/if}-->
这样调用,调不出来图片....郁闷啊 |