本帖最后由 oxygenzm 于 2010-02-09 15:09 编辑
版本7.5
代码如下:- <div class="global_module1_caption"><h3>资讯</h3><a class="more" href="#action/news#"target="_blank">更多>></a></div>
- <ul class="global_tx_list1">
- <!--{block name="spacenews" parameter="type/news/catid/2,3,4,10/order/i.dateline DESC/limit/6,12/cachetime/900/subjectlen/40/subjectdot/1/cachename/yynews1/tpl/subject_li"}--><!--news-->
- <!--{if !empty($_SBLOCK['XXnws1'])}-->
- <!--{eval $XXnews1 = @array_slice($_SBLOCK['XXnews1'], 5, 17)}-->
- <!--{/if}-->
- <!--{loop $XXnews1 $value}-->
- <li><span class="box_r">#date('m-d',$value['dateline'])#</span><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></li> <!--{/loop}-->
复制代码 这问题可能很简单,本人菜鸟,谁告诉我啊? |