- <!–{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%20rawurlencode($_G[‘cache’][‘userstats’][‘newsetuser’])}” target=”_blank” class=”xi2″>$_G[‘cache’][‘userstats’][‘newsetuser’]</a></em><!–{/if}–></p>
- <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}–>
,论坛信息统计代码
主要包含
今日贴子数 | 昨日帖子数 | 帖子数 | 会员 | 新会员
模板中展现的方式:
今日: 0|昨日: 0|帖子: 2|会员: 1|欢迎新会员: admin
- <!–{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%20rawurlencode($_G[‘cache’][‘userstats’][‘newsetuser’])}” target=”_blank” class=”xi2″>$_G[‘cache’][‘userstats’][‘newsetuser’]</a></em><!–{/if}–></p>
- <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}–>