discuz.htm- <!--{subtemplate common/header}-->
- <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" class="xi2"><ul id="ancl">$announcements</ul></div>
- </dd>
- </dl>
- </div>
- <script type="text/javascript">announcement();</script>
- </div>
- <!--{/if}-->
- <div class="z">
- <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>»</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation
- </div>
- <div class="z"><!--{hook/index_status_extra}--></div>
- </div>
- <!--{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}-->
- <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>
- <div class="y">|</span>
- <!--{if $_G['uid']}--><a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a><span class="pipe">|</span><!--{/if}--><!--{if !empty($_G['setting']['search']['forum']['status'])}--><a href="search.php?mod=forum&srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
- </div>
- </div>
- <!--{/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]" onclick="return removeindexheats()">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]" onclick="return removeindexheats()">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}-->
- <div class="fl bm">
- <!--{loop $catlist $key $cat}-->
- <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}" onclick="toggle_collapse('category_$cat[fid]');" />
- </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="$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]" style="padding:10px 5px; ">
- <script language="javascript">
- function forumbackshow(id){
- document.getElementById(id).style.background="#f8f8f8";
- }
- function forumbackout(id){
- document.getElementById(id).style.background="";
- }
- function showgoto() {
- var i, args=showgoto.arguments; document.showgtvlaue = false;
- for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
- }
- </script>
- <!--/***************************************************************************/-->
- <div id="showback_$forum[fid]" style="border:1px solid #ccc; cursor:default;" onmouseover="forumbackshow('showback_$forum[fid]')" onmouseout="forumbackout('showback_$forum[fid]')" ondblclick="showgoto('parent','forum.php?mod=forumdisplay&fid=$forum[fid]');return document.showgtvlaue" title="">
- <div style="padding:5px; ">
- <style>
- .ficodiv {float:left;}
- .ficodiv,.ficodiv img{width:27px; height:32px; overflow:hidden; margin-top:2px; margin-right:5px;}
- .f_ttdiv {height:56px; line-height:20px;overflow:hidden;}
- .f_name {height:20px; overflow:hidden;}
- .f_name small{float:right;color:#aaa;}
- .f_name small span{color:#f30;}
- .f_name a span{font-size:14px;}
- .f_lyhp {float:left;}
- .f_lyhp {color:#999;}
- .f_bkjs {height:20px; line-height:18px; overflow:hidden;color:#888;}
- .f_tzmh {padding:5px; height:18px; line-height:20px; overflow:hidden;}
- </style>
- <div class="ficodiv">
- <!--{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>
- <div class="f_ttdiv" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
- <div class="f_name" title="$forum[name]">
- <small>
- <!--{if $forum[todayposts] && !$forum['redirect']}-->
- (今日:<span title="{lang forum_todayposts}">$forum[todayposts]</span>)
- <!--{/if}-->
- </small>
- <a href="$forumurl" {if $forum[redirect]}target="_blank"{/if}{if $forum[extra][namecolor]} style="color:{$forum[extra][namecolor]};"{/if}>
- <span>$forum[name]</span>
- </a>
- </div>
- <div class="f_name">
- <!--{if empty($forum[redirect])}-->
- <div class="f_lyhp">
- <span>主题:</span><em style="color:#f60;">$forum[threads]</em>
- </div><div style="float:left;">
- <span>帖子:</span><em style="color:#090;">$forum[posts]</em>
- <!--{if $forum[moderators]}-->
- <span id="default{$forum['fid']}" class="showmenu" onmouseover="showMenu(this.id);">版主</span>
- <ul id="default{$forum['fid']}_menu" class="p_pop" style="display:none;"><!--{echo str_replace(array(',',' c="1"'),'',$forum[moderators]);}--></ul><!--{else}-->
- 版主空缺
- <!--{/if}-->
- </div>
- <!--{/if}-->
- </div>
- <div class="f_bkjs">
- <!--{if $forum[description]}-->
- <span tabindex="$forum[description]">$forum[description]</span>
- <!--{else}-->
- <a href="/forum-52-1.html"><b style="color:#f30;">点击申请版主</b></a>
- <!--{/if}-->
- </div>
- </div>
- </div>
- <!--/******************帖子美化*************************************/-->
- <div class="f_tzmh">
- <!--{if $forum['redirect']}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum['lastpost'])}-->
- <b style="color:#f30;">New</b>
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2">
- <!--{echo cutstr($forum[lastpost][subject], 48)}-->
- </a>
- <!--{else}-->
- <b style="color:#d60; margin-right:5px;">Null</b>暂无主题, <a href="forum.php?mod=post&action=newthread&fid=$forum[fid]">抢先发表</a>!
- <!--{/if}-->
- </div>
- </div>
- <!--/*****************结束***********************************/-->
- </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}-->
- </td>
- <td class="fl_i">
- <!--{if empty($forum[redirect])}--><span class="xi2">$forum[threads]</span><span class="xg1"> / $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>
- <!--{hook/index_middle}-->
- <div class="wp mtn">
- <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
- </div>
- <!--{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}-->
- <span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.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">- {lang total} <strong>$onlinenum</strong> {lang onlines}
- - {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}-->
- <!--{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>
- <!--{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>
- <!--{subtemplate common/footer}-->
复制代码 |