标签:guide guests eve post color new blank 头部 cells
- <!--{subtemplate common/header}-->
复制代码调用 common/header.htm 头部文件
- <div id="pt" class="bm cl">
- <!--{if empty($gid) && $announcements}-->
- <div class="y">
- <div id="an">
- <dl class="cl">
- <dt class="z xw1">{lang announcements}: </dt>
- <dd>
- <div id="anc"><ul id="ancl">$announcements</ul></div>
- </dd>
- </dl>
- </div>
- <script type="text/javascript">announcement();</script>
- </div>
- <!--{/if}-->
复制代码
调用 后台 运营 站点功能 所有的公告标题及日期
而if表示有公告才显示 沒有公告不显示
- <div class="z">
- <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>?</em><a href="forum.php"{if $_G[‘setting‘][‘forumjump‘]} id="fjump" class="showmenu"{/if}>{$_G[setting][navs][2][navname]}</a>$navigation
- </div>
- <div class="z"><!--{hook/index_status_extra}--></div>
- </div>
复制代码
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a>
调用 后台 界面 导航设置中论坛名 並跳轉到./也就是首页
而当中的class="nvhm"即是调用坛名前的小屋图标 在后期会讲到
<a href="forum.php"{if $_G[‘setting‘][‘forumjump‘]} id="fjump" class="showmenu"{/if}>{$_G[setting][navs][2][navname]}</a>$navigation
调用 后台 界面 导航设置中论坛名 並跳轉到forum.php也就是首页
<div class="z"><!--{hook/index_status_extra}--></div>
qq互联 收听 关注 调用插口
- <!--{if empty($gid)}-->
- <!--{ad/text/wp a_t}-->
- <!--{/if}-->
复制代码
调用 后台 运营 站点广告 中的 格子广告
- <style id="diy_style" type="text/css"></style>
- <!--{if empty($gid)}-->
- <div class="wp">
- <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
- </div>
- <!--{/if}-->
复制代码
diy时的调用可插入位置在名之下 论坛统计之上
- <div id="ct" class="wp cl{if $_G[‘setting‘][‘forumallowside‘]} ct2{/if}">
- <!--{if empty($gid)}-->
- <div id="chart" class="bm bw0 cl">
- <p class="chart z">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G[‘cache‘][‘userstats‘][‘totalmembers‘]</em><!--{if $_G[‘cache‘][‘userstats‘][‘newsetuser‘]}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G[‘cache‘][‘userstats‘][‘newsetuser‘])}" target="_blank" class="xi2">$_G[‘cache‘][‘userstats‘][‘newsetuser‘]</a></em><!--{/if}--></p>
复制代码
调用于论坛统计
{lang index_today}-->今日 $todayposts 调用帖子数
{lang index_yesterday}昨天 $postdata[0] 调用昨天所发的帖子数
{lang index_posts} 帖子 $posts调用总帖子数
{lang index_members} 会员 $_G[‘cache‘][‘userstats‘][‘totalmembers‘] 调用本站会员总数
{lang welcome_new_members} 新会员 $_G[‘cache‘][‘userstats‘][‘newsetuser‘]调用于新会员的名字
- <div class="y">
- <!--{hook/index_nav_extra}-->
- <!--{if $_G[‘uid‘]}--><a href="forum.php?mod=guide&view=my" title="{lang my_posts}" class="xi2">{lang my_posts}</a><!--{/if}--><!--{if !empty($_G[‘setting‘][‘search‘][‘forum‘][‘status‘])}--><!--{if $_G[‘uid‘]}--><span class="pipe">|</span><!--{/if}--><a href="forum.php?mod=guide&view=new" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
- </div>
- </div>
- <!--{/if}-->
复制代码
<!--{hook/index_nav_extra}--> 某一插件的接口/偷笑
<!--{if $_G[‘uid‘]}--><a href="forum.php?mod=guide&view=my" title="{lang my_posts}" class="xi2">{lang my_posts}</a><!--{/if}-->
调用于各大会员自己所有的帖子(我的帖子)
<!--{if !empty($_G[‘setting‘][‘search‘][‘forum‘][‘status‘])}--><!--{if $_G[‘uid‘]}--><span class="pipe">|</span><!--{/if}--><a href="forum.php?mod=guide&view=new" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
调用于作查看新帖的接口
- <div class="mn">
- <!--{hook/index_top}-->
- <!--{if !empty($_G[‘cache‘][‘heats‘][‘message‘])}-->
- <div class="bm">
- <div class="bm_h cl">
- <h2>{lang hotthreads_forum}</h2>
- </div>
- <div class="bm_c cl">
- <div class="heat z">
- <!--{loop $_G[‘cache‘][‘heats‘][‘message‘] $data}-->
- <dl class="xld">
- <dt><!--{if $_G[‘adminid‘] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]">delete</a><!--{/if}-->
- <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
- <dd>$data[message]</dd>
- </dl>
- <!--{/loop}-->
- </div>
- <ul class="xl xl1 heatl">
- <!--{loop $_G[‘cache‘][‘heats‘][‘subject‘] $data}-->
- <li><!--{if $_G[‘adminid‘] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]">delete</a><!--{/if}-->· <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <!--{/if}-->
复制代码
调用于论坛热点功能
<!--{if $_G[‘adminid‘] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]">delete</a><!--{/if}-->
if功能表示如果是adminid=1(即最大管理员"超版等例外")即可进行刪除热点动作
<a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
<dd>$data[message]</dd>
调用于标题地址﹑标题以及內容
- <!--{hook/index_catlist_top}-->
- <div class="fl bm">
- <!--{if empty($gid) && !empty($forum_favlist)}-->
- <!--{eval $forumscount = count($forum_favlist);}-->
- <!--{eval $forumcolumns = $forumscount > 3 ? ($forumscount == 4 ? 4 : 5) : 1;}-->
- <!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).‘%‘;}-->
- <div class="bm bmw {if $forumcolumns} flg{/if} cl">
- <div class="bm_h cl">
- <span class="o">
- <img id="category_0_img" src="{IMGDIR}/$collapse[‘collapseimg_0‘]" title="{lang spread}" alt="{lang spread}" />
- </span>
- <h2><a href="home.php?mod=space&do=favorite&type=forum">{lang forum_myfav}</a></h2>
- </div>
复制代码
调用于我的收藏版块标题及打开收縮
- <div id="category_0" class="bm_c" style="{echo $collapse[‘category_0‘]}">
- <table cellspacing="0" cellpadding="0" class="fl_tb">
- <tr>
- <!--{eval $favorderid = 0;}-->
- <!--{loop $forum_favlist $key $favorite}-->
- <!--{eval $forum=$favforumlist[$favorite[id]];}-->
- <!--{eval $forumurl = !empty($forum[‘domain‘]) && !empty($_G[‘setting‘][‘domain‘][‘root‘][‘forum‘]) ? ‘http://‘.$forum[‘domain‘].‘.‘.$_G[‘setting‘][‘domain‘][‘root‘][‘forum‘] : ‘forum.php?mod=forumdisplay&fid=‘.$forum[‘fid‘];}-->
- <!--{if $forumcolumns>1}-->
- <!--{if $favorderid && ($favorderid % $forumcolumns == 0)}-->
- </tr>
- <!--{if $favorderid < $forumscount}-->
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/if}-->
- <td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
- <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- </div>
- <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
- <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum[‘redirect‘]}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
- <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
- <dd>
- <!--{if $forum[‘permission‘] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum[‘redirect‘]}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum[‘lastpost‘])}-->
- <!--{if $forumcolumns < 3}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum[‘lastpost‘][‘author‘]}-->$forum[‘lastpost‘][‘author‘]<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
- <!--{/if}-->
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </dd>
- <!--{hook/index_favforum_extra $forum[fid]}-->
- </dl>
- </td>
- <!--{eval $favorderid++;}-->
- <!--{else}-->
- <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- </td>
- <td>
- <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum[‘redirect‘]}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
- <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
- <!--{if $forum[‘subforums‘]}--><p>{lang forum_subforums}: $forum[‘subforums‘]</p><!--{/if}-->
- <!--{if $forum[‘moderators‘]}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
- <!--{hook/index_favforum_extra $forum[fid]}-->
- </td>
- <td class="fl_i">
- <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
- </td>
- <td class="fl_by">
- <div>
- <!--{if $forum[‘permission‘] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum[‘redirect‘]}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum[‘lastpost‘])}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum[‘lastpost‘][‘author‘]}-->$forum[‘lastpost‘][‘author‘]<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </div>
- </td>
- </tr>
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/loop}-->
- <!--{if ($columnspad = $favorderid % $forumcolumns) > 0}--><!--{echo str_repeat(‘<td class="fl_g"‘.($forumcolwidth ? " width=\"$forumcolwidth\"" : ‘‘).‘></td>‘, $forumcolumns - $columnspad);}--><!--{/if}-->
- </tr>
- </table>
- </div>
- </div>
- <!--{ad/intercat/bm a_c/-1}-->
- <!--{/if}-->
复制代码
用于调用我的收藏版块所显示的信息
<!--{ad/intercat/bm a_c/-1}--> 调用于 站点廣告中的论坛分类间廣告 中的收藏栏选项
- <!--{loop $catlist $key $cat}-->
- <!--{hook/index_catlist $cat[fid]}-->
- <div class="bm bmw {if $cat[‘forumcolumns‘]} flg{/if} cl">
- <div class="bm_h cl">
- <span class="o">
- <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" />
- </span>
- <!--{if $cat[‘moderators‘]}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
- <!--{eval $caturl = !empty($cat[‘domain‘]) && !empty($_G[‘setting‘][‘domain‘][‘root‘][‘forum‘]) ? ‘http://‘.$cat[‘domain‘].‘.‘.$_G[‘setting‘][‘domain‘][‘root‘][‘forum‘] : ‘‘;}-->
- <h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
- </div>
- <div id="category_$cat[fid]" class="bm_c" style="{echo $collapse[‘category_‘.$cat[fid]]}">
- <table cellspacing="0" cellpadding="0" class="fl_tb">
- <tr>
- <!--{loop $cat[forums] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <!--{eval $forumurl = !empty($forum[‘domain‘]) && !empty($_G[‘setting‘][‘domain‘][‘root‘][‘forum‘]) ? ‘http://‘.$forum[‘domain‘].‘.‘.$_G[‘setting‘][‘domain‘][‘root‘][‘forum‘] : ‘forum.php?mod=forumdisplay&fid=‘.$forum[‘fid‘];}-->
- <!--{if $cat[‘forumcolumns‘]}-->
- <!--{if $forum[‘orderid‘] && ($forum[‘orderid‘] % $cat[‘forumcolumns‘] == 0)}-->
- </tr>
- <!--{if $forum[‘orderid‘] < $cat[‘forumscount‘]}-->
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/if}-->
- <td class="fl_g" width="$cat[forumcolwidth]">
- <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- </div>
- <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
- <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum[‘redirect‘]}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
- <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
- <dd>
- <!--{if $forum[‘permission‘] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum[‘redirect‘]}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum[‘lastpost‘])}-->
- <!--{if $cat[‘forumcolumns‘] < 3}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum[‘lastpost‘][‘author‘]}-->$forum[‘lastpost‘][‘author‘]<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
- <!--{/if}-->
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </dd>
- <!--{hook/index_forum_extra $forum[fid]}-->
- </dl>
- </td>
- <!--{else}-->
- <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- </td>
- <td>
- <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum[‘redirect‘]}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
- <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
- <!--{if $forum[‘subforums‘]}--><p>{lang forum_subforums}: $forum[‘subforums‘]</p><!--{/if}-->
- <!--{if $forum[‘moderators‘]}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
- <!--{hook/index_forum_extra $forum[fid]}-->
- </td>
- <td class="fl_i">
- <!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
- </td>
- <td class="fl_by">
- <div>
- <!--{if $forum[‘permission‘] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum[‘redirect‘]}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum[‘lastpost‘])}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum[‘lastpost‘][‘author‘]}-->$forum[‘lastpost‘][‘author‘]<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </div>
- </td>
- </tr>
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/loop}-->
- $cat[‘endrows‘]
- </tr>
- </table>
- </div>
- </div>
- <!--{ad/intercat/bm a_c/$cat[fid]}-->
- <!--{/loop}-->
- </div>
复制代码
直到此位置都是调用于显示 直排/橫排版块 中所有信息
<!--{ad/intercat/bm a_c/$cat[fid]}--> 调用于 站点廣告中的论坛分类间廣告 中的版块名选项
- <!--{hook/index_middle}-->
- <div class="wp mtn">
- <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
- </div>
复制代码
调用于diy时可diy位置
- <!--{if empty($gid) && $_G[‘setting‘][‘whosonlinestatus‘]}-->
- <div id="online" class="bm oll">
- <div class="bm_h">
- <!--{if $detailstatus}-->
- <span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a></span>
- <h3>
- <strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
- <span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
- - <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
- <strong>$guestcount</strong> {lang index_guests}
- - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
- </h3>
- <!--{else}-->
- <!--{if empty($_G[‘setting‘][‘sessionclose‘])}-->
- <span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a></span>
- <!--{/if}-->
- <h3>
- <strong>
- <!--{if !empty($_G[‘setting‘][‘whosonlinestatus‘])}-->
- {lang onlinemember}
- <!--{else}-->
- <a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a>
- <!--{/if}-->
- </strong>
- <span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
- <!--{if $membercount}-->- <strong>$membercount</strong> {lang index_members},<strong>$guestcount</strong> {lang index_guests}<!--{/if}-->
- - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
- </h3>
- <!--{/if}-->
- </div>
- <!--{if $_G[‘setting‘][‘whosonlinestatus‘] && $detailstatus}-->
- <dl id="onlinelist" class="bm_c">
- <dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
- <!--{if $detailstatus}-->
- <dd class="ptm pbm">
- <ul class="cl">
- <!--{if $whosonline}-->
- <!--{loop $whosonline $key $online}-->
- <li title="{lang time}: $online[lastactivity]">
- <img src="{STATICURL}image/common/$online[icon]" alt="icon" />
- <!--{if $online[‘uid‘]}-->
- <a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
- <!--{else}-->
- $online[username]
- <!--{/if}-->
- </li>
- <!--{/loop}-->
- <!--{else}-->
- <li style="width: auto">{lang online_only_guests}</li>
- <!--{/if}-->
- </ul>
- </dd>
- <!--{/if}-->
- </dl>
- <!--{/if}-->
- </div>
- <!--{/if}-->
复制代码
<strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
<span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
- <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
<strong>$guestcount</strong> {lang index_guests}
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
</h3>
调用于首页详细显示在线信息
{lang onlinemember} 在线会员
$onlinenum 调用在线数 {lang onlines} 在线
$membercount 调用是本站会员数 {lang index_members} 会员
$invisiblecount 调用隐身人数 {lang index_invisibles}隐身
$guestcount 调用游客数 {lang index_guests} 游客
{lang index_mostonlines} 最高纪录 $onlineinfo[0] 调用最高日的人数
{lang on} 于 $onlineinfo[1] 调用最高在线人数日期
<span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a></span>
调用是否打开详细列表显示
<span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a></span>
调用是否隐藏显示详细列表
<li style="width: auto">{lang online_only_guests}</li>
调用于表示在线只有游客
调用于首页简约显示在线信息
{lang onlinemember} 在线会员
{lang total} 总数 $onlinenum 调用在线数
{lang index_mostonlines} 最高纪录 $onlineinfo[0] 调用最高日的人数
{lang on} 于 $onlineinfo[1] 调用最高在线人数日期
<img src="{STATICURL}image/common/$online[icon]" alt="icon" />
调用于后台 界面 在线列表 所设置的图标
<a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
调用会员名及空间地址
$online[username]
调用会员名
- <!--{if empty($gid) && ($_G[‘cache‘][‘forumlinks‘][0] || $_G[‘cache‘][‘forumlinks‘][1] || $_G[‘cache‘][‘forumlinks‘][2])}-->
- <div class="bm lk">
- <div id="category_lk" class="bm_c ptm">
- <!--{if $_G[‘cache‘][‘forumlinks‘][0]}-->
- <ul class="m mbn cl">$_G[‘cache‘][‘forumlinks‘][0]</ul>
- 调用有文字及有图的友情
- <!--{/if}-->
- <!--{if $_G[‘cache‘][‘forumlinks‘][1]}-->
- <div class="mbn cl">
- $_G[‘cache‘][‘forumlinks‘][1]
- 调用有文字沒图的友情
- </div>
- <!--{/if}-->
- <!--{if $_G[‘cache‘][‘forumlinks‘][2]}-->
- <ul class="x mbm cl">
- $_G[‘cache‘][‘forumlinks‘][2]
- 调用只有站名的友情
- </ul>
- <!--{/if}-->
- </div>
- </div>
- <!--{/if}-->
- <!--{hook/index_bottom}-->
- </div>
复制代码
<ul class="m mbn cl">$_G[‘cache‘][‘forumlinks‘][0]</ul>
调用有文字及有图的友情
$_G[‘cache‘][‘forumlinks‘][1]
调用有文字沒图的友情
$_G[‘cache‘][‘forumlinks‘][2]
调用只有站名的友情
- <!--{if $_G[‘setting‘][‘forumallowside‘]}-->
- <div id="sd" class="sd">
- <!--{hook/index_side_top}-->
- <div class="drag">
- <!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
- </div>
- <!--{hook/index_side_bottom}-->
- </div>
- <!--{/if}-->
- </div>
复制代码
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
调用diy可加框內容的位置
- <!--{if $_G[‘group‘][‘radminid‘] == 1}-->
- <!--{eval helper_manyou::checkupdate();}-->
- <!--{/if}-->
复制代码
调用漫游更新通知的.只有管理员可见
- <!--{subtemplate common/footer}-->
复制代码
调用 common/footer.htm 底部文件
x2.5 discuz.htm代码调用解说(第一讲)
标签:guide guests eve post color new blank 头部 cells
原文地址:http://www.cnblogs.com/alleyonline/p/7499795.html