Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[疑问] ss读取论坛资源条数如何设置

[复制链接]
tt592 发表于 2009-9-17 22:05:44 | 显示全部楼层 |阅读模式
有些代码不是很懂 发出来大家讨论一下

<!--论坛资源列表-->
  <!--{if !empty($thecat['bbsmodel'])}-->
  <!--{if $_SGET['page']<2 || !empty($_SGET['mode'])}-->
  <!--{eval $_SGET['mode']='bbs';}-->
  <!--{block name="bbsthread" parameter="perpage/20/$thecat[blockparameter]/cachename/bbsthreadlist/tpl/data"}-->
  <!--{if $_SBLOCK['bbsthreadlist']}-->
  <div class="global_model nl_list">
   <div class="news_caption">
    <div class="global_caption"><h3>论坛资源</h3></div>
   </div>
   <ul>
    <!--{loop $_SBLOCK['bbsthreadlist'] $value}-->
    <li><span class="box_r">#date('m-d', $value['dateline'])#</span><a href="$value[url]" target="_blank">$value[subject]</a></li>
    <!--{/loop}-->
   </ul>
   <!--{if $_SBLOCK[bbsthreadlist_multipage]}-->
    $_SBLOCK[bbsthreadlist_multipage]
   <!--{/if}-->
  </div>
  <!--{/if}-->
  <!--{/if}-->
  <!--{/if}-->
  <!--{block name="category" parameter="upid/$thecat[catid]/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
  <!--{if $_SGET['page']<2}-->
  <!--{eval $i = 1;}-->
  <!--{if !empty($_SBLOCK['subarr'])}-->
  <div id="catalog2_box">
   <!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
   <!--{eval $ctime=1800+30*$ckey;}-->
   <!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/subjectlen/36/subjectdot/1/cachetime/$ctime/cachename/subnewlist/tpl/data"}-->
   <!--{if $_SBLOCK['subnewlist']}-->
   <div class="news_glo_module" <!--{if ($i % 2) == 0}-->style="float:right;"<!--{/if}-->>
    <div class="global_caption"><h3>$cat[name]</h3><a href="#action/category/catid/$cat[catid]#">更多&gt;&gt;</a></div>
    <div class="news_top_cotent">
     <ul>
     <!--{loop $_SBLOCK['subnewlist'] $value}-->
     <li><span class="box_r">#date("m.d", $value["dateline"])#</span><a href="$value[url]">$value[subject]</a></li>
     <!--{/loop}-->
     </ul>
    </div>
   </div>
   <!--{eval $i++;}-->
   <!--{/loop}-->
   <!--{/if}-->
   <div class="clear"></div>
  </div>
  <!--{/if}-->
  <!--{/if}-->
回复

使用道具 举报

littlehz 发表于 2009-9-18 00:23:00 | 显示全部楼层
SupeSite7.0数据调用模块参数详解:http://faq.comsenz.com/viewnews-696
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-13 17:26 , Processed in 0.117829 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表