supesite 标签调用

导入广告:
<!–{eval $ads = getad(‘system’, ‘indexad’, ’1′);}–>

循环显示导航:
<!–{loop $channels['menus'] $value}–> <li><a href=”$value[url]“>$value[name]</a></li> <!–{/loop}–>

页面顶部广告:
<!–{if !empty($ads['pageheadad'])}–> <div class=”banner”>$ads[pageheadad]</div> <!–{/if}–>

页面中央横幅广告:
<!–{if !empty($ads['pagecenterad'])}–> <div class=”banner”>$ads[pagecenterad]</div> <!–{/if}–>

页面底部广告:
<!–{if !empty($ads['pagefootad'])}–> <div class=”banner”>$ads[pagefootad]</div> <!–{/if}–>

页面对联广告和页面漂浮广告代码:
<!–{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}–>
<!–{if !empty($ads['pagemovead'])}–>
<div id=”coupleBannerAdv” style=”z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none”><div style=”position: absolute; left: 6px; top: 6px;”>$ads[pagemovead]<br /><img src=”{S_URL}/images/base/advclose.gif” onMouseOver=”this.style.cursor=’hand’” onClick=”closeBanner(‘coupleBannerAdv’);”></div><div style=”position: absolute; right: 6px; top: 6px;”>$ads[pagemovead]<br /><img src=”{S_URL}/images/base/advclose.gif” onMouseOver=”this.style.cursor=’hand’” onClick=”closeBanner(‘coupleBannerAdv’);”></div></div>
<!–{/if}–>
<!–{if !empty($ads['pageoutad'])}–>
<div id=”floatAdv” style=”z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none”><div id=”floatFloor” style=”position: absolute; right: 6px; bottom:-700px”>$ads[pageoutad]</div></div>
<!–{/if}–>
<script type=”text/javascript” src=”{S_URL}/include/js/floatadv.js”></script>
<script type=”text/javascript”>
<!–{if !empty($ads['pageoutad'])}–>
var lengthobj = getWindowSize();
lsfloatdiv(‘floatAdv’, 0, 0, ‘floatFloor’ , -lengthobj.winHeight).floatIt();
<!–{/if}–>
<!–{if !empty($ads['pagemovead'])}–>
lsfloatdiv(‘coupleBannerAdv’, 0, 0, ”, 0).floatIt();
<!–{/if}–>
</script>
<!–{/if}–>

调用资讯分类及子分类的函数形式:
<!–{block name=”category” parameter=”type/news/isroot/1/order/c.displayorder/limit/0,10/cachetime/36800/cachename/category_news/tpl/data”}–>

循环资讯的子分类:
<!–{loop $_SBLOCK['category_news'] $value}–> <dd><a href=”$value[url]“>$value[name]</a></dd> <!–{/loop}–>

调用日志分类及子分类的函数形式:
<!–{block name=”category” parameter=”type/blog/isroot/1/order/c.displayorder/limit/0,10/cachetime/37800/cachename/category_blog/tpl/data”}–>

循环日志的子分类:
<!–{loop $_SBLOCK['category_blog'] $value}–> <dd><a href=”$value[url]“>$value[name]</a></dd><!–{/loop}–>

调用图片分类及子分类的函数形式:
<!–{block name=”category” parameter=”type/image/isroot/1/order/c.displayorder/limit/0,10/cachetime/39800/cachename/category_image/tpl/data”}–>

循环图片的子分类:
<!–{loop $_SBLOCK['category_image'] $value}–> <dd><a href=”$value[url]” >$value[name]</a></dd> <!–{/loop}–>

调用影音分类及子分类的函数形式:
<!–{block name=”category” parameter=”type/video/isroot/1/order/c.displayorder/limit/0,10/cachetime/39800/cachename/category_video/tpl/data”}–>

循环影音的子分类:
<!–{loop $_SBLOCK['category_video'] $value}–> <dd><a href=”$value[url]” >$value[name]</a></dd> <!–{/loop}–>

调用圈子分类及子分类的函数形式:
<!–{block name=”category” parameter=”type/group/isroot/1/order/c.displayorder/limit/0,10/cachetime/39800/cachename/category_group/tpl/data”}–>

循环圈子的子分类:
<!–{loop $_SBLOCK['category_group'] $value}–> <dd><a href=”$value[url]“>$value[name]</a></dd> <!–{/loop}–>

搜索框中的option:
<!–{loop $channels['types'] $value}–><option value=”$value[nameid]“>$value[name]</option><!–{/loop}–>

用户控制面板:
<script src=”{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}” type=”text/javascript” language=”javascript”></script>

调用站点公告:
<!–{block name=”announcement” parameter=”order/displayorder/limit/0,7/cachetime/96400/subjectlen/30/cachename/announce/tpl/data”}–>

循环站点公告:
<!–{loop $_SBLOCK['announce'] $value}–><li><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

调用站点调查:
<!–{block name=”poll” parameter=”order/dateline DESC/limit/0,5/cachetime/80000/subjectlen/30/cachename/poll/tpl/data”}–>

循环站点调查:
<!–{loop $_SBLOCK['poll'] $value}–> <li><a href=”$value[url]“>$value[subject]</a></li> <!–{/loop}–>

调用最新日志图片幻灯片
<!–{block name=”spaceblog” parameter=”haveattach/1/showattach/1/order/i.dateline DESC/limit/0,4/cachetime/13930/cachename/picblog/tpl/data”}–>

调用一周好评榜:
<!–{block name=”spaceblog” parameter=”notype/1/dateline/604800/order/i.goodrate DESC/limit/0,8/cachetime/14400/subjectlen/28/cachename/recommendnews/tpl/data”}–>

循环一周好评榜:
<!–{loop $_SBLOCK['recommendnews'] $value}–><li><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

调用最新头条:
<!–{block name=”spacenews” parameter=”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”}–>

调用一周回复热点(即头条下面部分):
<!–{block name=”spaceblog” parameter=”notype/1/dateline/604800/order/i.replynum DESC/subjectlen/34/limit/0,15/cachetime/13600/showspacename/1/cachename/newinfos/tpl/data”}–>

循环显示一周回复热点:
<!–{loop $_SBLOCK[newinfos] $value}–> <li><cite><a href=”#uid/$value[uid]#”>$value[username]</a> </cite>[<a href="#action/$value[type]#”>{$lang[$value[type]]}</a>] <a href=”$value[url]“>$value[subject]</a></li> <!–{/loop}–>

调用资讯一个月点击头条:
<!–{block name=”spacenews” parameter=”dateline/2592000/haveattach/1/showattach/1/order/i.viewnum DESC/showdetail/1/messagelen/180/messagedot/1/limit/0,1/cachetime/98800/subjectlen/30/cachename/hotnews/tpl/data”}–>

调用评论更新最快的资讯排行榜:
<!–{block name=”spacenews” parameter=”order/i.lastpost DESC/limit/0,9/cachetime/14400/subjectlen/30/cachename/spacialnews/tpl/data”}–>

循环显示评论更新最快的资讯排行榜:
<!–{loop $_SBLOCK[spacialnews] $value}–> <li><a href=”$value[url]“>$value[subject]</a></li> <!–{/loop}–>

调用资讯列表:
<!–{block name=”spacenews” parameter=”order/i.dateline DESC/subjectlen/40/subjectdot/1/limit/0,10/cachetime/10800/cachename/newnews/tpl/data”}–>

循环显示资讯:
<!–{loop $_SBLOCK['newnews'] $value}–><li><cite>#date(“m-d”, $value["dateline"])# </cite><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

调用空间排行榜模块:
<!–{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}–>

调用热门标签:
<!–{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}–>

日志一周评论榜:
<!–{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]#”>$value[username]</a> </cite><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

最新圈子:
<!–{block name=”group” parameter=”order/g.dateline DESC/limit/0,8/cachetime/19900/cachename/newgroup/tpl/data”}–>

循环显示最新圈子:
<!–{loop $_SBLOCK['newgroup'] $value}–><li><cite><a href=”#uid/$value[uid]#” target=”_blank” title=”圈主”>$value[username]</a></cite><a href=”$value[url]” target=”_blank”>$value[groupname]</a></li><!–{/loop}–>

最近更新圈子:
<!–{block name=”group” parameter=”order/g.lastpost DESC/limit/0,12/cachetime/11000/cachename/updategroup/tpl/data”}–>

循环显示最新更新的圈子:
<!–{loop $_SBLOCK['updategroup'] $value}–><li class=”smallthumb”><div><a href=”$value[url]” title=”$value[groupname], by $value[username]“><img src=”$value[logo]” alt=”$value[groupname]” /></a></div><p><a href=”$value[url]“>$value[groupname]</a><span class=”smalltxt” title=”共有$value[usernum]位会员”> ($value[usernum])</span></p></li><!–{/loop}–>

最新图片:
<!–{block name=”spaceimage” parameter=”order/i.dateline DESC/limit/0,8/subjectlen/20/cachetime/27900/cachename/newimage/tpl/data”}–>

循环显示最新图片:
<!–{loop $_SBLOCK['newimage'] $value}–><li><cite><a href=”#uid/$value[uid]#” target=”_blank”>$value[username]</a></cite><a href=”$value[url]” target=”_blank”>$value[subject]</a></li><!–{/loop}–>

图片评论排行榜:
<!–{block name=”spaceimage” parameter=”dateline/604800/order/i.replynum DESC/limit/0,12/showdetail/1/subjectlen/14/cachetime/29000/cachename/newimage/tpl/data”}–>

循环显示图片排行榜:
<!–{loop $_SBLOCK['newimage'] $value}–><li class=”smallthumb”><div><a href=”$value[url]” title=”$value[subject], by $value[username]“><img src=”$value[image]” alt=”$value[subject]” /></a></div><p><a href=”$value[url]“>$value[subject]</a><span class=”smalltxt” title=”共有$value[imagenum]幅图片”> ($value[imagenum])</span></p></li><!–{/loop}–>

最新影音:
<!–{block name=”spacevideo” parameter=”order/i.dateline DESC/limit/0,8/subjectlen/14/cachetime/10400/cachename/newvideo/tpl/data”}–>

循环显示最新影音:
<!–{loop $_SBLOCK['newvideo'] $value}–><li><cite><a href=”#uid/$value[uid]#” target=”_blank”>$value[username]</a></cite><a href=”$value[url]” target=”_blank”>$value[subject]</a></li><!–{/loop}–>

影音观看排行榜:
<!–{block name=”spacevideo” parameter=”dateline/604800/order/i.viewnum DESC/limit/0,12/cachetime/64400/subjectlen/13/showdetail/1/messagelen/40/messagedot/1/cachename/hotratevideo/tpl/data”}–>

循环显示影音排行榜:
<!–{loop $_SBLOCK['hotratevideo'] $value}–><li class=”smallthumb”><div><a href=”$value[url]” title=”$value[subject], by $value[username]“><img src=”$value[image]” alt=”$value[subject]” /></a></div><p><a href=”$value[url]“>$value[subject]</a></p></li><!–{/loop}–>

最新商品:
<!–{block name=”spacegoods” parameter=”order/i.dateline DESC/limit/0,8/subjectlen/20/cachetime/15980/cachename/newgoods/tpl/data”}–>

循环显示最新商品:
<!–{loop $_SBLOCK['newgoods'] $value}–><li><cite><a href=”#uid/$value[uid]#” target=”_blank”>$value[username]</a></cite><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

一周热评商品排行:
<!–{block name=”spacegoods” parameter=”dateline/604800/order/i.replynum DESC/subjectlen/12/limit/0,12/showdetail/1/cachetime/33800/cachename/picgoods/tpl/data”}–>

循环显示热评商品:
<!–{loop $_SBLOCK['picgoods'] $value}–><li class=”smallthumb”><div><a href=”$value[url]“><img src=”$value[thumb]” alt=”$value[subject]” /></a></div><p><a href=”$value[url]“>$value[subject]</a></p></li><!–{/loop}–>

最新文件:
<!–{block name=”spacefile” parameter=”order/i.dateline DESC/limit/0,10/subjectlen/18/cachetime/33900/cachename/hotfile/tpl/data”}–>

循环显示最新文件:
<!–{loop $_SBLOCK['hotfile'] $value}–><li><cite><a href=”#uid/$value[uid]#” target=”_blank”>$value[username]</a></cite><a href=”$value[url]” title=”$value[subjectall]“>$value[subject]</a></li><!–{/loop}–>

文件周点击榜:
<!–{block name=”spacefile” parameter=”dateline/604800/order/i.viewnum DESC/limit/0,10/subjectlen/25/cachetime/41700/cachename/recommendfile/tpl/data”}–>

循环显示文件周点击榜:
<!–{loop $_SBLOCK['recommendfile'] $value}–><li><a href=”$value[url]“>$value[subject]</a> <span class=”smalltxt”>($value[viewnum])</span></li><!–{/loop}–>

文件一周评论榜:
<!–{block name=”spacefile” parameter=”dateline/604800/order/i.replynum DESC/limit/0,11/subjectlen/35/cachetime/33900/cachename/hotfile/tpl/data”}–>

循环显示文件周评论榜:
<!–{loop $_SBLOCK['hotfile'] $value}–><li><cite><a href=”#uid/$value[uid]#”>$value[username]</a> </cite><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

最新书签:
<!–{block name=”spacelink” parameter=”order/i.dateline DESC/limit/0,10/subjectlen/30/cachetime/14500/cachename/newlink/tpl/data”}–>

循环显示最新书签:
<!–{loop $_SBLOCK['newlink'] $value}–><li><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

书签周点击榜:
<!–{block name=”spacelink” parameter=”dateline/604800/order/i.viewnum DESC/limit/0,10/subjectlen/25/cachetime/31700/cachename/hotlink/tpl/data”}–>

循环显示周点击榜书签:
<!–{loop $_SBLOCK['hotlink'] $value}–><li><a href=”$value[url]“>$value[subject]</a> <span class=”smalltxt”>($value[viewnum])</span></li><!–{/loop}–>

书签周评论榜:
<!–{block name=”spacelink” parameter=”dateline/604800/order/i.replynum DESC/subjectlen/40/subjectdot/1/limit/0,10/cachetime/41100/cachename/recommendlink/tpl/data”}–>

循环显示书签周评论榜:
<!–{loop $_SBLOCK['recommendlink'] $value}–><li><cite>#date(“m-d”, $value["dateline"])#</cite><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

论坛周点击榜:
<!–{block name=”bbsthread” parameter=”dateline/604800/order/t.views DESC/limit/0,11/subjectlen/20/cachetime/28800/cachename/hotthread/tpl/data”}–>

循环显示论坛周点击榜:
<!–{loop $_SBLOCK['hotthread'] $value}–><li><a href=”$value[url]” title=”$value[subjectall]” target=”_blank”>$value[subject]</a><span class=”smalltxt” title=”查看$value[views]次”> ($value[views])</span></li><!–{/loop}–>

论坛周评论榜:
<!–{block name=”bbsthread” parameter=”dateline/604800/order/t.replies DESC/limit/0,5/cachetime/26800/subjectlen/24/cachename/recommendthread/tpl/data”}–>

循环显示周评论榜:
<!–{loop $_SBLOCK['recommendthread'] $value}–><li><a href=”$value[url]” title=”$value[subjectall]” target=”_blank”>$value[subject]</a><span class=”smalltxt” title=”共有$value[replies]条回复”> ($value[replies])</span></li><!–{/loop}–>

本月论坛新会员:
<!–{block name=”bbsmember” parameter=”regdate/2592000/order/posts DESC/limit/0,10/cachetime/50000/cachename/topuser/tpl/data”}–>

循环显示本月论坛新会员:
<!–{loop $_SBLOCK['topuser'] $value}–><li style=”width: 82px;”><a href=”$value[url]“>$value[username]</a><span class=”smalltxt” title=”发帖$value[posts]篇”> ($value[posts])</span></li><!–{/loop}–>

最新发布的帖子:
<!–{block name=”bbsthread” parameter=”order/t.lastpost DESC/subjectlen/40/limit/0,11/cachetime/5630/cachename/newthread/tpl/data”}–>

循环显示最新发布的帖子:
<!–{loop $_SBLOCK['newthread'] $value}–><li><cite><a href=”#uid/$value[authorid]/action/viewpro#” target=”_blank”>$value[author]</a></cite><a href=”$value[url]“>$value[subject]</a></li><!–{/loop}–>

友情链接:
<!–{block name=”friendlink” parameter=”order/displayorder/limit/0,$_SCONFIG['showindex']/cachetime/11600/namelen/32/cachename/friendlink/tpl/data”}–>

转载于:https://www.cnblogs.com/fenle/p/4728931.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值