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

 找回密码
 立即注册
搜索

[教程] SupeSite/X-Space 3.0 数据字典

[复制链接]
SSAY 发表于 2007-11-7 11:33:26 | 显示全部楼层 |阅读模式
------------乱!

评分

1

查看全部评分

回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:34:38 | 显示全部楼层

资讯篇.txt

现在举例说明

<!--{block name="spacenews" parameter="dateline/2592000/grade/4/showattach/1/showdetail/1/catid/1,2/order/i.dateline  DESC/limit/0,1/subjectlen/34/subjectdot/1/messagelen/80/messagedot/1/cachetime/18600/cachename/headnews/tpl/data"}-->

1、 name="spacenews"     意思是规定调用资讯模块的内容
2、 grade/4/             调用审核等级为4的内容
3、 showattach/1         是否显示图片附件1为显示 0 为不显示
3、 showdetail/1         是否显示缩略信息1为显示 0为不显示
4、 order/i.dateline     按照发布时间排序
5、 limit/0,1            0是从头一条开始 1是调用1条
6、 subjectlen/34        调用标题的字节数
7、 subjectdot/1         标题是够显示省略号1为显示 0 为不显示
8、 messagelen/80        缩略内容显示字节数
9、 messagedot/1         缩略内容是否显示省略号
10、cachetime/18600      缓存更新时间
11、cachename/headnews   调用变量的名称
12、dateline/2592000     调用的时间范围
13、catid/1,2            调用的频道限制

subjectlen/34/subjectdot/1/


常用:
goodrate 好评排序
viewnum  点击排序
dateline 发布时间排序
lastpost 最后回复时间排序
replynum 回复排序


















三、资讯篇

1、资讯根分类列表
                <!--{block name="category" parameter="type/news/isroot/1/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10800/cachename/category/tpl/data"}-->
                                <!--{loop $_SBLOCK['category'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->

2、资讯最新主题列表(以等级2为例)
                <!--{block name="spacenews" parameter="grade/2/order/i.dateline DESC/limit/0,10/subjectlen/30/subjectdot/1/cachetime/18000/cachename/recommend2news/tpl/data"}-->
                                <!--{loop $_SBLOCK['recommend2news'] $value}-->
                                <li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
                                <!--{/loop}-->
                               
                                -----说明:grade/2/  recommend2news表示等级2,余类推。
                       
3、图文资讯幻灯片
                <!--{block name="spacenews" parameter="grade/4/haveattach/1/showattach/1/order/i.dateline DESC/limit/0,4/cachetime/11930/cachename/picnews/tpl/data"}-->
                <div>
                        <!--{eval $picarr=$linkarr=$textarr=array();}-->
                        <!--{loop $_SBLOCK['picnews'] $ikey $value}-->
                        <!--{eval $picarr[] = '"'.$value[a_filepath].'"';}-->
                        <!--{eval $linkarr[] = '"'.$value[url].'"';}-->
                        <!--{eval $textarr[] = '"'.$value[subject].'"';}-->
                        <!--{/loop}-->
                        <!--{eval $pics = implode(',', $picarr);}-->
                        <!--{eval $links = implode(',', $linkarr);}-->
                        <!--{eval $texts = implode(',', $textarr);}-->
                        <script type="text/javascript" language="javascript">
                        <!--
                        var focus_width=208;
                        var focus_height=208;
                        var text_height=20;
                       
                        var xsImgs = new Array({$pics});
                        var xsImgLinks = new Array({$links});
                        var xsImgTexts = new Array({$texts});
                        var xsImgSize = new Array(focus_width, focus_height);
                        //-->
                        </script>
                        <script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>
                </div>
               
4、头条新闻列表(内容截取、略图):
                <!--{block name="spacenews" parameter="grade/5/showattach/1/showdetail/1/order/i.dateline DESC/limit/0,1/subjectlen/34/subjectdot/1/messagelen/80/messagedot/1/cachetime/18600/cachename/headnews/tpl/data"}-->
                <!--{loop $_SBLOCK['headnews'] $value}-->
                        <!--{if !empty($value['a_thumbpath'])}--><a href="$value[url]"><img src="$value[a_thumbpath]" alt="" /></a><!--{/if}-->
                        <strong><a href="$value[url]">$value[subject]</a></strong>
                        <p>$value[message]</p>
                <!--{/loop}-->

5、站内最新资讯列表
                <!--{block name="spacenews" parameter="order/i.dateline DESC/limit/0,15/showspacename/1/subjectlen/40/subjectdot/1/cachetime/1800/cachename/newgradenews/tpl/data"}-->
                                <!--{loop $_SBLOCK['newgradenews'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                               

6、最热资讯TAG列表
                <!--{block name="tag" parameter="order/spacenewsnum DESC/limit/0,20/cachetime/18000/cachename/hottag/tpl/data"}-->
                                <!--{loop $_SBLOCK['hottag'] $value}-->
                                <a href="$value[url]">$value[tagname]<em>($value[spacenewsnum])</em></a>
                                <!--{/loop}-->

7、站内热门资讯列表(一周)--以浏览数
                        <!--{block name="spacenews" parameter="dateline/604800/order/i.viewnum DESC/limit/0,10/cachetime/15400/subjectlen/40/subjectdot/1/cachename/hotnews1/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotnews1'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
                                <!--{/loop}-->
                               
8、站内热门资讯列表(一月)--以浏览数
<!--{block name="spacenews" parameter="dateline/2592000/order/i.viewnum DESC/limit/0,10/cachetime/17200/subjectlen/40/subjectdot/1/cachename/hotnews2/tpl/data"}-->
                        <!--{loop $_SBLOCK['hotnews2'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
                                <!--{/loop}-->

9、站内热门资讯列表(开站以来)--以浏览数
                        <!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/0,10/cachetime/17400/subjectlen/40/subjectdot/1/cachename/hotnews3/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotnews3'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
                                <!--{/loop}-->

10、图片资讯(略图、标题)
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/subjectlen/12/subjectdot/1/limit/0,7/cachetime/8000/cachename/picnews/tpl/data"}-->
                <!--{loop $_SBLOCK['picnews'] $value}-->
                <li><div><a href="$value[url]"><img src="$value[a_thumbpath]" alt="$value[subjectall]" /></a></div>
                <p><a href="$value[url]">$value[subject]</a></p></li>
                <!--{/loop}-->

       
11、站内热门资讯列表(一周)---按评论数
                <!--{block name="spacenews" parameter="lastpost/604800/order/i.replynum DESC/limit/0,10/cachetime/15400/subjectlen/40/subjectdot/1/cachename/replyhot/tpl/data"}-->
                                <!--{loop $_SBLOCK['replyhot'] $value}-->
                                <a href="$value[url]">$value[subject]</a><br/>
                                #date("m-d", $value["lastpost"])# / <a href="$value[url]">评论($value[replynum])</a>
                                <!--{/loop}-->

12、最新发表(含评论)资讯列表
                <!--{block name="spacenews" parameter="order/i.lastpost DESC/limit/0,20/cachetime/1500/cachename/newnews/tpl/data"}-->
                                <!--{loop $_SBLOCK['newnews'] $value}-->
                                <a href="$value[url]">$value[subject]</a><br/>
                                #date("m-d", $value["lastpost"])# / <a href="$value[url]">评论($value[replynum])</a>
                                <!--{/loop}-->

13、月度关注热点---按评论数
                <!--{block name="spacenews" parameter="lastpost/2592000/order/i.replynum DESC/limit/0,50/cachetime/35400/subjectlen/40/subjectdot/1/cachename/replyhot/tpl/data"}-->
                                <!--{loop $_SBLOCK['replyhot'] $value}-->
                                <a href="$value[url]">$value[subject]</a>
                                #date("m-d", $value["lastpost"])# / <a href="$value[url]">评论($value[replynum])</a>
                                <!--{/loop}-->
                               
14、各分类最新资讯列表
                <!--{loop $_SBLOCK['category'] $ckey $cat}-->
                <!--{eval $ctime=1800+30*$ckey;}-->
                <!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/subjectdot/1/cachename/newslist/tpl/data"}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
                                <a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="msgtitlelist">
                                <!--{loop $_SBLOCK['newslist'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/loop}-->

15、当前分类月度关注热点----按浏览数
                <!--{block name="spacenews" parameter="catid/$thecat[subcatid]/dateline/2592000/order/i.viewnum DESC/limit/0,10/cachetime/28800/cachename/hotnews/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotnews'] $value}-->
                                <a href="$value[url]">$value[subject]</a><br/>
                                <a href="#uid/$value[uid]/action/space#">$value[username]</a> / <a href="$value[url]">点击($value[viewnum])</a>
                                <!--{/loop}-->
                               
16、当前分类最新资讯
                <!--{block name="spacenews" parameter="catid/$thecat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/7280/cachename/newnews/tpl/data"}-->
                                <!--{loop $_SBLOCK['newnews'] $value}-->
                                <a href="$value[url]">$value[subject]</a>
                                <!--{/loop}-->


17、当前资讯相关文章-->
                <!--{if !empty($news[relativeitemids])}-->
                <!--{block name="spacenews" parameter="itemid/$news[relativeitemids]/order/i.dateline DESC/limit/0,20/cachetime/17680/cachename/relativeitem/tpl/data"}-->
                        <!--{loop $_SBLOCK['relativeitem'] $ikey $value}-->
                        <a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
                        <!--{/loop}-->
                <!--{/if}-->
               
18、资讯浏览页:
    标题:$news[subject]
    作者:$news[newsauthor]
    时间:#date('Y-n-d H:i', $news["dateline"])#
    来源: $news[newsfrom]
    内容:$news[message]
    图片附件:
    <!--{loop $news['attacharr'] $attach}-->
                        <br /><a href="$attach[url]" target="_blank"><img src="$attach[thumbpath]" alt="$attach[subject]" /></a><br />$attach[subject]<br />
                        <!--{/loop}-->
                        <br />
               
    TAG:
    <!--{if !empty($relativetagarr)}-->
                        <br /><strong>TAG:</strong>
                        <!--{loop $relativetagarr $value}-->
                        <!--{eval $svalue = rawurlencode($value);}-->
                        <a href="#action/tag/tagname/$svalue#" target="_blank">$value</a>
                        <!--{/loop}-->
                        <!--{/if}-->
                       
                        分页:$multipage
                       
19、查看最新评论:

<!--{if !empty($commentlist)}-->
                <div id="commentlist">
                        <h3>
                                <a href="#action/viewcomment/itemid/$news[itemid]#" class="more" target="_self">查看全部评论($news[replynum])</a>
                                <strong>最新评论</strong>
                        </h3>
                        <ul class="messagelist">
                                <!--{loop $commentlist $value}-->
                                <li>
                                        <h4><a href="#action/viewcomment/itemid/$value[itemid]/cid/$value[cid]/op/delete/php/1#" class="more">删除</a>
                                        <!--{if empty($value[authorid])}-->
                                        $value[author]
                                        <!--{else}-->
                                        <a href="{B_URL}/viewpro.php?uid=$value[authorid]" target="_blank">$value[author]</a>
                                        <!--{/if}-->
                                         <span class="smalltxt">(#date("Y-n-d H:i:s", $value["dateline"])#, 评 <strong>$value[rates]</strong> 分)</span></h4>
                                        <p>$value[message]</p>
                                </li>
                                <!--{/loop}-->
                        </ul>
                </div>
<!--{/if}-->

20、内容页多媒体及图片链接作用js:
<script language="javascript" type="text/javascript">
<!--
        addMediaAction('articlebody');
        addImgLink("articlebody");
//-->
</script>

21、资讯当前类别封面图片及简介:
                <!--{if $thecat['thumb'] || $thecat['note']}-->
                <div>
                        <!--{if $thecat['thumb']}-->
                        <div><img src="{A_URL}/$thecat[thumb]" alt="" /></div>
                        <!--{/if}-->
                        <!--{if $thecat['note']}-->
                        <p>$thecat[note]</p>
                        <!--{/if}-->
                </div>
                <!--{/if}-->
               
22、当前类别资讯子分类
                <!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
                <!--{if $_SBLOCK['subarr']}-->
                                <!--{loop $_SBLOCK['subarr'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->
                <!--{/if}-->

23、当前类别资讯子分类列表
                <!--{block name="category" parameter="upid/$thecat[catid]/ischannel/1/showattach/1/order/c.displayorder/limit/0,100/cachetime/16400/cachename/channel/tpl/data"}-->
                <!--{if $_SBLOCK['channel']}-->
                                <!--{loop $_SBLOCK['channel'] $value}-->
                                <li>
                                        <a href="#action/category/catid/$value[catid]#" target="_self"><img src="$value[thumb]" alt="" /></a>
                                        <p><a href="#action/category/catid/$value[catid]#" target="_self">$value[name]</a></p>
                                </li>
                                <!--{/loop}-->
                <!--{/if}-->
               
24、当前类别根分类最新资讯列表
                <!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
                <!--{block name="spacenews" parameter="perpage/40/catid/$thecat[subcatid]/order/i.dateline DESC/cachename/newlist/tpl/data"}-->
                <!--{if $_SBLOCK['newlist']}-->
                <div class="category">
                        <h3><strong>$thecat[name]</strong></h3>
                        <ul class="msgtitlelist">
                                <!--{loop $_SBLOCK['newlist'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        </ul>
                       
                        <div class="pages">
                                <!--{if $_SBLOCK[newlist_multipage]}-->
                                $_SBLOCK[newlist_multipage]
                                <!--{else}-->
                                <table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">当前只有一页</td></tr></table>
                                <!--{/if}-->
                        </div>
                        </div>
                <!--{/if}-->
                <!--{/if}-->
               
25、当前类别关联论坛最新帖子:
                <!--{if !empty($thecat['bbsmodel'])}-->
                <!--{if $_SGET['page']<2 || !empty($_SGET['mode'])}-->
                <!--{eval $_SGET['mode']='bbs';}-->
                <!--{block name="bbsthread" parameter="perpage/40/$thecat[blockparameter]/cachename/bbsthreadlist/tpl/data"}-->
                <!--{if $_SBLOCK['bbsthreadlist']}-->
                                <!--{loop $_SBLOCK['bbsthreadlist'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        <div class="pages">
                                <!--{if $_SBLOCK[bbsthreadlist_multipage]}-->
                                $_SBLOCK[bbsthreadlist_multipage]
                                <!--{else}-->
                                <table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">当前只有一页</td></tr></table>
                                <!--{/if}-->
                        </div>
                <!--{/if}-->
                <!--{/if}-->
                <!--{/if}-->

26、当前类别子分类资讯列表
                <!--{if $_SGET['page']<2}-->
                <!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
                <!--{eval $ctime=1800+30*$ckey;}-->
                <!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/$ctime/cachename/subnewlist/tpl/data"}-->
                <!--{if $_SBLOCK['subnewlist']}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
                                <a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="msgtitlelist">
                                <!--{loop $_SBLOCK['subnewlist'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/if}-->
                <!--{/loop}-->
                <!--{/if}-->

27、当前资讯评论:
        <div id="commentlist">
                <h3 style="text-align: center;"><strong>评论 &lt;&lt; <a href="#action/viewnews/itemid/$item[itemid]#">$item[subject]</a> &gt;&gt;</strong></h3>
                <h5 style="margin: 1em 0; font-size: 1em;">
                        查看数: $item[viewnum] /
                        评论数: $item[replynum] /
                        好评分: $item[goodrate] /
                        差评分: $item[badrate]
                </h5>
                <ul class="messagelist">
                        <!--{loop $iarr $value}-->
                        <li>
                                <h4><a href="#action/viewcomment/itemid/$value[itemid]/cid/$value[cid]/op/delete/php/1#" class="more">删除</a>
                                <!--{if empty($value[authorid])}-->$value[author]<!--{else}--><a href="{B_URL}/viewpro.php?uid=$value[authorid]" target="_blank">$value[author]</a><!--{/if}-->
                                 <span class="smalltxt">(第{$value[num]}楼, #date("Y-n-d H:i:s", $value["dateline"])#, 评 <strong>$value[rates]</strong> 分)</span></h4>
                                <p>$value[message]</p>
                        </li>
                        <!--{/loop}-->
                </ul>
        </div>
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:35:06 | 显示全部楼层

论坛篇.txt

1、论坛分类列表
                <!--{block name="bbsforum" parameter="type/forum/allowblog/1/order/displayorder/limit/0,100/cachetime/14400/cachename/forumarr/tpl/data"}-->
                                <!--{loop $_SBLOCK['forumarr'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->
                               
2、论坛注册
{B_URL}/register.php

3、论坛公告标题
<!--{block name="bbsannouncement" parameter="order/displayorder/limit/0,10/cachetime/86400/cachename/announcelist/tpl/data"}-->
                                <!--{loop $_SBLOCK['announcelist'] $ikey $value}-->
                                <li><a href="$value[url]" target="_blank">$value[subject]</a></li>
                                <!--{/loop}-->
                               
4、论坛带图片附件帖幻灯显示:
                <!--{block name="bbsattachment" parameter="filetype/image/t_lastpost/2592000/order/t.replies DESC/limit/0,10/cachetime/19900/cachename/picthread/tpl/data"}-->
                        <!--{eval $picarr=$linkarr=$textarr=array();}-->
                        <!--{loop $_SBLOCK['picthread'] $ikey $value}-->
                        <!--{eval $picarr[] = '"'.$value[a_thumbpath].'"';}-->
                        <!--{eval $linkarr[] = '"'.$value[url].'"';}-->
                        <!--{eval $textarr[] = '"'.$value[subject].'"';}-->
                        <!--{/loop}-->
                        <!--{eval $pics = implode(',', $picarr);}-->
                        <!--{eval $links = implode(',', $linkarr);}-->
                        <!--{eval $texts = implode(',', $textarr);}-->
                       
                        <script type="text/javascript" language="javascript">
                        <!--
                        var focus_width=208;
                        var focus_height=208;
                        var text_height=20;
                       
                        var xsImgs = new Array({$pics});
                        var xsImgLinks = new Array({$links});
                        var xsImgTexts = new Array({$texts});
                        var xsImgSize = new Array(focus_width, focus_height);
                        //-->
                        </script>
                        <script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>


5、最近1个月热点回复帖子标题
                <!--{block name="bbsthread" parameter="dateline/2592000/order/replies DESC/limit/0,8/cachetime/22400/subjectlen/26/cachename/hotthread/tpl/data"}-->
                        <!--{loop $_SBLOCK['hotthread'] $value}-->
                        <li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a> <span class="smalltxt">($value[replies])</span></li>
                        <!--{/loop}-->

6、最近1天热点回复帖子(含内容截取)
                <!--{block name="bbsthread" parameter="showdetail/1/messagelen/100/subjectlen/40/dateline/86400/order/replies DESC/limit/0,1/cachetime/12400/cachename/coolthread/tpl/data"}-->
                <!--{loop $_SBLOCK['coolthread'] $value}-->
                        <strong><a href="$value[url]">$value[subject]</a></strong>
                        <p>$value[message]</p>
                <!--{/loop}-->

7、最近1个月热点回复帖子标题
                <!--{block name="bbsthread" parameter="dateline/604800/subjectlen/33/order/replies DESC/limit/0,15/cachetime/21400/cachename/replyhot/tpl/data"}-->
                                <!--{loop $_SBLOCK['replyhot'] $value}-->
                                <li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a></cite><a href="$value[url]">$value[subject]</a> <span class="smalltxt">($value[replies])</span></li>
                                <!--{/loop}-->

8、板块排行--根据帖子数
                <!--{block name="bbsforum" parameter="type/forum/allowblog/1/order/posts DESC/limit/0,10/cachetime/14400/cachename/hotforums/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotforums'] $value}-->
                                <li><em>$value[posts]</em><a href="$value[url]">$value[name]</a></li>
                                <!--{/loop}-->

9、会员排行--根据帖子数
                <!--{block name="bbsmember" parameter="order/m.posts DESC/limit/0,10/cachetime/43200/cachename/hotmembers/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotmembers'] $value}-->
                                <li><cite style="text-align: right; margin-right: 5px;">$value[posts]</cite><a href="$value[url]">$value[username]</a></li>
                                <!--{/loop}-->

10、会员排行--根据在线时间
                <!--{block name="bbsmember" parameter="order/m.oltime DESC/limit/0,10/cachetime/7200/cachename/toponline/tpl/data"}--><!--在线排行-->
                                <!--{loop $_SBLOCK['toponline'] $value}-->
                                <li><cite style="width: 80px; text-align: right;">$value[oltime]小时</cite><a href="$value[url]">$value[username]</a></li>
                                <!--{/loop}-->


11、帖子点击数排行(一周)
                        <!--{block name="bbsthread" parameter="dateline/604800/order/views DESC/limit/0,10/cachetime/22400/subjectlen/40/subjectdot/1/cachename/hotblog1/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotblog1'] $value}-->
                                <li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a> </cite><a href="$value[url]">$value[subject]</a> ($value[views])</li>
                                <!--{/loop}-->
                               
12、帖子点击数排行(一月)
                        <!--{block name="bbsthread" parameter="dateline/2592000/order/views DESC/limit/0,10/cachetime/22400/subjectlen/40/subjectdot/1/cachename/hotblog2/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotblog2'] $value}-->
                                <li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a> </cite><a href="$value[url]">$value[subject]</a> ($value[views])</li>
                                <!--{/loop}-->

13、帖子点击数排行(开坛以来)
                        <!--{block name="bbsthread" parameter="order/views DESC/limit/0,10/cachetime/22400/subjectlen/40/subjectdot/1/cachename/hotblog3/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotblog3'] $value}-->
                                <li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a> </cite><a href="$value[url]">$value[subject]</a> ($value[views])</li>
                                <!--{/loop}-->

               
14、最新帖子---根据回复
                <!--{block name="bbsthread" parameter="order/lastpost DESC/limit/0,30/cachetime/1400/cachename/newpost/tpl/data"}-->
                                <!--{loop $_SBLOCK['newpost'] $value}-->
                                <a href="$value[url]">$value[subject]</a> <span class="smalltxt">($value[replies])</span>
                                <!--{/loop}-->
                               
15、最新加入空间列表
                <!--{block name="userspace" parameter="order/u.dateline DESC/limit/0,15/cachetime/1900/cachename/newspace/tpl/data"}-->
                                <!--{loop $_SBLOCK['newspace'] $value}-->
                                <dt><a href="$value[url]">$value[spacename]</a></dt>
                                <dd><a href="$value[url]">$value[username]</a> / #date("Y-m-d H:i", $value["dateline"])#</dd>
                                <!--{/loop}-->
                               
16、一月好评热点
                <!--{block name="bbsthread" parameter="order/dateline DESC/limit/0,10/cachetime/21400/cachename/ratehot/tpl/data"}-->
                                <!--{loop $_SBLOCK['ratehot'] $value}-->
                                <li style="height: 2.8em; overflow: hidden;">
                                <p style="margin: 0; height: 1.6em; overflow: hidden;"><a href="$value[url]">$value[subject]</a></p>
                                <cite style="width: 100%;"><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a>, 发布于#date("m-d H:i:s", $value["dateline"])#</cite></li>
                                <!--{/loop}-->


17、各板块最新帖子列表
        <!--{loop $_SBLOCK['forumarr'] $ckey $cat}-->
        <!--{eval $ctime=1800+30*$ckey;}-->
        <!--{block name="bbsthread" parameter="fid/$cat[fid]/order/dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/subjectdot/1/cachename/threadlist/tpl/data"}-->
        <div class="formcategory">
                <h3>
                        <a href="#action/forumdisplay/fid/$cat[fid]#" class="more" target="_self">更多</a>
                        $cat[name]
                </h3>
                <ul class="msgtitlelist">
                        <!--{loop $_SBLOCK['threadlist'] $value}-->
                        <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                        <!--{/loop}-->
                </ul>
                <!--p class="catecommend"><a href="javascript:;">热点</a></p-->
        </div>
        <!--{/loop}-->
       
       
18、当前论坛子板块
                <!--{block name="bbsforum" parameter="fup/$fid/allowblog/1/order/displayorder/limit/0,100/cachetime/28800/cachename/subarr/tpl/data"}-->
                <!--{if $_SBLOCK['subarr']}-->
                                <!--{loop $_SBLOCK['subarr'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->
                <!--{/if}-->
               
19、当前论坛月度关注热点
                <!--{block name="bbsthread" parameter="fid/$fid/dateline/2592000/order/views DESC/limit/0,10/cachetime/17200/cachename/hotthread/tpl/data"}-->
                <!--{if $_SBLOCK['hotthread']}-->
                                <!--{loop $_SBLOCK['hotthread'] $value}-->
                                <dt><a href="$value[url]">$value[subject]</a></dt>
                                <dd>#date("m-d", $value["lastpost"])# / <a href="$value[url]">点击($value[views])</a></dd>
                                <!--{/loop}-->
                <!--{/if}-->
               
20、当前论坛根分类最新帖子列表
                <!--{if $forum['type'] != 'group'}-->
                <!--{block name="bbsthread" parameter="perpage/30/fid/$fid/showdetail/1/messagelen/160/subjectlen/40/order/dateline DESC/cachename/newlist/tpl/data"}-->
                <!--{if $_SBLOCK['newlist']}-->
                <div class="category">
                        <h3><strong>$forum[name]</strong><a href="javascript:;" onclick="ColExpAllIntro(this)" id="ColExpAllIntroText" class="more" target="_self">隐藏摘要</a></h3>
                        <ul class="messagelist">
                                <!--{loop $_SBLOCK['newlist'] $value}-->
                                <li>
                                        <h4><a href="$value[url]" target="_self">$value[subject]</a> <span class="smalltxt">($value[views])</span></h4>
                                        <span class="smalltxt" onclick="ColExpIntro(this);"><a href="{B_URL}/viewpro.php?$value[authorid]">$value[author]</a> 发表于 #date("Y-m-d", $value["dateline"])#</span>
                                        <p onclick="ColExpIntro(this);">$value[message] <a href="$value[url]">...全文</a></p>
                                </li>
                                <!--{/loop}-->
                        </ul>
                       
                        <div class="pages">
                                <!--{if $_SBLOCK[newlist_multipage]}-->
                                $_SBLOCK[newlist_multipage]
                                <!--{else}-->
                                <table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">当前只有一页</td></tr></table>
                                <!--{/if}-->
                        </div>
                       
                </div>
                <!--{/if}-->
                <!--{/if}-->
               

21、当前论坛子论坛最新帖子列表
                <!--{if $_SGET['page']<2 && !empty($_SBLOCK['subarr'])}-->
                <!--{loop $_SBLOCK['subarr'] $key $value}-->
                <!--{eval $cachetime=1800+$key*5;}-->
                <!--{block name="bbsthread" parameter="fid/$value[fid]/order/dateline DESC/limit/0,10/cachetime/$cachetime/cachename/subthreadlist/tpl/data"}-->
                <!--{if $_SBLOCK['subthreadlist']}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/forumdisplay/fid/$value[fid]#" target="_self">$value[name]</a></strong>
                                <a href="#action/forumdisplay/fid/$value[fid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="msgtitlelist">
                                <!--{loop $_SBLOCK['subthreadlist'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/if}-->
                <!--{/loop}-->
                <!--{/if}-->
               
22、当前论坛最新更新帖子
                <!--{block name="bbsthread" parameter="fid/$thread[fid]/limit/0,10/cachetime/4500/order/dateline DESC/cachename/newthread/tpl/data"}-->
                <!--{if $_SBLOCK['newthread']}-->
                                <!--{loop $_SBLOCK['newthread'] $value}-->
                                <dt><a href="$value[url]">$value[subject]</a></dt>
                                <!--{/loop}-->
                <!--{/if}-->
               
23、帖子浏览页调用:
    标题:$thread[subject]
    发表时间:#date('Y-n-d H:i', $thread["dateline"])#
    作者: $thread[author]
    来源: $_SCONFIG[sitename]
    内容:$thread[message]
    附件:<!--{if !empty($thread['attachments'])}-->
                                        <!--{loop $thread['attachments'] $value}-->
                                        <!--{if ($value['isimage'])}-->
                                        <p><img src="{B_A_URL}/$value[attachment]"><br />$value[filename]</p>
                                        <!--{else}-->
                                        <p><img src="{S_URL}/images/system/haveattach.gif" align="absmiddle" border="0"><a href="{B_URL}/attachment.php?aid=$value[aid]" target="_blank"><strong>$value[filename]</strong></a><br />($value[dateline], Size: $value[attachsize], Downloads: $value[downloads])</p>
                                        <!--{/if}-->
                                        <!--{/loop}-->
                                <!--{/if}-->
    评论页评论链接:{B_URL}/post.php?action=reply&tid=$thread[tid]
    评论页查看链接:{B_URL}/viewthread.php?tid=$thread[tid]
    相关评论
                        <!--{loop $iarr $key $post}-->
                                <li>
                                        <h4>$post[author] <span class="smalltxt">(#date("Y-n-d H:i:s", $post["dateline"])#)</span></h4>
                                        <div>$post[message]</div>
                                        <!--{if !empty($item['posts'][$post['pid']]['attachments'])}-->
                                        <div class="imginlog">
                                        <!--{loop $item['posts'][$post['pid']]['attachments'] $post}-->
                                        <!--{if ($post['isimage'])}-->
                                        <p><img src="{B_A_URL}/$post[attachment]"><br />$post[filename]</p>
                                        <!--{else}-->
                                        <p><img src="{S_URL}/images/system/haveattach.gif" align="absmiddle" border="0"><a href="{B_URL}/attachment.php?aid=$post[aid]" target="_blank"><strong>$post[filename]</strong></a><br />($post[dateline], Size: $post[attachsize], Downloads: $post[downloads])</p>
                                        <!--{/if}-->
                                        <!--{/loop}-->
                                                </div>
                                        <!--{/if}-->
                                </li>
                        <!--{/loop}-->



24、帖子浏览页图片及评论链接作用js:
<script language="javascript" type="text/javascript">
<!--
        addImgLink("articlebody");
        addImgLink("commentlist");
//-->
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:35:24 | 显示全部楼层

博客篇.txt

二、博客篇

1、博客根分类列表:
<!--{block name="category" parameter="type/blog/isroot/1/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10800/cachename/category/tpl/data"}-->
                                <!--{loop $_SBLOCK['category'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->
                               
2、博客各分类最新文章列表
                <!--{loop $_SBLOCK['category'] $ckey $cat}-->
                <!--{eval $ctime=1800+30*$ckey;}-->
                <!--{block name="spaceblog" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/subjectdot/1/cachename/bloglist/tpl/data"}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
                                <a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="msgtitlelist">
                                <!--{loop $_SBLOCK['bloglist'] $value}-->
                                <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/loop}-->

       
3、博客排行---按照已有博客数目:
                        <!--{block name="userspace" parameter="order/u.spaceallnum DESC/limit/0,10/cachetime/44000/cachename/topspace/tpl/data"}-->
                                        <!--{loop $_SBLOCK['topspace'] $value}-->
                                                <li><em>$value[spaceallnum]</em><a href="$value[url]">$value[spacename]</a></li>
                                        <!--{/loop}-->
                                       
4、一周内有更新的博客空间---按浏览数:
<!--{block name="userspace" parameter="lastpost/604800/limit/0,10/order/u.viewnum DESC/cachetime/29800/cachename/hotlist/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotlist'] $value}-->
                                <li>
                                        <a href="$value[url]" target="_blank"><img src="$value[photo]" width="78" height="78" alt="$value[spacename]" /></a>
                                        <p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
                                        <p>信息数value[spaceallnum]</p>
                                </li>
                                <!--{/loop}-->
               
5、博客热门话题tag:
<!--{block name="tag" parameter="order/spaceallnum DESC/limit/0,20/cachetime/21600/cachename/hottag/tpl/data"}-->
                                        <!--{loop $_SBLOCK['hottag'] $value}-->
                                                <a href="$value[url]">$value[tagname]<em>($value[spaceallnum])</em></a>
                                        <!--{/loop}-->
                                       
6、热门博客--按照评论数:
<!--{block name="spaceblog" parameter="dateline/604800/order/i.replynum DESC/subjectlen/40/subjectdot/1/limit/0,10/cachetime/18400/cachename/hotblog/tpl/data"}-->
                                        <!--{loop $_SBLOCK['hotblog'] $value}-->
                                        <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
                                        <!--{/loop}-->


7、图片博客列表及幻灯:
                <!--审核等级4的图文博客幻灯片-->
                <!--{block name="spaceblog" parameter="grade/4/haveattach/1/showattach/1/order/i.lastpost DESC/limit/0,4/cachetime/11930/cachename/picblog/tpl/data"}-->
                <div id="slideimg" class="sideblock cleanblock">
                        <!--{eval $picarr=$linkarr=$textarr=array();}-->
                        <!--{loop $_SBLOCK['picblog'] $ikey $value}-->
                        <!--{eval $picarr[] = '"'.$value[a_filepath].'"';}-->
                        <!--{eval $linkarr[] = '"'.$value[url].'"';}-->
                        <!--{eval $textarr[] = '"'.$value[subject].'"';}-->
                        <!--{/loop}-->
                        <!--{eval $pics = implode(',', $picarr);}-->
                        <!--{eval $links = implode(',', $linkarr);}-->
                        <!--{eval $texts = implode(',', $textarr);}-->
                       
                        <script type="text/javascript" language="javascript">
                        <!--
                        var focus_width=208;
                        var focus_height=208;
                        var text_height=20;
                       
                        var xsImgs = new Array({$pics});
                        var xsImgLinks = new Array({$links});
                        var xsImgTexts = new Array({$texts});
                        var xsImgSize = new Array(focus_width, focus_height);
                        //-->
                        </script>
                        <script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>
                </div>

8、博客等级标题列表:
<!--{block name="spaceblog" parameter="grade/3/order/i.lastpost DESC/limit/0,9/subjectlen/20/subjectdot/1/cachetime/18000/cachename/recommend3blog/tpl/data"}-->
                                <!--{loop $_SBLOCK['recommend3blog'] $value}-->
                                <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
                                <!--{/loop}-->

9、博客等级标题列表(带内容截取及略图)
                <!--{block name="spaceblog" parameter="grade/5/showattach/1/showdetail/1/order/i.dateline DESC/limit/0,1/subjectlen/30/subjectdot/1/messagelen/80/messagedot/1/cachetime/18600/cachename/headblog/tpl/data"}-->
                <!--{loop $_SBLOCK['headblog'] $value}-->
                        <!--{if !empty($value['a_thumbpath'])}--><a href="$value[url]"><img src="$value[a_thumbpath]" alt="" /></a><!--{/if}-->
                        <strong><a href="$value[url]">$value[subject]</a></strong>
                        <p>$value[message]</p>
                <!--{/loop}-->
               
10、全部通过审核的博客列表:
<!--{block name="spaceblog" parameter="grade/1,2,3,4,5/order/i.dateline DESC/limit/0,15/showspacename/1/subjectlen/40/subjectdot/1/cachetime/4800/cachename/newgradeblog/tpl/data"}-->
                                        <!--{loop $_SBLOCK['newgradeblog'] $value}-->
                                        <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
                                        <!--{/loop}-->
                                        如果去掉grade/1,2,3,4,5/ 则表示所有发表的博客无需经过审核即可显示在网站集成页面。
                                       
                                       
11、一周内有新内容的用户空间名称列表
                <!--{block name="userspace" parameter="lastpost/604800/order/u.spaceblognum DESC/limit/0,10/cachetime/9900/cachename/newspace/tpl/data"}-->
                                <!--{loop $_SBLOCK['newspace'] $value}-->
                                <li><em>$value[spaceblognum] </em><a href="$value[url]">$value[spacename]</a></li>
                                <!--{/loop}-->
                               
12、最热博客TAG列表
                <!--{block name="tag" parameter="order/spaceblognum DESC/limit/0,20/cachetime/18000/cachename/hottag/tpl/data"}-->
                                <!--{loop $_SBLOCK['hottag'] $value}-->
                                <a href="$value[url]">$value[tagname]<em>($value[spaceblognum])</em></a>
                                <!--{/loop}-->

13、站内热门BLOG列表(一周)---按浏览数
                        <!--{block name="spaceblog" parameter="dateline/604800/order/i.viewnum DESC/limit/0,10/cachetime/15400/subjectlen/40/subjectdot/1/cachename/hotblog1/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotblog1'] $value}-->
                                <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
                                <!--{/loop}-->

14、站内热门BLOG列表(一月)---按浏览数
                        <!--{block name="spaceblog" parameter="dateline/2592000/order/i.viewnum DESC/limit/0,10/cachetime/17200/subjectlen/40/subjectdot/1/cachename/hotblog2/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotblog2'] $value}-->
                                <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
                                <!--{/loop}-->

15、站内热门BLOG列表(开站以来)---按浏览数
                        <!--{block name="spaceblog" parameter="order/i.viewnum DESC/limit/0,10/cachetime/17400/subjectlen/40/subjectdot/1/cachename/hotblog3/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotblog3'] $value}-->
                                <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
                                <!--{/loop}-->

16、带附件图片的博客列表
<!--{block name="spaceblog" parameter="haveattach/1/showattach/1/order/i.lastpost DESC/subjectlen/14/subjectdot/1/limit/0,7/cachetime/8000/cachename/picblog/tpl/data"}-->
                <!--{loop $_SBLOCK['picblog'] $value}-->
                <li><div><a href="$value[url]"><img src="$value[a_thumbpath]" alt="$value[subjectall]" /></a></div><p><a href="$value[url]">$value[subject]</a></p></li>
                <!--{/loop}-->

17、站内热门BLOG列表(一周)---按评论数
                <!--{block name="spaceblog" parameter="lastpost/604800/order/i.replynum DESC/limit/0,10/cachetime/15400/subjectlen/40/subjectdot/1/cachename/replyhot/tpl/data"}-->
                                <!--{loop $_SBLOCK['replyhot'] $value}-->
                                <a href="$value[url]">$value[subject]</a><br/>
                                <a href="#uid/$value[uid]/action/space#">$value[username]</a> / <a href="$value[url]">评论($value[replynum])</a>
                                <!--{/loop}-->

18、最新发表(含评论)博客列表
                <!--{block name="spaceblog" parameter="order/i.lastpost DESC/limit/0,20/cachetime/1000/cachename/newblog/tpl/data"}-->
                                <!--{loop $_SBLOCK['newblog'] $value}-->
                                <a href="$value[url]">$value[subject]</a>
                                <a href="#uid/$value[uid]/action/space#">$value[username]</a> / #date("Y-m-d", $value["lastpost"])#
                                <!--{/loop}-->
                               
                               
19、当前分类封面图片及简介
                <!--{if $thecat['thumb'] || $thecat['note']}-->
                        <!--{if $thecat['thumb']}-->
                        <img src="{A_URL}/$thecat[thumb]" alt="" />
                        <!--{/if}-->
                        <!--{if $thecat['note']}-->
                        <p>$thecat[note]</p>
                        <!--{/if}-->
                <!--{/if}-->
               
20、当前分类子分类列表:
                <!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
                <!--{if $_SBLOCK['subarr']}-->
                                <!--{loop $_SBLOCK['subarr'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->
                <!--{/if}-->
               
21、当前分类专题列表:
                <!--{block name="category" parameter="upid/$thecat[catid]/ischannel/1/showattach/1/order/c.displayorder/limit/0,100/cachetime/16400/cachename/channel/tpl/data"}-->
                <!--{if $_SBLOCK['channel']}-->
                                <!--{loop $_SBLOCK['channel'] $value}-->
                                <li>
                                        <a href="#action/category/catid/$value[catid]#" target="_self"><img src="$value[thumb]" alt="" /></a>
                                        <p><a href="#action/category/catid/$value[catid]#" target="_self">$value[name]</a></p>
                                </li>
                                <!--{/loop}-->
                <!--{/if}-->

22、当前分类月度关注热点---按浏览数
                <!--{block name="spaceblog" parameter="dateline/2592000/catid/$thecat[subcatid]/order/i.viewnum DESC/limit/0,15/cachetime/17200/cachename/hotnews/tpl/data"}-->
                <!--{if $_SBLOCK['hotnews']}-->
                                <!--{loop $_SBLOCK['hotnews'] $value}-->
                                <a href="$value[url]">$value[subject]</a>
                                <a href="#uid/$value[uid]/action/space#">$value[username]</a> / <a href="$value[url]">点击($value[viewnum])</a>
                                <!--{/loop}-->
                <!--{/if}-->
               
23、当前分类博客最新列表(含分页):

                <!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
                <!--{block name="spaceblog" parameter="perpage/20/catid/$thecat[subcatid]/order/i.dateline DESC/showspacename/1/showdetail/1/messagelen/300/messagedot/1/cachename/newlist/tpl/data"}-->
                <!--{if $_SBLOCK['newlist']}-->
                        <h3><strong>$thecat[name]</strong></h3>
                                <!--{loop $_SBLOCK['newlist'] $value}-->
                                <li>
                                        <h4><a href="#uid/$value[uid]/action/space/domain/$value[domain]#"><img src="$value[photo]" alt="$value[spacename]" /></a><a href="$value[url]">$value[subject]</a> <span class="smalltxt">($value[replynum])</span></h4>
                                        <span class="smalltxt" onclick="ColExpIntro(this);">
                                                <a href="#uid/$value[uid]/action/space/domain/$value[domain]#">$value[username]</a>($value[province]) 发表于 #date("Y-m-d", $value["dateline"])#
                                                <!--{if !empty($value['tags'])}-->
                                                关键词:
                                                <!--{loop $value['tags'] $tag}-->
                                                <a href="#action/tag/tagname/$tag#">$tag</a>
                                                <!--{/loop}-->
                                                <!--{/if}-->
                                        </span>
                                        <p onclick="ColExpIntro(this);">$value[message] <a href="$value[url]">...全文</a></p>
                                </li>
                                <!--{/loop}-->
                        <div class="pages">
                                <!--{if $_SBLOCK[newlist_multipage]}-->
                                $_SBLOCK[newlist_multipage]
                                <!--{else}-->
                                <table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">当前只有一页</td></tr></table>
                                <!--{/if}-->
                        </div>
                <!--{/if}-->
                <!--{/if}-->

24、关联论坛新帖列表:
                <!--{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']}-->
                                <!--{loop $_SBLOCK['bbsthreadlist'] $value}-->
                                <li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->

                        <div class="pages">
                                <!--{if $_SBLOCK[bbsthreadlist_multipage]}-->
                                $_SBLOCK[bbsthreadlist_multipage]
                                <!--{else}-->
                                <table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">当前只有一页</td></tr></table>
                                <!--{/if}-->
                        </div>
                <!--{/if}-->
                <!--{/if}-->
                <!--{/if}-->

25、博客当前分类子分类最新列表:
                <!--{if $_SGET['page']<2}-->
                <!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
                <!--{eval $ctime=1800+30*$ckey;}-->
                <!--{block name="spaceblog" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/cachename/subnewlist/tpl/data"}-->
                <!--{if $_SBLOCK['subnewlist']}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
                                <a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="msgtitlelist">
                                <!--{loop $_SBLOCK['subnewlist'] $value}-->
                                <li><cite><a href="#uid/$value[uid]/action/space#">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/if}-->
                <!--{/loop}-->
                <!--{/if}-->
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:35:53 | 显示全部楼层

空间篇.txt

一、空间篇

1、空间分类:
<!--{block name="category" parameter="type/space/isroot/1/ischannel/2/order/c.displayorder/limit/0,100/cachetime/3600/cachename/category/tpl/data"}-->
                                <!--{loop $_SBLOCK['category'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
<!--{/loop}-->

2、空间分类及有新内容的空间列表:
<!--{loop $_SBLOCK['category'] $ckey $cat}-->
                <!--{eval $ctime=2800+30*$ckey;}-->
                <!--{block name="userspace" parameter="catid/$cat[subcatid]/limit/0,15/order/u.lastpost DESC/cachetime/$ctime/cachename/sublist/tpl/data"}-->
                <!--{if $_SBLOCK['sublist']}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
                                <a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="imgthumblist">
                                <!--{loop $_SBLOCK['sublist'] $value}-->
                                <li class="list2line">
                                        <div><a href="$value[url]" target="_blank"><img src="$value[photo]" alt="$value[spacename]" /></a></div>
                                        <p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
                                        <p>信息数value[spaceallnum]</p>
                                </li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/if}-->
                <!--{/loop}-->
               

3、空间分类封面及介绍
                        <!--{if $thecat['thumb']}-->
                        <img src="{A_URL}/$thecat[thumb]" alt="" />
                        <!--{/if}-->
                        <!--{if $thecat['note']}-->
                        <p>$thecat[note]</p>
                        <!--{/if}-->

4、空间子分类列表:
                <!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
                <!--{if $_SBLOCK['subarr']}-->
                                <!--{loop $_SBLOCK['subarr'] $value}-->
                                <li><a href="$value[url]" target="_self">$value[name]</a></li>
                                <!--{/loop}-->
                <!--{/if}-->
               
6、空间专题列表:
<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/1/showattach/1/order/c.displayorder/limit/0,100/cachetime/16400/cachename/channel/tpl/data"}-->
                <!--{if $_SBLOCK['channel']}-->
                                <!--{loop $_SBLOCK['channel'] $value}-->
                                <li>
                                        <a href="#action/category/catid/$value[catid]#" target="_self"><img src="$value[thumb]" alt="" /></a>
                                        <p><a href="#action/category/catid/$value[catid]#" target="_self">$value[name]</a></p>
                                </li>
                                <!--{/loop}-->
                <!--{/if}-->
               
7、空间更新排行----以一周内新发表数为序
<!--{block name="userspace" parameter="catid/$thecat[subcatid]/lastpost/604800/limit/0,10/order/u.viewnum DESC/cachetime/29800/cachename/hotlist/tpl/data"}-->
                                <!--{loop $_SBLOCK['hotlist'] $value}-->
                                <li>
                                        <a href="$value[url]" target="_blank"><img src="$value[photo]" width="78" height="78" alt="$value[spacename]" /></a>
                                        <p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
                                        <p>信息数value[spaceallnum]</p>
                                </li>
                                <!--{/loop}-->
                               
8、空间当前类最新列表
                <!--{block name="userspace" parameter="perpage/40/catid/$thecat[subcatid]/order/u.lastpost DESC/cachename/newlist/tpl/data"}-->
                <!--{if $_SBLOCK['newlist']}-->
                <div class="category">
                        <h3><strong>$thecat[name]</strong></h3>
                        <ul class="imgthumblist">
                                <!--{loop $_SBLOCK['newlist'] $value}-->
                                <li class="list2line">
                                        <div><a href="$value[url]" target="_blank"><img src="$value[photo]" alt="$value[spacename]" /></a></div>
                                        <p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
                                        <p>信息数value[spaceallnum]</p>
                                </li>
                                <!--{/loop}-->
                        </ul>

9、空间当前类子分类最新列表-->
                <!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
                <!--{eval $ctime=2800+30*$ckey;}-->
                <!--{block name="userspace" parameter="catid/$cat[subcatid]/limit/0,100/order/u.lastpost DESC/cachetime/$ctime/cachename/sublist/tpl/data"}-->
                <!--{if $_SBLOCK['sublist']}-->
                <div class="category">
                        <h3>
                                <strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
                                <a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
                        </h3>
                        <ul class="imgthumblist">
                                <!--{loop $_SBLOCK['sublist'] $value}-->
                                <li class="list2line">
                                        <a href="$value[url]" target="_blank"><img src="$value[photo]" width="78" height="78" alt="$value[spacename]" /></a>
                                        <p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
                                        <p>信息数:$value[spaceallnum]</p>
                                </li>
                                <!--{/loop}-->
                        </ul>
                </div>
                <!--{/if}-->
                <!--{/loop}-->
               
10、空间之星列表(有头像)--按有新发表为序
<!--{block name="userspace" parameter="isstar/1/showdetail/1/order/u.lastpost DESC/limit/0,9/cachetime/14400/cachename/spacestar/tpl/data"}-->
                                <!--{loop $_SBLOCK['spacestar'] $value}-->
                                <li><a href="$value[url]"><img src="$value[photo]" alt="$value[spacename]" /></a><p><a href="$value[url]">$value[username]</a></p>
                                </li>
                                <!--{/loop}-->
                               
11、空间之星列表(有头像及信息数目)--按有新发表为序                               
<!--{block name="userspace" parameter="isstar/1/limit/0,100/order/u.lastpost DESC/cachetime/17400/cachename/spacestar/tpl/data"}-->
                                <!--{loop $_SBLOCK['spacestar'] $value}-->
                                <li>
                                        <div><a href="$value[url]" target="_blank"><img src="$value[photo]" alt="$value[spacename]" /></a></div>
                                        <p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
                                        <p>信息数:$value[spaceallnum]</p>
                                </li>
                                <!--{/loop}-->               
12、同城空间:
                <div id="cityspace" class="sideblock cleanblock">
                        <script language="javascript" type="text/javascript" src="{S_URL}/include/js/city.js"></script>
                        <form action="{S_URL}/batch.search.php" method="post">
                                <button value="true" type="submit" name="usersearch">同城<br />空间</button>
                                <script language="javascript" type="text/javascript">showprovince('province', 'city', '');</script>
                                <script language="javascript" type="text/javascript">showcity('city', '');</script>
                        </form>
                </div>
               
13、最近更新空间(含空间名称、主人、博客篇数)
<!--{block name="userspace" parameter="order/u.lastpost DESC/limit/0,15/cachetime/1900/cachename/lastspace/tpl/data"}-->
                                <!--{loop $_SBLOCK['lastspace'] $value}-->
                                <a href="$value[url]">$value[spacename]</a><br/>
                                <a href="$value[url]">$value[username]</a> / 博客 ($value[spaceblognum])
                                <!--{/loop}-->

14、最新加入空间(含空间名称、主人、加入日期)
                <!--{block name="userspace" parameter="order/u.dateline DESC/limit/0,15/cachetime/1900/cachename/newspace/tpl/data"}-->
                                <!--{loop $_SBLOCK['newspace'] $value}-->
                                <a href="$value[url]">$value[spacename]</a><br/>
                                <a href="$value[url]">$value[username]</a> / #date("Y-m-d H:i", $value["dateline"])#
                                <!--{/loop}-->
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:36:14 | 显示全部楼层

全局篇.txt

1、网站位置:{S_URL}
2、论坛位置:{B_URL}
3、网站名称:$_SCONFIG[sitename]
4、网站编码:$_SCONFIG[charset]
5、管理员信箱:$_SCONFIG[adminemail]
6、SUPERSITE版本号:<?=S_VER?>
7、信息产业部网站备案号:{eval debuginfo();}
8、登录用户名: $_SGLOBAL[supe_username]
9、当前页面:
<!--{loop $guidearr $value}-->
&gt;&gt; <a href="$value[url]" target="_self">$value[name]</a>
<!--{/loop}-->
                               
10、搜索页面:{S_URL}/batch.search.php
11、登录页面:{S_URL}/batch.login.php
12、用户个人面板:<script src="{S_URL}/batch.panel.php" type="text/javascript" language="javascript"></script>
13、快捷面板:{S_URL}/?action_site_type_panel
14、站点地图:{S_URL}/?action_site_type_map
15、友情链接:{S_URL}/?action_site_type_link
16、时间单位dateline:
1小时3600;1天86400;1周604800;2周1209600;1月2592000;永久315360000
17、时间格式:
#date("Y-n-d H:i:s", $value["dateline"])#
#date('Y-n-d H:i', $news["dateline"])#


18、等级grade:1、2、3、4、5
19、有无:0表示无;1表示有
20、缓存时间cachetime
21、取得数据个数limit
22、截取长度len:字节单位(2个字节为1个汉字,比如20表示保留10个汉字)

23、相关链接:
站点首页:#action/index#
资讯:#action/news#
博客:#action/blog#
商品:#action/goods#
论坛:#action/bbs#
相册:#action/image#
文件:#action/file#
书签:#action/link#
注册:{B_URL}/register.php?referer={S_URL}/index.php?action_login
申请个人空间:#action/register#
站点管理平台:{S_URL}/admincp.php
登录站点:#action/login#
退出站点:{S_URL}/batch.login.php?action=logout
个人空间首页:#uid/$_SGLOBAL[supe_uid]/action/space#
个人控制面板:{S_URL}/spacecp.php?uid=$_SGLOBAL[supe_uid]
忘记密码:{B_URL}/member.php?action=lostpasswd
24、分页导航:
        <div class="pages">
        <!--{if $_SBLOCK[newlist_multipage]}-->
        $_SBLOCK[newlist_multipage]
        <!--{else}-->
        <table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">当前只有一页</td></tr></table>
        <!--{/if}-->
        </div>               
        </div>


25、网站频道菜单:
<!--{loop $channelmenu $value}-->
<li><a href="$value[url]" target="_self">$value[name]</a></li>
<!--{/loop}-->
                               
26、站点公告:
        <!--{loop $listvalue $value}-->
                <li>
                        <h4><a href="$value[url]">$value[subject]</a></h4>
                        <p class="smalltxt">发布人: $value[author]&nbsp;&nbsp;开始时间: $value[starttime]&nbsp;&nbsp;结束时间: $value[endtime]</p>
                        <p>$value[message]</p>
                </li>
        <!--{/loop}-->

27、站点地图:
<div id="sitemap">
        <!--资讯根分类 开始-->
        <!--{if !empty($_SGLOBAL['usetype']['news'])}-->
        <!--{block name="category" parameter="type/news/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/10800/cachename/newscat/tpl/data"}-->
        <div>
                <h3>资讯</h3>
                <ul>
                        <!--{loop $_SBLOCK['newscat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--{/if}-->
        <!--资讯根分类 结束-->
       
        <!--博客根分类 开始-->
        <!--{if !empty($_SGLOBAL['usetype']['blog'])}-->
        <!--{block name="category" parameter="type/blog/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/10900/cachename/blogcat/tpl/data"}-->
        <div id="cateblog">
                <h3>博客</h3>
                <ul>
                        <!--{loop $_SBLOCK['blogcat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--{/if}-->
        <!--博客根分类 结束-->

        <!--图片根分类 开始-->
        <!--{if !empty($_SGLOBAL['usetype']['image'])}-->
        <!--{block name="category" parameter="type/image/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/11000/cachename/imagecat/tpl/data"}-->
        <div id="cateimage">
                <h3>图片</h3>
                <ul>
                        <!--{loop $_SBLOCK['imagecat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--{/if}-->
        <!--图片根分类 结束-->

        <!--商品根分类 开始-->               
        <!--{if !empty($_SGLOBAL['usetype']['goods'])}-->
        <!--{block name="category" parameter="type/goods/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/11100/cachename/goodscat/tpl/data"}-->
        <div id="categoods">
                <h3>商品</h3>
                <ul>
                        <!--{loop $_SBLOCK['goodscat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--{/if}-->
        <!--商品根分类 结束-->

        <!--文件根分类 开始-->
        <!--{if !empty($_SGLOBAL['usetype']['file'])}-->
        <!--{block name="category" parameter="type/file/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/11200/cachename/filecat/tpl/data"}-->
        <div id="catefile">
                <h3>文件</h3>
                <ul>
                        <!--{loop $_SBLOCK['filecat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--{/if}-->
        <!--文件根分类 结束-->

        <!--书签根分类 开始-->
        <!--{if !empty($_SGLOBAL['usetype']['link'])}-->
        <!--{block name="category" parameter="type/link/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/11300/cachename/linkcat/tpl/data"}-->
        <div id="catelink">
                <h3>书签</h3>
                <ul>
                        <!--{loop $_SBLOCK['linkcat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--{/if}-->
        <!--书签根分类 结束-->

        <!--个人空间根分类 开始-->
                <!--{if !empty($_SGLOBAL['usetype']['space'])}-->
        <!--{block name="category" parameter="type/space/isroot/1/ischannel/2/limit/0,100/order/c.displayorder/cachetime/11400/cachename/spacecat/tpl/data"}-->
        <div id="catespace">
                <h3>个人空间</h3>
                <ul>
                        <!--{loop $_SBLOCK['spacecat'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
<!--{/if}-->
        <!--个人空间根分类 结束-->

        <!--论坛版块列表100个 开始-->
        <!--{block name="bbsforum" parameter="type/forum/limit/0,100/order/f.displayorder/cachetime/11500/cachename/bbsforum/tpl/data"}-->
        <div id="forums">
                <h3>论坛板块</h3>
                <ul>
                        <!--{loop $_SBLOCK['bbsforum'] $value}-->
                        <li><a href="$value[url]" title="$value[name]">$value[name]</a></li>
                        <!--{/loop}-->
                </ul>
        </div>
        <!--论坛版块列表100个 结束-->
</div>
<!-- /类区 -->



28、页次导航:
$multipage


29、头部广告:
<!--{if !empty($_SCONFIG['indexadheader'])}-->
                        <div>$_SCONFIG[indexadheader]</div>
                        <!--{/if}-->       
30、Banner广告:
<!--{if !empty($_SCONFIG['indexadheader'])}-->       
                        <div class="banner468">$_SCONFIG[indexadheader]</div>
                        <!--{/if}-->


31、通栏广告:
        <!--{if !empty($_SCONFIG['indexadcenter'])}-->
        <div class="content" style="background: none; margin-bottom: 0.5em;">
                $_SCONFIG[indexadcenter]
        </div>
        <!--{/if}-->               

32、内容页广告:
<!--{if !empty($_SCONFIG['viewadmessage'])}-->
                        $_SCONFIG[viewadmessage]
                        <!--{/if}-->


33、底部广告:
<!--{if !empty($_SCONFIG['indexadfooter'])}-->
                $_SCONFIG[indexadfooter]
                <!--{/if}-->
               
               
               
34、漂浮广告:
<!--{if !empty($_SCONFIG['indexadfloating']) || !empty($_SCONFIG['indexadside'])}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script language="javascript">
<!--{if !empty($_SCONFIG['indexadfloating'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($_SCONFIG['indexadfloating']);}--></div>").floatIt();
<!--{/if}-->

35、侧边广告:
<!--{if !empty($_SCONFIG['indexadside'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br><img src=\"{S_URL}/images/system/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div><div style=\"position: absolute; right: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br><img src=\"{S_URL}/images/system/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div>").floatIt();
<!--{/if}-->
</script>
<!--{/if}-->

36、弹窗广告:
<!--{if !empty($_SCONFIG['indexadwindow'])}-->
<script type="text/javascript">
window.open('$_SCONFIG[indexadwindow]');
</script>
<!--{/if}-->


37、友情链接:
<!--{block name="bbslink" parameter="order/displayorder/limit/0,100/cachetime/11600/namelen/16/cachename/bbslink/tpl/data"}-->
<!--{eval $imglink=$txtlink="";}-->
<!--{loop $_SBLOCK['bbslink'] $value}-->
<!--{if $value[logo]}-->
<!--{eval $imglink .="<li><a href=\"".$value[url]."\" target=\"_blank\" title=\"".$value[nameall]."\"><img src=\"".$value[logo]."\" alt=\"".$value[nameall]."\" /></a></li>";}-->
<!--{else}-->
<!--{eval $txtlink .= "<li><a href=\"".$value[url]."\" title=\"".$value[nameall]."\" target=\"_blank\">".$value[name]."</a></li>";}-->
<!--{/if}-->
<!--{/loop}-->
<div>
$imglink
$txtlink
</div>



38、资讯分类:
<!--{if !empty($showmenu['news'])}-->
                        <!--{block name="category" parameter="type/news/isroot/1/ischannel/2/order/c.displayorder/limit/0,10/cachetime/36800/cachename/category_news/tpl/data"}-->
                                <!--{loop $_SBLOCK['category_news'] $value}-->
         <a href="$value[url]" target="_self" title="$value[name]">$value[name]</a>
                                <!--{/loop}-->
<!--{/if}-->

39、博客分类:
<!--{if !empty($showmenu['blog'])}-->
                        <!--{block name="category" parameter="type/blog/isroot/1/ischannel/2/order/c.displayorder/limit/0,10/cachetime/37800/cachename/category_blog/tpl/data"}-->
                                <!--{loop $_SBLOCK['category_blog'] $value}-->
                                <a href="$value[url]" target="_self" title="$value[name]">$value[name]</a>
                                <!--{/loop}-->
                <!--{/if}-->
               
40、相册分类:       
                <!--{if !empty($showmenu['image'])}-->
                        <!--{block name="category" parameter="type/image/isroot/1/ischannel/2/order/c.displayorder/limit/0,10/cachetime/39800/cachename/category_image/tpl/data"}-->
                                <!--{loop $_SBLOCK['category_image'] $value}-->
                                <a href="$value[url]" target="_self" title="$value[name]">$value[name]</a>
                                <!--{/loop}-->
                <!--{/if}-->
               
41、商品分类:
                <!--{if !empty($showmenu['goods'])}-->
                        <!--{block name="category" parameter="type/goods/isroot/1/ischannel/2/order/c.displayorder/limit/0,10/cachetime/39900/cachename/category_goods/tpl/data"}-->
                                <!--{loop $_SBLOCK['category_goods'] $value}-->
                                <a href="$value[url]" target="_self" title="$value[name]">$value[name]</a>
                                <!--{/loop}-->
                <!--{/if}-->
               
42、书签分类:
                <!--{if !empty($showmenu['link'])}-->
                        <!--{block name="category" parameter="type/link/isroot/1/ischannel/2/order/c.displayorder/limit/0,10/cachetime/39900/cachename/category_link/tpl/data"}-->
                                <!--{loop $_SBLOCK['category_link'] $value}-->
                                <a href="$value[url]" target="_self" title="$value[name]">$value[name]</a>
                                <!--{/loop}-->
                <!--{/if}-->

43、文件分类:
                <!--{if !empty($showmenu['file'])}-->
                        <!--{block name="category" parameter="type/file/isroot/1/ischannel/2/order/c.displayorder/limit/0,10/cachetime/39900/cachename/category_file/tpl/data"}-->
                                <!--{loop $_SBLOCK['category_file'] $value}-->
                                <a href="$value[url]" target="_self" title="$value[name]">$value[name]</a>
                                <!--{/loop}-->
                <!--{/if}-->
               
       

44、站点公告列表:
<!--{block name="announcement" parameter="order/displayorder/limit/0,6/cachetime/86400/subjectlen/30/cachename/announce/tpl/data"}-->
                                <!--{if empty($_SBLOCK['announce'])}-->
                                        <li>暂时没有公告</li>
                                <!--{else}-->
                                <!--{loop $_SBLOCK['announce'] $value}-->
                                        <li><a href="$value[url]">$value[subject]</a></li>
                                <!--{/loop}-->
<!--{/if}-->

45、站点调查列表:
<!--{block name="poll" parameter="order/dateline DESC/limit/0,6/cachetime/80000/subjectlen/30/cachename/poll/tpl/data"}-->
                                <!--{if empty($_SBLOCK['poll'])}-->
                                        <li>暂时没有调查</li>
                                <!--{else}-->
                                        <!--{loop $_SBLOCK['poll'] $value}-->
                                                <li><a href="$value[url]">$value[subject]</a></li>
                                        <!--{/loop}-->
                                <!--{/if}-->       

增补:
1、网站关键词:$keywords
2、网站描述:$description
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:39:57 | 显示全部楼层
supe_ads广告表
adidsmallint广告id
subjectvarchar广告标题
adtypeenum广告类型
datelineint广告添加时间
widthvarchar广告宽度
heightvarchar广告高度
clicksint广告点击次数
adcontenttext广告代码
supe_announcements公告表
idsmallint公告id
uidmediumint公告发布者uid
authorvarchar公告发布者ID
subjectvarchar公告标题
displayordertinyint公告显示顺序
starttimeint公告开始时间
endtimeint公告结束时间
messagetext公告内容
supe_attachments附件表
aidmediumint附件id
isavailabletinyint附件是否可用
typechar附件对应信息类型
itemidmediumint附件对应的信息id
catidsmallint附件对应信息的分类id
uidmediumint附件上传者uid
datelineint附件上传时间
filenamechar附件文件名
subjectchar附件对应信息的标题
attachtypechar附件类型
isimagetinyint附件是否为图片
sizeint附件大小
filepathchar附件文件相对地址
thumbpathchar附件图片缩略图文件相对地址
downloadsmediumint附件下载次数
hashchar附件唯一键值
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:40:43 | 显示全部楼层
supe_attachmenttypes允许附件类型表
idsmallint附件类型id
fileextchar允许附件类型后缀
maxsizeint允许附件大小最大值
supe_blocks模块表
blockidsmallint模块id
datelineint模块添加时间
blocktypevarchar模块类型
blocknamevarchar模块名称
blockmodeltinyint模块模式
blocktexttext模块参数设置字符串
blockcodetext模块PHP代码
supe_cache缓存表
cachekeyvarchar缓存键值
uidmediumint缓存对应用户uid
cachenamevarchar缓存变量的名称
valuemediumtext缓存变量的值
updatetimeint缓存变量更新时间
supe_categories分类表
catidsmallint信息分类id
upidsmallint分类父id
namevarchar分类名称
notetext分类说明
typevarchar分类所属类型
ischanneltinyint分类是否为专题
displayordermediumint分类显示顺序
tplvarchar分类使用的模版文件
thumbvarchar分类的封面图片缩略图
imagevarchar分类的封面图片
haveattachtinyint是否有封面图片
bbsmodeltinyint是否直接读取BBS相应板块
bbsurltypevarcharBBS板块
blockmodeltinyint读取BBS板块使用模块类型
blockparametertext使用的模块参数
blocktexttext使用的模块参数设置字符串
urlvarchar分类跳转URL
subcatidvarchar分类子id
supe_channels频道表 
nameidchar频道英文名id
namechar频道中文名
urlchar频道链接
tplchar频道模板文件名
typechar频道类型(system,user)
displayordersmallint频道显示顺序
statustinyint是否启用频道(0:不启用,1:启用)
supe_corpus文集表
cidmediumint文集id
authoridmediumint文集作者uid
authorvarchar文集作者ID
corpusnamevarchar文集名字
resumetext作者个人简介
backgroundvarchar文集背景图片
blogsext加入文集的日志id
catalogtext文集目录树XML
covertext文集封面文字
preludetext文集序言文字
backcovertext文集封底文字
createdateint文集创建时间
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:41:25 | 显示全部楼层
supe_crons计划任务表
cronidsmallint计划任务id
availabletinyint计划任务是否可用
typeenum计划任务类型
namechar计划任务名称
filenamechar计划任务调用的文件名
lastrunint上次运行时间
nextrunint下次运行时间
weekdaytinyint按周
daytinyint按日
hourtinyint按时
minutechar按分
supe_customfields自定义字段
customfieldidsmallint自定义字段id
issharetinyint自定义字段是否共享
uidmediumint自定义字段添加者uid
typevarchar信息类型
namevarchar字段名称
displayordersmallint字段显示顺序
customfieldtexttext字段可选内容
isdefaulttinyint是否为默认选中
supe_effects特效
eidsmallint特效id
namechar特效名称
kindchar特效类型
filechar特效文件
supe_favorites收藏表
uidmediumint收藏者uid
itemidmediumint收藏信息的id
datelineint收藏时间
supe_friends好友表
uidmediumint添加者uid
frienduidmediumint好友uid
datelineint添加的时间
gradetinyint好友等级
supe_goodsprice商品价格表
priceidmediumint价格id
itemidmediumint商品id
uidmediumint商品添加者uid
pricefloat商品价格
buynumsmallint商品购买数量
datelineint商品添加的时间
statustinyint商品状态
usernamechar商品添加者的用户名
supe_groupfields圈子资料表
gidmediumint圈子id
intromediumtext圈子介绍
announcementstext圈子公告
headerimagevarchar圈子首页顶部图片地址
selfintromediumtext圈主个人介绍
cssmediumtext圈子主页CSS内容
supe_groupitems加入圈子的信息表
gidmediumint圈子id
itemidmediumint加入圈子的信息id
uidmediumint推荐信息的用户uid
usernamechar推荐信息的用户名
datelineint加入圈子的时间
supe_groups圈子表
gidmediumint圈子id
groupnamechar圈子的圈名
catidmediumint圈子的分类id
uidmediumint圈主的uid
usernamechar圈主的用户名
ispublictinyint圈子是否公开0:不公开、1:公开2:须要密码
flagtinyint圈子的审核状态0:未审核的圈子、1:审核的圈子
modetinyint圈子加入模式0:邀请、1:审核、2:所有人
allowrecommendtinyint是否允许推荐0:不允许1:允许
allowsharetinyint是否让圈外的人讨论0:不允许1:允许
usernummediumint加入圈子的总人数
passwordchar圈子访问密码
lastpostint圈子内信息的最后更新时间
datelineint圈子申请时间
logochar圈子Logo地址
supe_groupuid圈主表
uidmediumint加入圈子用户的uid
gidmediumint圈子id
groupnamechar圈子的圈名
flagtinyint成员加入圈子的审核状态-1:邀请的成员、0:未审核的成员、1:成员、2:副圈主、3:圈主
datelineint加入圈子的时间
supe_guestbooks留言板
gidmediumint留言id
uidmediumint留言接受者id
isprivatetinyint是否为悄悄话
authoridmediumint留言者uid
authorvarchar留言者的用户名
ipvarchar留言者IP
datelineint留言的时间
messagetext留言内容
回复

使用道具 举报

 楼主| SSAY 发表于 2007-11-7 11:43:00 | 显示全部楼层
supe_itemtypes个人分类表
typeidmediumint个人分类id
uidmediumint分类创建者uid
typechar分类所属类型
typenamechar分类名称
viewpermchar查看权限
replypermchar回复权限
getattachpermchar下载权限
displayordertinyint显示顺序
supe_members用户表
uidmediumint用户uid
groupidsmallint用户组id
usernamechar用户名
passwordchar用户密码
secqueschar用户安全提问
timeoffsetchar时区
dateformatchar日期格式
timeformattinyint时间格式
havespacetinyint是否开通Space空间
newpmtinyint是否有新的短消息
lastsearchtimeint上次搜索的时间
supe_polls投票
pollidsmallint投票id
pollnummediumint投票总数
datelineint建立时间
updatetimeint更新时间
ismultitinyint是否为多选
subjectvarchar投票标题
summarytext投票说明
optionstext投票选项
voterstext投票者uid
supe_prefields预先值
idsmallint预先值变量id
typechar信息类型
fieldchar变量名
valuechar变量的值
isdefaulttinyint是否默认选中
supe_reports举报信息表 
reportidmediumint举报信息id
itemidmediumint被举报的信息id
reportuidmediumint举报人的uid(游客为0)
reporterchar举报人的用户名(游客为Guest)
reportdateint信息举报的时间
statustinyint举报信息处理状态(0为未处理,1为管理员处理为有效信息)
supe_robotitems采集信息表
itemidmediumint采集信息id
uidmediumint采集者uid
catidsmallint信息的分类id
robotidsmallint机器人id
robottimeint采集时间
subjectchar信息标题
authorchar信息作者
itemfromchar信息来源
datelinechar信息建立时间
isimporttinyint信息是否导入
supe_robotmessages采集信息内容表
msgidmediumint采集信息内容id
itemidmediumint采集信息id
robotidsmallint机器人id
messagetext采集信息内容
picurlstext信息图片链接地址
flashurlstext信息FLASH链接地址
supe_robots机器人
robotidsmallint机器人id
namevarchar机器人名称
uidmediumint机器人添加者uid
datelineint添加时间
lasttimeint最后一次采集时间
robotnumsmallint采集次数
listurltypevarchar索引列表方式
listurltext索引列表链接
listpagestartsmallint索引列表开始页码
listpageendsmallint索引列表结束页码
allnumsmallint总的采集数目
pernumsmallint每次采集信息数目
savepictinyint是否保存信息内的图片
encodevarchar采集页面的字符集编码
picurllinkpretext图片链接前缀
saveflashtinyint是否保存信息内的FLASH
subjecturlruletext标题URL识别规则
subjecturllinkruletext文章链接URL规则
subjecturllinkpretext文章链接前缀
subjectruletext标题识别规则
subjectfiltertext标题过滤规则
subjectreplacetext标题替换规则
subjectreplacetotext标题替换字符
subjectkeytext标题包含的关键字
subjectallowrepeattinyint是否允许标题重复
datelineruletext文章建立时间识别规则
fromruletext来源识别规则
authorruletext作者识别规则
messageruletext内容识别规则
messagefiltertext内容过滤规则
messagepagetypevarchar内容分页类型
messagepageruletext内容页码区域识别规则
messagepageurlruletext页码链接识别规则
messagepageurllinkpretext页码链接前缀
messagereplacetext内容替换规则
messagereplacetotext内容替换字符
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-16 05:26 , Processed in 0.141761 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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