if($value['pic']) { $value['pic'] = pic_get($value['pic'], '', $value['thumb'], $value['remote'], 1, 1);}复制代码 |
if($value['pic']) { $value['pic'] = pic_get($value['pic'], '', $value['thumb'], $value['remote'], 1, 1);}else{ $value['pic'] = 'source/plugin/forum_index/static/cover_'.($value[aid]%10).'.gif';}复制代码 |
<!--{if $value[pic]}--><div class="atc"><a href="$article_url" target="_blank"><img src="$value[pic]" alt="$value[title]" class="tn" /></a></div><!--{/if}--><img src="$value[pic]" alt="$value[title]" class="tn" /> 中的$value[pic]对应 $value['pic'] |
新闻热点
疑难解答