同步宝塔上的源码
This commit is contained in:
611
template/ahome_common/forum/discuz.htm
Normal file
611
template/ahome_common/forum/discuz.htm
Normal file
@@ -0,0 +1,611 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<div id="pt" class="bm cl">
|
||||
<!--{if empty($gid) && $announcements}-->
|
||||
<div class="y" style="z-index:998;margin-top:0px;;padding:0px 5px;padding-right:0px;">
|
||||
<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}-->
|
||||
<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)}-->
|
||||
<ul class="dataul">
|
||||
<!--{eval $weekarray=array("日","一","二","三","四","五","六");}-->
|
||||
<li style="border-left:0px;"><p class="data">{echo date("n月j日",$_G['timestamp']);}</p><p class="desc">{echo "星期".$weekarray[date("w",$_G['timestamp'])]}</p></li>
|
||||
<li><p class="data">$todayposts</p><p class="desc">{lang index_today}</p></li>
|
||||
<li><p class="data">$postdata[0]</p><p class="desc">{lang index_yesterday}</p></li>
|
||||
<li><p class="data">$posts</p><p class="desc">{lang index_posts}</p></li>
|
||||
<li><p class="data">$_G['cache']['userstats']['totalmembers']</p><p class="desc">{lang index_members}</p></li>
|
||||
<li><p class="data"><a href="home.php?mod=space&username={echo rawurlencode($_G['cache']['userstats']['newsetuser'])}" target="_blank">$_G['cache']['userstats']['newsetuser']</a></p><p class="desc">{lang welcome_new_members}</p></li>
|
||||
</ul>
|
||||
<div class="y">
|
||||
<!--{hook/index_nav_extra}-->
|
||||
<ul class="dataul" style="margin-top:0px;">
|
||||
<li style="border-left:0px;">
|
||||
<a href="forum.php?mod=guide&view=my">
|
||||
<p class="data"><img src="template/ahome_common/src/default/mypost.png" style="height:40px;"></p><p class="desc">{lang my_posts}</p>
|
||||
</a>
|
||||
</li>
|
||||
<a href="forum.php?mod=guide&view=new">
|
||||
<li><p class="data"><img src="template/ahome_common/src/default/newreply.png" style="height:40px;"></p><p class="desc">{lang show_newthreads}</p></li>
|
||||
</a>
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="cl"></div>
|
||||
<!--[diy=diy_chart]--><div id="diy_chart" class="area"></div><!--[/diy]-->
|
||||
<div class="mn">
|
||||
|
||||
<!--{if !empty($_G['setting']['grid']['showgrid'])}-->
|
||||
<!-- index four grid -->
|
||||
<div class="fl bm">
|
||||
<div class="bm bmw cl">
|
||||
<div id="category_grid" class="bm_c" >
|
||||
<table cellspacing="0" cellpadding="0"><tr>
|
||||
<!--{if !$_G['setting']['grid']['gridtype']}-->
|
||||
<td valign="top" class="category_l1">
|
||||
<div class="newimgbox">
|
||||
<h4><span class="tit_newimg"></span>{lang latest_images}</h4>
|
||||
<div class="module cl slidebox_grid" style="width:218px">
|
||||
<script type="text/javascript">
|
||||
var slideSpeed = 5000;
|
||||
var slideImgsize = [218,200];
|
||||
var slideBorderColor = '{$_G['style']['specialborder']}';
|
||||
var slideBgColor = '{$_G['style']['commonbg']}';
|
||||
var slideImgs = new Array();
|
||||
var slideImgLinks = new Array();
|
||||
var slideImgTexts = new Array();
|
||||
var slideSwitchColor = '{$_G['style']['tabletext']}';
|
||||
var slideSwitchbgColor = '{$_G['style']['commonbg']}';
|
||||
var slideSwitchHiColor = '{$_G['style']['specialborder']}';
|
||||
{eval $k = 1;}
|
||||
<!--{loop $grids['slide'] $stid $svalue}-->
|
||||
slideImgs[<!--{echo $k}-->] = '$svalue[image]';
|
||||
slideImgLinks[<!--{echo $k}-->] = '{$svalue[url]}';
|
||||
slideImgTexts[<!--{echo $k}-->] = '$svalue[subject]';
|
||||
{eval $k++;}
|
||||
<!--{/loop}-->
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript" src="{$_G[setting][jspath]}forum_slide.js?{VERHASH}"></script>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<td valign="top" class="category_l2">
|
||||
<div class="subjectbox">
|
||||
<h4><span class="tit_subject"></span>{lang collection_lastthread}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['newthread'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td valign="top" class="category_l3">
|
||||
<div class="replaybox">
|
||||
<h4><span class="tit_replay"></span>{lang show_newthreads}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['newreply'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']}tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td valign="top" class="category_l3">
|
||||
<div class="hottiebox">
|
||||
<h4><span class="tit_hottie"></span>{lang hot_thread}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['hot'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<!--{if $_G['setting']['grid']['gridtype']}-->
|
||||
<td valign="top" class="category_l4">
|
||||
<div class="goodtiebox">
|
||||
<h4><span class="tit_goodtie"></span>{lang post_digest_thread}</h4>
|
||||
<ul class="category_newlist">
|
||||
<!--{loop $grids['digest'] $thread}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- index four grid end -->
|
||||
<!--{/if}-->
|
||||
<!--{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}-->
|
||||
|
||||
<!--{hook/index_catlist_top}-->
|
||||
<div class="fl bm">
|
||||
<!--{if !empty($collectiondata['follows'])}-->
|
||||
|
||||
<!--{eval $forumscount = count($collectiondata['follows']);}-->
|
||||
<!--{eval $forumcolumns = 4;}-->
|
||||
|
||||
<!--{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_-1_img" src="{IMGDIR}/$collapse['collapseimg_-1']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_-1');" />
|
||||
</span>
|
||||
<h2><a href="forum.php?mod=collection&op=my">{lang my_order_collection}</a></h2>
|
||||
</div>
|
||||
<div id="category_-1" class="bm_c" style="{echo $collapse['category_-1']}">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<tr>
|
||||
<!--{eval $ctorderid = 0;}-->
|
||||
<!--{loop $collectiondata['follows'] $key $colletion}-->
|
||||
<!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
|
||||
</tr>
|
||||
<!--{if $ctorderid < $forumscount}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
|
||||
<div class="fl_icn_g">
|
||||
<a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank"><img src="{IMGDIR}/forum{if $followcollections[$key]['lastvisit'] < $colletion['lastupdate']}_new{/if}.gif" alt="$colletion[name]" /></a>
|
||||
</div>
|
||||
<dl>
|
||||
<dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
|
||||
<dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
|
||||
<dd>
|
||||
<!--{if $colletion['lastpost']}-->
|
||||
<!--{if $forumcolumns < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion[lastposttime])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion[lastposttime])}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
<!--{hook/index_followcollection_extra $colletion[ctid]}-->
|
||||
</dl>
|
||||
</td>
|
||||
<!--{eval $ctorderid++;}-->
|
||||
|
||||
<!--{/loop}-->
|
||||
<!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{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}" onclick="toggle_collapse('category_0');" />
|
||||
</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}-->
|
||||
<!--{if $favforumlist[$favorite[id]]}-->
|
||||
<!--{eval $forum=$favforumlist[$favorite[id]];}-->
|
||||
<!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$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}-->
|
||||
<!--{/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}-->
|
||||
<!--{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}" 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']) ? $_G['scheme'].'://'.$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']) ? $_G['scheme'].'://'.$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}-->
|
||||
<!--{if !empty($collectiondata['data'])}-->
|
||||
|
||||
<!--{eval $forumscount = count($collectiondata['data']);}-->
|
||||
<!--{eval $forumcolumns = 4;}-->
|
||||
|
||||
<!--{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_-2_img" src="{IMGDIR}/$collapse['collapseimg_-2']" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_-2');" />
|
||||
</span>
|
||||
<h2><a href="forum.php?mod=collection">{lang recommend_collection}</a></h2>
|
||||
</div>
|
||||
<div id="category_-2" class="bm_c" style="{echo $collapse['category_-2']}">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<tr>
|
||||
<!--{eval $ctorderid = 0;}-->
|
||||
<!--{loop $collectiondata['data'] $key $colletion}-->
|
||||
<!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
|
||||
</tr>
|
||||
<!--{if $ctorderid < $forumscount}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
|
||||
<div class="fl_icn_g">
|
||||
<a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank"><img src="{IMGDIR}/forum.gif" alt="$colletion[name]" /></a>
|
||||
</div>
|
||||
<dl>
|
||||
<dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
|
||||
<dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
|
||||
<dd>
|
||||
<!--{if $colletion['lastpost']}-->
|
||||
<!--{if $forumcolumns < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion[lastposttime])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion[lastposttime])}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
<!--{hook/index_datacollection_extra $colletion[ctid]}-->
|
||||
</dl>
|
||||
</td>
|
||||
<!--{eval $ctorderid++;}-->
|
||||
|
||||
<!--{/loop}-->
|
||||
<!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{/if}-->
|
||||
|
||||
</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}-->
|
||||
<!--{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="{if $_G['setting']['version'] !='X3.5'}{STATICURL}image/common/{/if}$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>
|
||||
|
||||
<!--{if empty($_G['setting']['disfixednv_forumindex']) }--><script>fixed_top_nv();</script><!--{/if}-->
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
580
template/ahome_common/forum/forumdisplay.htm
Normal file
580
template/ahome_common/forum/forumdisplay.htm
Normal file
@@ -0,0 +1,580 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
|
||||
<div id="pt" class="bm cl">
|
||||
<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>
|
||||
|
||||
<!--{ad/text/wp a_t}-->
|
||||
<div class="wp">
|
||||
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<div class="boardnav">
|
||||
<div id="ct" class="wp cl{if $_G['forum']['allowside']} ct2{/if}"{if $leftside} style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}>
|
||||
<!--{if $leftside}-->
|
||||
<div id="sd_bdl" class="bdl" onmouseover="showMenu({'ctrlid':this.id, 'pos':'dz'});" style="width:{$_G['setting']['leftsidewidth']}px;margin-left:-{$_G['leftsidewidth_mwidth']}px">
|
||||
<!--{hook/forumdisplay_leftside_top}-->
|
||||
<!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--[/diy]-->
|
||||
|
||||
<div class="tbn" id="forumleftside">
|
||||
<!--{subtemplate forum/forumdisplay_leftside}-->
|
||||
</div>
|
||||
|
||||
<!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom" class="area"></div><!--[/diy]-->
|
||||
<!--{hook/forumdisplay_leftside_bottom}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div class="mn">
|
||||
<div class="bm bml pbn">
|
||||
<!--{if $_G[forum][banner] && !$subforumonly}--><img src="$_G[forum][banner]" alt="$_G['forum'][name]" /><!--{/if}-->
|
||||
<div class="bm_h cl">
|
||||
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}--><span class="o"><img id="forum_rules_{$_G[fid]}_img" src="{IMGDIR}/collapsed_{$collapse[forum_rulesimg]}.gif" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('forum_rules_{$_G[fid]}')" /></span><!--{/if}-->
|
||||
<span class="y">
|
||||
<a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum&formhash={FORMHASH}" id="a_favorite" class="fa_fav" onclick="showWindow(this.id, this.href, 'get', 0);">{lang forum_favorite} <strong class="xi1" id="number_favorite" {if !$_G[forum][favtimes]} style="display:none;"{/if}>(<span id="number_favorite_num">$_G[forum][favtimes]</span>)</strong></a>
|
||||
<!--{if rssforumperm($_G['forum']) && $_G[setting][rssstatus] && !$_GET['archiveid'] && !$subforumonly}-->
|
||||
<!--<span class="pipe">|</span><a href="forum.php?mod=rss&fid=$_G[fid]&auth=$rssauth" class="fa_rss" target="_blank" title="RSS">{lang rss_subscribe_this}</a>-->
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($forumarchive)}-->
|
||||
<span class="pipe">|</span><a id="forumarchive" href="javascript:;" class="fa_achv" onmouseover="showMenu(this.id)"><!--{if $_GET['archiveid']}-->$forumarchive[$_GET['archiveid']]['displayname']<!--{else}-->{lang forum_archive}<!--{/if}--></a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_forumaction}-->
|
||||
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<!--{if $_G['forum']['recyclebin']}-->
|
||||
<span class="pipe">|</span><a href="{if $_G['adminid'] == 1}admin.php?mod=forum&action=recyclebin&frames=yes{elseif $_G['forum']['ismoderator']}forum.php?mod=modcp&action=recyclebin&fid=$_G[fid]{/if}" class="fa_bin" target="_blank">{lang forum_recyclebin}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}-->
|
||||
<span class="pipe">|</span><strong>
|
||||
<!--{if $_G['forum']['status'] != 3}-->
|
||||
<a href="forum.php?mod=modcp&fid=$_G[fid]">{lang modcp}</a>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=group&action=manage&fid=$_G[fid]">{lang modcp}</a>
|
||||
<!--{/if}-->
|
||||
</strong>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_modlink}-->
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<h1 class="xs2">
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a>
|
||||
<!--{if !$subforumonly}--><span class="xs1 xw0 i">{lang index_today}: <strong class="xi1">$_G[forum][todayposts]</strong><!--{if $_G[forum][todayposts]}--><!--{if $_G[forum][todayposts] < $_G[forum][yesterdayposts]}--><b class="ico_fall"> </b><!--{else}--><b class="ico_increase"> </b><!--{/if}--><!--{/if}--><span class="pipe">|</span>{lang index_threads}: <strong class="xi1">$_G[forum][threads]</strong><!--{if $_G[forum][rank]}--><span class="pipe">|</span>{lang rank}: <strong class="xi1" title="{lang previous_rank}:$_G[forum][oldrank]">$_G[forum][rank]</strong><!--{if $_G[forum][rank] <= $_G[forum][oldrank]}--><b class="ico_increase"> </b><!--{else}--><b class="ico_fall"> </b><!--{/if}--><!--{/if}--></span><!--{/if}-->
|
||||
</h1>
|
||||
</div>
|
||||
<!--{if (!empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])) || $moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])}-->
|
||||
<div class="bm_c cl pbn">
|
||||
<!--{if !empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])}-->
|
||||
<div class="pbn">{lang forum_domain}: <a href="{$_G['scheme']}://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}" id="group_link">{$_G['scheme']}://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}</a></div>
|
||||
<!--{/if}-->
|
||||
<!--{if $moderatedby}--><div>{lang forum_modedby}: <span class="xi2">$moderatedby</span></div><!--{/if}-->
|
||||
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
|
||||
<div id="forum_rules_{$_G[fid]}" style="$collapse['forum_rules'];">
|
||||
<div class="ptn xg2">$_G['forum'][rules]</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($forumarchive)}-->
|
||||
<div id="forumarchive_menu" class="p_pop" style="display:none">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">{lang threads_all}</a></li>
|
||||
<!--{loop $forumarchive $id $info}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&archiveid=$id">{$info['displayname']} ({$info['threads']})</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{hook/forumdisplay_top}-->
|
||||
|
||||
<!--{if $subexists && $_G['page'] == 1}--><!--{template forum/forumdisplay_subforum}--><!--{/if}-->
|
||||
|
||||
<div class="drag">
|
||||
<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
|
||||
<!--{if !empty($_G['forum']['recommendlist'])}-->
|
||||
<div class="bm bmw">
|
||||
<div class="bm_h cl">
|
||||
<h2>{lang forum_recommend}</h2>
|
||||
</div>
|
||||
<div class="bm_c cl">
|
||||
<!--{subtemplate forum/recommend}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/forumdisplay_middle}-->
|
||||
|
||||
<!--{if !$subforumonly}-->
|
||||
|
||||
<!--{if $recommendgroups && !$_G['forum']['allowside']}-->
|
||||
<div class="bm bmw fl{if $_G['forum']['forumcolumns']} flg{/if}">
|
||||
<div class="bm_h cl">
|
||||
<span class="o"><img id="recommendgroups_{$_G[forum][fid]}_img" src="{IMGDIR}/$collapseimg[recommendgroups]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('recommendgroups_{$_G[forum][fid]}');" /></span>
|
||||
<h2>{lang recommended_groups}</h2>
|
||||
</div>
|
||||
<div class="bm_c" id="recommendgroups_{$_G[forum][fid]}" style="$collapse[recommendgroups]">
|
||||
<table cellspacing="0" cellpadding="0" class="fl_tb">
|
||||
<!--{loop $recommendgroups $key $group}-->
|
||||
<!--{if $_G['forum']['forumcolumns']}-->
|
||||
<!--{if $key && ($key % $_G['forum']['forumcolumns'] == 0)}-->
|
||||
</tr>
|
||||
<!--{if $key < $_G['forum']['forumcolumns']}-->
|
||||
<tr class="fl_row">
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<td class="fl_g">
|
||||
<div class="fl_icn_g">
|
||||
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]" width="32" /></a>
|
||||
</div>
|
||||
<dl>
|
||||
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="xg1 xw0"> ($group[membernum] {lang activity_member_unit})</span>
|
||||
<dd><em>{lang forum_threads}: $group[threads]</em></dd>
|
||||
<dd>
|
||||
<!--{if is_array($group['lastpost'])}-->
|
||||
<!--{if $_G['forum']['forumcolumns'] < 3}-->
|
||||
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2">$group[lastpost][dateline]</a>
|
||||
<!--{/if}--> <!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</dd>
|
||||
</dl>
|
||||
</td>
|
||||
<!--{else}-->
|
||||
<tr {if $key != 0}class="fl_row"{/if}>
|
||||
<td class="fl_icn">
|
||||
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]" width="32" /></a>
|
||||
</td>
|
||||
<td>
|
||||
<h2><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="xg1 xw0"> ($group[membernum] {lang activity_member_unit})</span></h2>
|
||||
<p><!--{echo cutstr($group[description], 100)}--></p>
|
||||
</td>
|
||||
<td class="fl_i">
|
||||
<span class="xi2">$group[threads] {lang index_threads}</span>
|
||||
</td>
|
||||
<td class="fl_by">
|
||||
<div>
|
||||
<!--{if is_array($group['lastpost'])}-->
|
||||
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<!--{else}-->
|
||||
{lang never}
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $threadmodcount}--><div class="bm"><div class="ntc_l hm xi2"><strong>{lang forum_moderate_unhandled}</strong></div></div><!--{/if}-->
|
||||
|
||||
<!--{if $livethread}-->
|
||||
<div id="livethread" class="tl bm bmw cl" style="padding:10px 15px;">
|
||||
<div class="livethreadtitle vm">
|
||||
<span class="replynumber xg1">{lang reply} <span id="livereplies" class="xi1">$livethread[replies]</span></span>
|
||||
<a href="forum.php?mod=viewthread&tid=$livethread[tid]" target="_blank">$livethread[subject]</a> <img src="{IMGDIR}/livethreadtitle.png" />
|
||||
</div>
|
||||
<div class="livethreadcon">$livemessage</div>
|
||||
<div id="livereplycontentout">
|
||||
<div id="livereplycontent">
|
||||
</div>
|
||||
</div>
|
||||
<div id="liverefresh">{lang forum_live_newreply_refresh}</div>
|
||||
<div id="livefastreply">
|
||||
<form id="livereplypostform" method="post" action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$livethread[tid]&replysubmit=yes&infloat=yes&handlekey=livereplypost&inajax=1" onsubmit="return livereplypostvalidate(this)">
|
||||
<div id="livefastcomment">
|
||||
<textarea id="livereplymessage" name="message" style="color:gray;<!--{if !$liveallowpostreply}-->display:none;<!--{/if}-->">{lang forum_live_fastreply_notice}</textarea>
|
||||
<!--{if !$liveallowpostreply}-->
|
||||
<div>
|
||||
<!--{if !$_G[uid]}-->
|
||||
{lang login_to_reply} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a>
|
||||
<!--{else}-->
|
||||
{lang no_permission_to_post}<a href="javascript:;" onclick="ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));" class="xi2">{lang click_to_show_reason}</a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div id="livepostsubmit" style="display:none;">
|
||||
<!--{if $secqaacheck || $seccodecheck}-->
|
||||
<!--{block sectpl}--><sec> <span id="sec<hash>" onclick="showMenu(this.id)"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div><!--{/block}-->
|
||||
<div class="mtm sec" style="text-align:right;"><!--{subtemplate common/seccheck}--></div>
|
||||
<!--{/if}-->
|
||||
<p class="ptm pnpost" style="margin-bottom:10px;">
|
||||
<button type="submit" name="replysubmit" class="pn pnc vm" style="float:right;" value="replysubmit" id="livereplysubmit">
|
||||
<strong>{lang forum_live_post}</strong>
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<input type="hidden" name="subject" value=" ">
|
||||
</form>
|
||||
</div>
|
||||
<span id="livereplypostreturn"></span>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var postminchars = parseInt('$_G['setting']['minpostsize']');
|
||||
var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
|
||||
var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
|
||||
var replycontentlist = new Array();
|
||||
var addreplylist = new Array();
|
||||
var timeoutid = timeid = movescrollid = waitescrollid = null;
|
||||
var replycontentnum = 0;
|
||||
getnewlivepostlist(1);
|
||||
timeid = setInterval(getnewlivepostlist, 5000);
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
$('livereplycontent').style.width = ($('livereplycontentout').clientWidth - 50) + 'px';
|
||||
$('livereplymessage').onfocus = function() {
|
||||
if(this.style.color == 'gray') {
|
||||
this.value = '';
|
||||
this.style.color = 'black';
|
||||
$('livepostsubmit').style.display = 'block';
|
||||
this.style.height = '56px';
|
||||
$('livefastcomment').style.height = '57px';
|
||||
}
|
||||
};
|
||||
$('livereplymessage').onblur = function() {
|
||||
if(this.value == '') {
|
||||
this.style.color = 'gray';
|
||||
this.value = '{lang forum_live_fastreply_notice}';
|
||||
}
|
||||
};
|
||||
|
||||
$('liverefresh').onclick = function() {
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
getnewlivepostlist();
|
||||
this.style.display = 'none';
|
||||
};
|
||||
|
||||
$('livereplycontentout').onmouseover = function(e) {
|
||||
|
||||
if($('livereplycontent').style.position == 'absolute' && $('livereplycontent').clientHeight > 215) {
|
||||
$('livereplycontent').style.position = 'static';
|
||||
this.scrollTop = this.scrollHeight;
|
||||
}
|
||||
|
||||
if(this.scrollTop + this.clientHeight != this.scrollHeight) {
|
||||
clearInterval(timeid);
|
||||
clearTimeout(timeoutid);
|
||||
clearInterval(movescrollid);
|
||||
timeid = timeoutid = movescrollid = null;
|
||||
|
||||
if(waitescrollid == null) {
|
||||
waitescrollid = setTimeout(function() {
|
||||
$('liverefresh').style.display = 'block';
|
||||
}, 60000 * 10);
|
||||
}
|
||||
} else {
|
||||
clearTimeout(waitescrollid);
|
||||
waitescrollid = null;
|
||||
}
|
||||
};
|
||||
|
||||
$('livereplycontentout').onmouseout = function(e) {
|
||||
if(this.scrollTop + this.clientHeight == this.scrollHeight) {
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
clearInterval(timeid);
|
||||
timeid = setInterval(getnewlivepostlist, 10000);
|
||||
}
|
||||
};
|
||||
|
||||
function getnewlivepostlist(first) {
|
||||
var x = new Ajax('JSON');
|
||||
x.getJSON('forum.php?mod=misc&action=livelastpost&fid=$livethread[fid]', function(s, x) {
|
||||
var count = s.data.count;
|
||||
$('livereplies').innerHTML = count;
|
||||
var newpostlist = s.data.list;
|
||||
for(i in newpostlist) {
|
||||
var postid = i;
|
||||
var postcontent = '';
|
||||
postcontent += newpostlist[i].authorid ? '<dt><a href="home.php?mod=space&uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].avatar + '</a></dt>' : '<dt></dt>';
|
||||
postcontent += newpostlist[i].authorid ? '<dd><a href="home.php?mod=space&uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].author + '</a></dd>' : '<dd>' + newpostlist[i].author + '</dd>';
|
||||
postcontent += '<dd>' + htmlspecialchars(newpostlist[i].message) + '</dd>';
|
||||
postcontent += '<dd class="dateline">' + newpostlist[i].dateline + '</dd>';
|
||||
if(replycontentlist[postid]) {
|
||||
$('livereply_' + postid).innerHTML = postcontent;
|
||||
continue;
|
||||
}
|
||||
addreplylist[postid] = '<dl id="livereply_' + postid + '">' + postcontent + '</dl>';
|
||||
}
|
||||
if(first) {
|
||||
for(i in addreplylist) {
|
||||
replycontentlist[i] = addreplylist[i];
|
||||
replycontentnum++;
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = addreplylist[i];
|
||||
$('livereplycontent').appendChild(div);
|
||||
delete addreplylist[i];
|
||||
}
|
||||
} else {
|
||||
livecontentfacemove();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function livecontentfacemove() {
|
||||
//note <20>Ӷ<EFBFBD><D3B6><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
var reply = '';
|
||||
for(i in addreplylist) {
|
||||
reply = replycontentlist[i] = addreplylist[i];
|
||||
replycontentnum++;
|
||||
delete addreplylist[i];
|
||||
break;
|
||||
}
|
||||
if(reply) {
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = reply;
|
||||
var oldclientHeight = $('livereplycontent').clientHeight;
|
||||
$('livereplycontent').appendChild(div);
|
||||
$('livereplycontentout').style.overflowY = 'hidden';
|
||||
$('livereplycontent').style.bottom = oldclientHeight - $('livereplycontent').clientHeight + 'px';
|
||||
|
||||
if(replycontentnum > 20) {
|
||||
$('livereplycontent').removeChild($('livereplycontent').firstChild);
|
||||
for(i in replycontentlist) {
|
||||
delete replycontentlist[i];
|
||||
break;
|
||||
}
|
||||
replycontentnum--;
|
||||
}
|
||||
|
||||
if(!movescrollid) {
|
||||
movescrollid = setInterval(function() {
|
||||
if(parseInt($('livereplycontent').style.bottom) < 0) {
|
||||
$('livereplycontent').style.bottom =
|
||||
((parseInt($('livereplycontent').style.bottom) + 5) > 0 ? 0 : (parseInt($('livereplycontent').style.bottom) + 5)) + 'px';
|
||||
} else {
|
||||
$('livereplycontentout').style.overflowY = 'auto';
|
||||
clearInterval(movescrollid);
|
||||
movescrollid = null;
|
||||
timeoutid = setTimeout(livecontentfacemove, 1000);
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function livereplypostvalidate(theform) {
|
||||
var s;
|
||||
if(theform.message.value == '' || $('livereplymessage').style.color == 'gray') {
|
||||
s = '{lang forum_live_nocontent_error}';
|
||||
}
|
||||
if(!disablepostctrl && ((postminchars != 0 && mb_strlen(theform.message.value) < postminchars) || (postmaxchars != 0 && mb_strlen(theform.message.value) > postmaxchars))) {
|
||||
s = {lang forum_live_nolength_error};
|
||||
}
|
||||
if(s) {
|
||||
showError(s);
|
||||
doane();
|
||||
$('livereplysubmit').disabled = false;
|
||||
return false;
|
||||
}
|
||||
$('livereplysubmit').disabled = true;
|
||||
theform.message.value = theform.message.value.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, '$1[img]$2[/img]');
|
||||
theform.message.value = parseurl(theform.message.value);
|
||||
ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));
|
||||
return false;
|
||||
}
|
||||
|
||||
function succeedhandle_livereplypost(url, msg, param) {
|
||||
$('livereplymessage').value = '';
|
||||
$('livereplycontent').style.position = 'absolute';
|
||||
if(param['sechash']) {
|
||||
updatesecqaa(param['sechash']);
|
||||
updateseccode(param['sechash']);
|
||||
}
|
||||
getnewlivepostlist();
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<div id="pgt" class="bm bw0 pgs cl">
|
||||
<span id="fd_page_top">$multipage</span>
|
||||
<span class="pgb y" {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if} ><a href="forum.php">{lang return_index}</a></span>
|
||||
<!--{if !$_GET['archiveid']}--><a href="javascript:;" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}"><div class="postbtn">+ {lang send_posts}</div></a><!--{/if}-->
|
||||
<!--{hook/forumdisplay_postbutton_top}-->
|
||||
</div>
|
||||
<!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || count($_G['forum']['threadsorts']['types']) > 0}-->
|
||||
<ul id="thread_types" class="ttp bm cl">
|
||||
<!--{hook/forumdisplay_threadtype_inner}-->
|
||||
<li id="ttp_all" {if !$_GET['typeid'] && !$_GET['sortid']}class="xw1 a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang forum_viewall}</a></li>
|
||||
<!--{if $_G['forum']['threadtypes']}-->
|
||||
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
|
||||
<!--{if $_GET['typeid'] == $id}-->
|
||||
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['sortid']}&filter=sortid&sortid=$_GET['sortid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{else}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G['forum']['threadsorts']}-->
|
||||
<!--{if $_G['forum']['threadtypes']}--><li><span class="pipe">|</span></li><!--{/if}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
|
||||
<!--{if $_GET['sortid'] == $id}-->
|
||||
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['typeid']}&filter=typeid&typeid=$_GET['typeid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{else}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_filter_extra}-->
|
||||
</ul>
|
||||
<script type="text/javascript">showTypes('thread_types');</script>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_threadtype_extra}-->
|
||||
<!--{if empty($_G['forum']['sortmode'])}-->
|
||||
<!--{subtemplate forum/forumdisplay_list}-->
|
||||
<!--{else}-->
|
||||
<!--{subtemplate forum/forumdisplay_sort}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
|
||||
<!--{if $fastpost}-->
|
||||
<!--{template forum/forumdisplay_fastpost}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/forumdisplay_bottom}-->
|
||||
<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
|
||||
<!--{if $_G['forum']['allowside']}-->
|
||||
<div class="sd">
|
||||
<!--{hook/forumdisplay_side_top}-->
|
||||
<!--{if !$subforumonly}-->
|
||||
<div class="bm">
|
||||
<div class="bm_h">
|
||||
<h2>{lang their}: <!--{eval echo cutstr($_G['cache']['forums'][$_G['forum']['fup']]['name'], 22, '')}--></h2>
|
||||
</div>
|
||||
<div class="bm_c">
|
||||
<ul class="xl xl2 cl">
|
||||
<!--{loop $_G['cache']['forums'] $bforum}-->
|
||||
<!--{if $bforum['fup'] == $_G['forum']['fup'] && $bforum['status']}-->
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$bforum[fid]">$bforum['name']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{if $recommendgroups}-->
|
||||
<div class="bm">
|
||||
<div class="bm_h cl">
|
||||
<h2>{lang recommended_groups}</h2>
|
||||
</div>
|
||||
<div class="bm_c cl">
|
||||
<ul class="ml mls cl">
|
||||
<!--{loop $recommendgroups $key $group}-->
|
||||
<li>
|
||||
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank" class="avt"><img src="$group[icon]" alt="$group[name]"></a>
|
||||
<p><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a></p>
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !($_G['forum']['simple'] & 1) && $_G[setting][whosonlinestatus]}-->
|
||||
<div class="bm">
|
||||
<!--{if $detailstatus}-->
|
||||
<div class="bm_h cl">
|
||||
<span class="o y"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" alt="" /></a></span>
|
||||
<h2>{lang forum_activeusers} ($onlinenum)</h2>
|
||||
</div>
|
||||
<div class="bm_c">
|
||||
<ul class="ml mls cl">
|
||||
<!--{loop $whosonline $key $online}-->
|
||||
<li>
|
||||
<a href="home.php?mod=space&uid=$online[uid]" class="avt"><!--{avatar($online[uid],small)}--></a>
|
||||
<!--{if $online['uid']}-->
|
||||
<p><a href="home.php?mod=space&uid=$online[uid]">$online[username]</a></p>
|
||||
<!--{else}-->
|
||||
<p>$online[username]</p>
|
||||
<!--{/if}-->
|
||||
<span>$online[lastactivity]{LF}</span>
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div class="bm_h cl">
|
||||
<span class="o y"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=yes#online" class="nobdr"><img src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span>
|
||||
<h2>{lang forum_activeusers} ($onlinenum)</h2>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<div class="drag">
|
||||
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{hook/forumdisplay_side_bottom}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
|
||||
<ul class="p_pop" id="newspecial_menu" style="display: none">
|
||||
<!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
|
||||
<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
|
||||
<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
|
||||
<li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id">$threadsorts</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
|
||||
<!--{if $_G['setting']['threadplugins']}-->
|
||||
<!--{loop $_G['forum']['threadplugin'] $tpid}-->
|
||||
<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
|
||||
<li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G[setting][threadplugins][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G[setting][threadplugins][$tpid][name]}</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G['setting']['visitedforums'] && $_G['forum']['status'] != 3}-->
|
||||
<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td id="v_forums">
|
||||
<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
|
||||
<ul class="xl xl1">
|
||||
$_G['setting']['visitedforums']
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly}-->
|
||||
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}', $page);}</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && empty($_GET['filter']) }-->
|
||||
<script type="text/javascript">checkForumnew_handle = setTimeout(function () {checkForumnew($_G[fid], lasttime);}, checkForumtimeout);</script>
|
||||
<!--{/if}-->
|
||||
<div class="wp mtn">
|
||||
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{if empty($_G['setting']['disfixednv_forumdisplay']) }--><script>fixed_top_nv();</script><!--{/if}-->
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
163
template/ahome_common/forum/forumdisplay_fastpost.htm
Normal file
163
template/ahome_common/forum/forumdisplay_fastpost.htm
Normal file
@@ -0,0 +1,163 @@
|
||||
<script type="text/javascript">
|
||||
var postminchars = parseInt('$_G['setting']['minpostsize']');
|
||||
var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
|
||||
var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
|
||||
var fid = parseInt('$_G[fid]');
|
||||
</script>
|
||||
<div id="f_pst" class="bm" style="background:#FAFAFA;">
|
||||
<div class="bm_c">
|
||||
<form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&action=newthread&fid=$_G[fid]&topicsubmit=yes&infloat=yes&handlekey=fastnewpost" onSubmit="return fastpostvalidate(this)">
|
||||
<!--{hook/forumdisplay_fastpost_content}-->
|
||||
|
||||
<div id="fastpostreturn" style="margin:-5px 0 5px"></div>
|
||||
<h2 style="margin-bottom:20px;font-size:16px;">{lang quick_post}</h2>
|
||||
<div class="pbt cl">
|
||||
<!--{if $_G['forum'][threadtypes][types]}-->
|
||||
<div class="ftid">
|
||||
<select name="typeid" id="typeid_fast" width="80">
|
||||
<option value="0" selected="selected">{lang select_thread_catgory}</option>
|
||||
<!--{loop $_G['forum'][threadtypes][types] $typeid $name}-->
|
||||
<!--{if empty($_G['forum']['threadtypes']['moderators'][$typeid]) || $_G['forum']['ismoderator']}-->
|
||||
<option value="$typeid"><!--{echo strip_tags($name);}--></option>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</select>
|
||||
</div>
|
||||
<script type="text/javascript" reload="1">simulateSelect('typeid_fast');</script>
|
||||
<!--{/if}-->
|
||||
<input type="text" id="subject" name="subject" class="px" value="" onkeyup="strLenCalc(this, 'checklen', 80);" tabindex="11" style="width: 25em" />
|
||||
<span id="checklen">{lang comment_message1} <strong>80</strong> {lang comment_message2}</span>
|
||||
</div>
|
||||
|
||||
<div class="cl">
|
||||
<!--{if $_G[setting][fastsmilies]}--><div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><!--{/if}-->
|
||||
<div{if $_G[setting][fastsmilies]} class="hasfsl"{/if} id="fastposteditor">
|
||||
<div class="tedt">
|
||||
<div class="bar">
|
||||
<span class="y">
|
||||
<!--{hook/forumdisplay_fastpost_func_extra}-->
|
||||
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" onclick="switchAdvanceMode(this.href);doane(event);">{lang post_advancemode}</a>
|
||||
</span>
|
||||
<!--{eval $seditor = array('fastpost', array('at', 'bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'), !$allowfastpost ? 1 : 0, $allowpostattach && $allowfastpost ? '<span class="pipe z">|</span><span id="spanButtonPlaceholder">'.lang('template', 'upload').'</span>' : '');}-->
|
||||
<!--{hook/forumdisplay_fastpost_ctrl_extra}-->
|
||||
<!--{subtemplate common/seditor}-->
|
||||
</div>
|
||||
<div class="area">
|
||||
<!--{if $allowfastpost}-->
|
||||
<textarea rows="6" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, '$(\'fastpostsubmit\').click()');" tabindex="12" class="pt"{eval echo getreplybg($_G['forum']['replybg']);}></textarea>
|
||||
<!--{else}-->
|
||||
<div class="pt hm">
|
||||
<!--{if !$_G['uid']}-->
|
||||
<!--{if !$_G['connectguest']}-->
|
||||
{lang login_to_post} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a>
|
||||
<!--{else}-->
|
||||
{lang connect_fill_profile_to_post}
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
{lang no_permission_to_post}<a href="javascript:;" onclick="$('newspecial').onclick()" class="xi2">{lang click_to_show_reason}</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/global_login_text}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="seccheck_fastpost">
|
||||
<!--{if $fastpost && ($secqaacheck || $seccodecheck)}-->
|
||||
<!--{subtemplate forum/seccheck_post}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="usesig" value="$usesigcheck" />
|
||||
</div>
|
||||
|
||||
<!--{if $allowpostattach}-->
|
||||
<script type="text/javascript">
|
||||
var editorid = '';
|
||||
var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
|
||||
</script>
|
||||
|
||||
<input type="hidden" name="posttime" id="posttime" value="{TIMESTAMP}" />
|
||||
<div class="upfl{if empty($_GET[from]) && $_G[setting][fastsmilies]} hasfsl{/if}">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="attach_tblheader" style="display: none">
|
||||
<tr>
|
||||
<td>{lang e_attach_insert}</td>
|
||||
<td class="atds">{lang description}</td>
|
||||
<!--{if $_G['group']['allowsetattachperm']}-->
|
||||
<td class="attv">
|
||||
{lang readperm}
|
||||
<img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="{lang post_select_usergroup_readacces}" />
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['maxprice']}--><td class="attpr">{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</td><!--{/if}-->
|
||||
<td class="attc"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="fieldset flash" id="attachlist"></div>
|
||||
<!--{if empty($_G['setting']['pluginhooks']['forumdisplay_fastpost_upload_extend'])}-->
|
||||
<!--{subtemplate common/upload}-->
|
||||
<script type="text/javascript">
|
||||
var upload = new SWFUpload({
|
||||
upload_url: "{$_G[siteurl]}misc.php?mod=swfupload&action=swfupload&operation=upload&fid=$_G[fid]",
|
||||
post_params: {"uid" : "$_G[uid]", "hash":"$swfconfig[hash]"},
|
||||
file_size_limit : "$swfconfig[max]",
|
||||
file_types : "$swfconfig[attachexts][ext]",
|
||||
file_types_description : "$swfconfig[attachexts][depict]",
|
||||
file_upload_limit : $swfconfig['limit'],
|
||||
file_queue_limit : 0,
|
||||
swfupload_preload_handler : preLoad,
|
||||
swfupload_load_failed_handler : loadFailed,
|
||||
file_dialog_start_handler : fileDialogStart,
|
||||
file_queued_handler : fileQueued,
|
||||
file_queue_error_handler : fileQueueError,
|
||||
file_dialog_complete_handler : fileDialogComplete,
|
||||
upload_start_handler : uploadStart,
|
||||
upload_progress_handler : uploadProgress,
|
||||
upload_error_handler : uploadError,
|
||||
upload_success_handler : uploadSuccess,
|
||||
upload_complete_handler : uploadComplete,
|
||||
button_image_url : "{IMGDIR}/uploadbutton_small.png",
|
||||
button_placeholder_id : "spanButtonPlaceholder",
|
||||
button_width: 17,
|
||||
button_height: 25,
|
||||
button_cursor:SWFUpload.CURSOR.HAND,
|
||||
button_window_mode: "transparent",
|
||||
custom_settings : {
|
||||
progressTarget : "attachlist",
|
||||
uploadSource: 'forum',
|
||||
uploadType: 'attach',
|
||||
<!--{if $swfconfig['maxsizeperday']}-->
|
||||
maxSizePerDay: $swfconfig['maxsizeperday'],
|
||||
<!--{/if}-->
|
||||
<!--{if $swfconfig['maxattachnum']}-->
|
||||
maxAttachNum: $swfconfig['maxattachnum'],
|
||||
<!--{/if}-->
|
||||
uploadFrom: 'fastpost'
|
||||
},
|
||||
debug: false
|
||||
});
|
||||
</script>
|
||||
<!--{else}-->
|
||||
<!--{hook/forumdisplay_fastpost_upload_extend}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<p class="ptm pnpost">
|
||||
<a href="home.php?mod=spacecp&ac=credit&op=rule&fid=$_G[fid]" class="y" target="_blank">{lang post_credits_rule}</a>
|
||||
<button {if $fastpost}type="submit" {elseif !$_G['uid']}type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" {/if}{if !$seccodecheck && !$secqaacheck}onmouseover="checkpostrule('seccheck_fastpost', 'ac=newthread');this.onmouseover=null" {/if}name="topicsubmit" id="fastpostsubmit" value="topicsubmit" tabindex="13" class="pn pnc"><strong>{lang post_newthread}</strong></button>
|
||||
<!--{hook/forumdisplay_fastpost_btn_extra}-->
|
||||
<!--{if !empty($_G['setting']['pluginhooks']['forumdisplay_fastpost_sync_method'])}-->
|
||||
<span>
|
||||
{lang post_sync_method}:
|
||||
<!--{hook/forumdisplay_fastpost_sync_method}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<!--{if helper_access::check_module('follow')}-->
|
||||
<label><input type="checkbox" name="adddynamic" class="pc" value="1" {if $_G['forum']['allowfeed'] && !$_G[tid] && empty($_G['forum']['viewperm'])}checked="checked"{/if} />{lang post_relay}</label>
|
||||
<!--{/if}-->
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
489
template/ahome_common/forum/forumdisplay_list.htm
Normal file
489
template/ahome_common/forum/forumdisplay_list.htm
Normal file
@@ -0,0 +1,489 @@
|
||||
<div id="threadlist" class="tl bm bmw"{if $_G['uid']} style="position: relative;"{/if}>
|
||||
|
||||
<!--{if $quicksearchlist && !$_GET['archiveid']}-->
|
||||
<!--{subtemplate forum/search_sortoption}-->
|
||||
<!--{/if}-->
|
||||
<div class="th">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}3{else}2{/if}">
|
||||
<!--{if CURMODULE != 'guide'}-->
|
||||
<div class="tf">
|
||||
<span id="atarget" {if $_G['cookie']['atarget'] > 0}onclick="setatarget(-1)" class="y atarget_1"{else}onclick="setatarget(1)" class="y"{/if} title="{lang new_window_thread}">{lang new_window}</span>
|
||||
<!--{if $_GET['specialtype'] == 'reward'}-->
|
||||
<a id="filter_reward" href="javascript:;" class="showmenu xi2{if $_GET['rewardtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['rewardtype'] == ''}-->{lang all_reward}<!--{elseif $_GET['rewardtype'] == '1'}-->{lang rewarding}<!--{elseif $_GET['rewardtype'] == '2'}-->{lang reward_solved}<!--{/if}--></a>
|
||||
<!--{/if}-->
|
||||
<a id="filter_special" href="javascript:;" class="showmenu xi2{if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['specialtype'] == 'poll'}-->{lang thread_poll}<!--{elseif $_GET['specialtype'] == 'trade'}-->{lang thread_trade}<!--{elseif $_GET['specialtype'] == 'reward'}-->{lang thread_reward}<!--{elseif $_GET['specialtype'] == 'activity'}-->{lang thread_activity}<!--{elseif $_GET['specialtype'] == 'debate'}-->{lang thread_debate}<!--{else}-->{lang threads_all}<!--{/if}--></a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'lastpost'} xw1{/if}">{lang latest}</a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'heat'} xw1{/if}">{lang order_heats}</a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=hot" class="xi2{if $_GET['filter'] == 'hot'} xw1{/if}">{lang hot_thread}</a>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'digest'} xw1{/if}">{lang digest_posts}</a>
|
||||
<a id="filter_dateline" href="javascript:;" class="showmenu xi2{if $_GET['dateline']} xw1{/if}" onclick="showMenu(this.id)">{lang more}</a>
|
||||
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']}-->
|
||||
<a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh"></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_GET['filter'] == 'hot'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}calendar.js?{VERHASH}"></script>
|
||||
<span>$ctime</span>
|
||||
<img src="{IMGDIR}/date_magnify.png" class="cur1" alt="" id="hottime" value="$ctime" fid="$_G[fid]" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<span id="clearstickthread" style="display: none;">
|
||||
<span class="pipe">|</span>
|
||||
<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="{lang showdisplayorder}">{lang showdisplayorder}</a>
|
||||
</span>
|
||||
<!--{hook/forumdisplay_filter_extra}-->
|
||||
</div>
|
||||
<!--{else}-->
|
||||
{lang title}
|
||||
<!--{/if}-->
|
||||
</th>
|
||||
<!--{if empty($_G['forum']['picstyle'])}-->
|
||||
<!--{if CURMODULE == 'guide'}-->
|
||||
<td class="by">{lang forum_group}</td>
|
||||
<!--{/if}-->
|
||||
<td class="by" style="width:170px !important">{lang author}</td>
|
||||
<td class="num" style="width:80px !important">{lang replies}</td>
|
||||
<td class="by">{lang lastpost}</td>
|
||||
<!--{else}-->
|
||||
<td class="by" colspan="3">
|
||||
<a{if empty($_G['cookie']['forumdefstyle'])} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=yes" class="chked"{else} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=no" class="unchk"{/if} title="{lang view_thread_imagemode}{lang view_thread}">{lang view_thread_imagemode}</a>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="bm_c">
|
||||
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
|
||||
<script type="text/javascript">var lasttime = $_G['timestamp'];var listcolspan= '{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}';</script>
|
||||
<!--{/if}-->
|
||||
<div id="forumnew" style="display:none"></div>
|
||||
<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$_G[fid]&infloat=yes&nopost=yes">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="listextra" value="$extra" />
|
||||
<table summary="forum_$_G[fid]" cellspacing="0" cellpadding="0" id="threadlisttableid">
|
||||
<!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
|
||||
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td class="o"> </td><!--{/if}-->
|
||||
<th><span class="xst">{lang announcement}: <!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a><!--{else}--><a href="$announcement[message]" target="_blank">$announcement[subject]</a><!--{/if}--></span></th>
|
||||
<td class="by" style="width:170px !important;">
|
||||
<div class="listavat">{echo avatar($thread[authorid],'small');}</div>
|
||||
<cite><a href="home.php?mod=space&uid=$announcement[authorid]" c="1">$announcement[author]</a></cite>
|
||||
<em>$announcement[starttime]</em>
|
||||
</td>
|
||||
<td class="num" style="width:80px !important"> </td>
|
||||
<td class="by"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$separatepos || !$_G['setting']['forumseparator']}-->
|
||||
<tbody id="separatorline" class="emptb"><tr><td class="icn"></td><!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td class="o"></td><!--{/if}--><th></th><td class="by" style="width:170px !important;"></td><td class="num" style="width:80px !important"></td><td class="by"></td></tr></tbody>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_threadcount']}-->
|
||||
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
|
||||
<!--{loop $_G['forum_threadlist'] $key $thread}-->
|
||||
<!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
|
||||
<tbody id="separatorline">
|
||||
<tr class="ts">
|
||||
<td> </td>
|
||||
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}--><td> </td><!--{/if}-->
|
||||
<th><!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && !$_GET['filter']}--><a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh">{lang forum_thread}</a><!--{else}--> <!--{/if}--></th><td> </td><td> </td><td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<script type="text/javascript">hideStickThread();</script>
|
||||
<!--{/if}-->
|
||||
<!--{if $separatepos <= $key + 1}-->
|
||||
<!--{ad/threadlist}-->
|
||||
<!--{/if}-->
|
||||
<tbody id="$thread[id]"{if $_G['hiddenexists'] && $thread['hidden']} style='display:none'{/if}>
|
||||
<tr>
|
||||
|
||||
<td class="icn">
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1} - {/if}
|
||||
{if $thread['displayorder'] == 2}{lang thread_type2} - {/if}
|
||||
{if $thread['displayorder'] == 3}{lang thread_type3} - {/if}
|
||||
{if $thread['displayorder'] == 4}{lang thread_type4} - {/if}
|
||||
{if $thread[folder] == 'lock'}{lang closed_thread} - {/if}
|
||||
{if $thread['special'] == 1}{lang thread_poll} - {/if}
|
||||
{if $thread['special'] == 2}{lang thread_trade} - {/if}
|
||||
{if $thread['special'] == 3}{lang thread_reward} - {/if}
|
||||
{if $thread['special'] == 4}{lang thread_activity} - {/if}
|
||||
{if $thread['special'] == 5}{lang thread_debate} - {/if}
|
||||
{if $thread[folder] == "new"}{lang have_newreplies} - {/if}
|
||||
{lang target_blank}" target="_blank">
|
||||
<!--{if $thread[folder] == 'lock'}-->
|
||||
<img src="{IMGDIR}/folder_lock.gif" />
|
||||
<!--{elseif $thread['special'] == 1}-->
|
||||
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
|
||||
<!--{elseif $thread['special'] == 2}-->
|
||||
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
|
||||
<!--{elseif $thread['special'] == 3}-->
|
||||
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
|
||||
<!--{elseif $thread['special'] == 4}-->
|
||||
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
|
||||
<!--{elseif $thread['special'] == 5}-->
|
||||
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
|
||||
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
|
||||
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
|
||||
<!--{else}-->
|
||||
<img src="{IMGDIR}/folder_$thread[folder].gif" />
|
||||
<!--{/if}-->
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
|
||||
<td class="o">
|
||||
<!--{if $thread['fid'] == $_G[fid]}-->
|
||||
<!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
|
||||
<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
|
||||
<th>
|
||||
<a href="javascript:;" id="content_$thread[tid]" class="showcontent y" title="{lang content_actions}" onclick="CONTENT_TID='$thread[tid]';CONTENT_ID='$thread[id]';showMenu({'ctrlid':this.id,'menuid':'content_menu'})"></a>
|
||||
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
|
||||
<a href="javascript:void(0);" onclick="hideStickThread('$thread[tid]')" class="showhide y" title="{lang hidedisplayorder}">{lang hidedisplayorder}</a></em>
|
||||
<!--{/if}-->
|
||||
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<!--{if !$_G['setting']['forumdisplaythreadpreview'] && !($thread['readperm'] && $thread['readperm'] > $_G['group']['readaccess'] && !$_G['forum']['ismoderator'] && $thread['authorid'] != $_G['uid'])}-->
|
||||
<!--{if !(!empty($_G['setting']['antitheft']['allow']) && empty($_G['setting']['antitheft']['disable']['thread']) && empty($_G['forum']['noantitheft']))}-->
|
||||
<a class="tdpre y" href="javascript:void(0);" onclick="previewThread('{echo $thread['moved'] ? $thread[closed] : $thread[tid]}', '$thread[id]');">{lang preview}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_thread $key}-->
|
||||
$thread[typehtml] $thread[sorthtml]
|
||||
<!--{if $thread['moved']}-->
|
||||
{lang thread_moved}:<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="s xst">$thread[subject]</a>
|
||||
<!--{if $_G['setting']['threadhidethreshold'] && $thread['hidden'] >= $_G['setting']['threadhidethreshold']}--><span class="xg1">{lang hidden}</span> <!--{/if}-->
|
||||
<!--{if $thread[icon] >= 0}-->
|
||||
<img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['rushreply']}-->
|
||||
<img src="{IMGDIR}/rushreply_s.png" alt="{lang rushreply}" align="absmiddle" />
|
||||
<!--{if $rushinfo[$thread[tid]]}-->
|
||||
<span id="rushtimer_$thread[tid]"> {lang havemore_special} <span id="rushtimer_body_$thread[tid]"></span> <script language="javascript">settimer($rushinfo[$thread[tid]]['timer'], 'rushtimer_body_$thread[tid]');</script>{if $rushinfo[$thread[tid]]['timertype'] == 'start'} {lang header_start} {else} {lang over} {/if} {lang right_special}</span>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread[tid]]<!--{/if}-->
|
||||
<!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
|
||||
<!--{if $thread['price'] > 0}-->
|
||||
<!--{if $thread['special'] == '3'}-->
|
||||
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1" title="{lang show_rewarding_only}"><span class="xi1">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span></a>
|
||||
<!--{else}-->
|
||||
- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
|
||||
<!--{/if}-->
|
||||
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
|
||||
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2" title="{lang show_rewarded_only}">[{lang reward_solved}]</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['attachment'] == 2}-->
|
||||
<img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
|
||||
<!--{elseif $thread['attachment'] == 1}-->
|
||||
<img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['mobile']}-->
|
||||
<img src="{IMGDIR}/mobile-attach-$thread['mobile'].png" alt="{lang post_mobile}" align="absmiddle" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
|
||||
<img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['displayorder'] == 0}-->
|
||||
<!--{if $thread[recommendicon] && $filter != 'recommend'}-->
|
||||
<img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread[heatlevel]}-->
|
||||
<img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="{lang heats}: {$thread[heats]}" />
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['rate'] > 0}-->
|
||||
<img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
|
||||
<!--{elseif $thread['rate'] < 0}-->
|
||||
<img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['replycredit'] > 0}-->
|
||||
- <span class="xi1">[{lang replycredit} <strong> $thread['replycredit']</strong> ]</span>
|
||||
<!--{/if}-->
|
||||
<!--{hook/forumdisplay_thread_subject $key}-->
|
||||
<!--{if $thread[multipage]}-->
|
||||
<span class="tps">$thread[multipage]</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $thread['weeknew']}-->
|
||||
<a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1">New</a>
|
||||
<!--{/if}-->
|
||||
<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $groupnames[$thread[tid]]}-->
|
||||
<span class="fromg xg1"> [{lang from}: <a href="forum.php?mod=forumdisplay&fid={$groupnames[$thread[tid]][fid]}" target="_blank" class="xg1">{$groupnames[$thread[tid]][name]}</a>]</span>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</th>
|
||||
<!--{if CURMODULE == 'guide'}-->
|
||||
<td class="by" ><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank">$forumnames[$thread[fid]]['name']</a></td>
|
||||
<!--{/if}-->
|
||||
|
||||
<td class="by" style="width:170px;">
|
||||
<!--{hook/forumdisplay_author $key}-->
|
||||
<cite>
|
||||
<!--{if $thread['authorid'] && $thread['author']}-->
|
||||
<div class="listavat" >
|
||||
{echo avatar($thread[authorid],'small');}
|
||||
</div>
|
||||
<a href="home.php?mod=space&uid=$thread[authorid]" c="1"{if $groupcolor[$thread[authorid]]} style="color: $groupcolor[$thread[authorid]];"{/if}>$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<div class="listavat">
|
||||
{echo avatar(0,'small');}
|
||||
</div>
|
||||
$_G[setting][anonymoustext]
|
||||
<!--{/if}-->
|
||||
</cite>
|
||||
<em><span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
|
||||
</td>
|
||||
|
||||
<td class="num" style="width:80px;"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[allreplies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em></td>
|
||||
<td class="by">
|
||||
<cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
|
||||
<em><a href="{if $thread[digest] != -2 && !$thread[ordertype]}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]{if !$thread[ordertype]}&page={echo max(1, $thread[pages]);}{/if}{/if}">$thread[lastpost]</a></em>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--{/loop}-->
|
||||
</table><!-- end of table "forum_G[fid]" branch 1/3 -->
|
||||
<!--{if $_G['hiddenexists']}-->
|
||||
<div id="hiddenthread"{if $thread['hidden']} class="last"{/if}><a href="javascript:;" onclick="display_blocked_thread()">{lang other_reply_hide}</a></div>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
</table><!-- end of table "forum_G[fid]" branch 2/3 -->
|
||||
<ul id="waterfall" class="ml waterfall cl">
|
||||
<!--{loop $_G['forum_threadlist'] $key $thread}-->
|
||||
<!--{if $_G['hiddenexists'] && $thread['hidden']}-->
|
||||
<!--{eval continue;}-->
|
||||
<!--{/if}-->
|
||||
<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
|
||||
<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
|
||||
<!--{eval $thread[tid]=$thread[closed];}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{eval $waterfallwidth = $_G[setting][forumpicstyle][thumbwidth] + 24; }-->
|
||||
<li style="width:{$waterfallwidth}px">
|
||||
<!--{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}-->
|
||||
<div style="position:absolute;margin:1px;padding:2px;background:#FFF">
|
||||
<!--{if $thread['fid'] == $_G[fid]}-->
|
||||
<!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
|
||||
<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<input type="checkbox" disabled="disabled" />
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="c cl">
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide'} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]" class="z">
|
||||
<!--{if $thread['cover']}-->
|
||||
<img src="$thread[coverpath]" alt="$thread[subject]" width="{$_G[setting][forumpicstyle][thumbwidth]}" />
|
||||
<!--{else}-->
|
||||
<span class="nopic" style="width:{$_G[setting][forumpicstyle][thumbwidth]}px; height:{$_G[setting][forumpicstyle][thumbwidth]}px;"></span>
|
||||
<!--{/if}-->
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="xw0">
|
||||
<!--{hook/forumdisplay_thread $key}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} title="$thread[subject]">$thread[subject]</a>
|
||||
</h3>
|
||||
<div class="auth cl">
|
||||
<cite class="xg1 y">
|
||||
{lang like}: <!--{if $thread[recommends]}-->$thread[recommends]<!--{else}-->0<!--{/if}-->
|
||||
{lang reply}: <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" title="$thread[replies] {lang reply}">$thread[replies]</a>
|
||||
</cite>
|
||||
<!--{hook/forumdisplay_author $key}-->
|
||||
<!--{if $thread['authorid'] && $thread['author']}-->
|
||||
<a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
|
||||
<!--{else}-->
|
||||
$_G[setting][anonymoustext]
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
<div id="tmppic" style="display: none;"></div>
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}redef.js?{VERHASH}"></script>
|
||||
<script type="text/javascript" reload="1">
|
||||
var wf = {};
|
||||
|
||||
_attachEvent(window, "load", function () {
|
||||
if($("waterfall")) {
|
||||
wf = waterfall();
|
||||
}
|
||||
|
||||
<!--{if $page < $_G['page_next'] && !$subforumonly}-->
|
||||
var page = $page + 1,
|
||||
maxpage = Math.min($page + 10,$maxpage + 1),
|
||||
stopload = 0,
|
||||
scrolltimer = null,
|
||||
tmpelems = [],
|
||||
tmpimgs = [],
|
||||
markloaded = [],
|
||||
imgsloaded = 0,
|
||||
loadready = 0,
|
||||
showready = 1,
|
||||
nxtpgurl = 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&page=',
|
||||
wfloading = "<img src=\"{IMGDIR}/loading.gif\" alt=\"\" width=\"16\" height=\"16\" class=\"vm\" /> {lang onloading}...",
|
||||
pgbtn = $("pgbtn").getElementsByTagName("a")[0];
|
||||
|
||||
function loadmore() {
|
||||
var url = nxtpgurl + page + '&t=' + parseInt((+new Date()/1000)/(Math.random()*1000));
|
||||
var x = new Ajax("HTML");
|
||||
x.get(url, function (s) {
|
||||
s = s.replace(/\n|\r/g, "");
|
||||
if(s.indexOf("id=\"pgbtn\"") == -1) {
|
||||
$("pgbtn").style.display = "none";
|
||||
stopload++;
|
||||
window.onscroll = null;
|
||||
}
|
||||
|
||||
s = s.substring(s.indexOf("<ul id=\"waterfall\""), s.indexOf("<div id=\"tmppic\""));
|
||||
s = s.replace("id=\"waterfall\"", "");
|
||||
$("tmppic").innerHTML = s;
|
||||
loadready = 1;
|
||||
});
|
||||
}
|
||||
|
||||
window.onscroll = function () {
|
||||
if(scrolltimer == null) {
|
||||
scrolltimer = setTimeout(function () {
|
||||
try {
|
||||
if(page < maxpage && stopload < 2 && showready && ((document.documentElement.scrollTop || document.body.scrollTop) + document.documentElement.clientHeight + 500) >= document.documentElement.scrollHeight) {
|
||||
pgbtn.innerHTML = wfloading;
|
||||
loadready = 0;
|
||||
showready = 0;
|
||||
loadmore();
|
||||
tmpelems = $("tmppic").getElementsByTagName("li");
|
||||
var waitingtimer = setInterval(function () {
|
||||
stopload >= 2 && clearInterval(waitingtimer);
|
||||
if(loadready && stopload < 2) {
|
||||
if(!tmpelems.length) {
|
||||
page++;
|
||||
pgbtn.href = nxtpgurl + Math.min(page, $maxpage);
|
||||
pgbtn.innerHTML = "{lang next_page_extra}";
|
||||
showready = 1;
|
||||
clearInterval(waitingtimer);
|
||||
}
|
||||
for(var i = 0, j = tmpelems.length; i < j; i++) {
|
||||
if(tmpelems[i]) {
|
||||
tmpimgs = tmpelems[i].getElementsByTagName("img");
|
||||
imgsloaded = 0;
|
||||
for(var m = 0, n = tmpimgs.length; m < n; m++) {
|
||||
tmpimgs[m].onerror = function () {
|
||||
this.style.display = "none";
|
||||
};
|
||||
markloaded[m] = tmpimgs[m].complete ? 1 : 0;
|
||||
imgsloaded += markloaded[m];
|
||||
}
|
||||
if(imgsloaded == tmpimgs.length) {
|
||||
$("waterfall").appendChild(tmpelems[i]);
|
||||
wf = waterfall({
|
||||
"index": wf.index,
|
||||
"totalwidth": wf.totalwidth,
|
||||
"totalheight": wf.totalheight,
|
||||
"columnsheight": wf.columnsheight
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 40);
|
||||
}
|
||||
} catch(e) {}
|
||||
scrolltimer = null;
|
||||
}, 320);
|
||||
}
|
||||
};
|
||||
<!--{/if}-->
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<tbody class="bw0_all"><tr><th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}"><p class="emp">{lang forum_nothreads}</p></th></tr></tbody>
|
||||
</table><!-- end of table "forum_G[fid]" branch 3/3 -->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum']['ismoderator'] && $_G['forum_threadcount']}-->
|
||||
<!--{template forum/topicadmin_modlayer}-->
|
||||
<!--{/if}-->
|
||||
</form>
|
||||
</div>
|
||||
<!--{hook/forumdisplay_threadlist_bottom}-->
|
||||
</div>
|
||||
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<div id="filter_special_menu" class="p_pop" style="display:none" change="location.href='forum.php?mod=forumdisplay&fid=$_G[fid]&filter='+$('filter_special').value">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all}{lang forum_threads}</a></li>
|
||||
<!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=poll$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_poll}</a></li><!--{/if}-->
|
||||
<!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=trade$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_trade}</a></li><!--{/if}-->
|
||||
<!--{if $showreward}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_reward}</a></li><!--{/if}-->
|
||||
<!--{if $showactivity}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=activity$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_activity}</a></li><!--{/if}-->
|
||||
<!--{if $showdebate}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=debate$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang thread_debate}</a></li><!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<div id="filter_reward_menu" class="p_pop" style="display:none" change="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype='+$('filter_reward').value">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang all_reward}</a></li>
|
||||
<!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1">{lang rewarding}</a></li><!--{/if}-->
|
||||
<!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2">{lang reward_solved}</a></li><!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<div id="filter_dateline_menu" class="p_pop" style="display:none">
|
||||
<ul class="pop_moremenu">
|
||||
<li>{lang orderby}:
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'dateline'}class="xw1"{/if}>{lang list_post_time}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'replies'}class="xw1"{/if}>{lang replies}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'views'}class="xw1"{/if}>{lang views}</a>
|
||||
</li>
|
||||
<li>{lang time}:
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if !$_GET['dateline']}class="xw1"{/if}>{lang all}{lang search_any_date}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=86400$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '86400'}class="xw1"{/if}>{lang last_1_days}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=172800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '172800'}class="xw1"{/if}>{lang last_2_days}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=604800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '604800'}class="xw1"{/if}>{lang list_one_week}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=2592000$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '2592000'}class="xw1"{/if}>{lang list_one_month}</a><span class="pipe">|</span>
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=7948800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '7948800'}class="xw1"{/if}>{lang list_three_month}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--{if !$_G['setting']['closeforumorderby']}-->
|
||||
<div id="filter_orderby_menu" class="p_pop" style="display:none">
|
||||
<ul>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_default_sort}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang list_post_time}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang replies}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang views}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang lastpost}</a></li>
|
||||
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang order_heats}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $multipage && $filter != 'hot'}-->
|
||||
<div id="pgbtn" class="pgbtn"><a href="forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}&page=$nextpage" hidefocus="true">{lang next_page_extra}</a></div>
|
||||
<!--{/if}-->
|
||||
<div class="bm bw0 pgs cl">
|
||||
<span id="fd_page_bottom">$multipage</span>
|
||||
<span {if $_G[setting][visitedforums]}id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if} class="pgb y"><a href="forum.php">{lang return_index}</a></span>
|
||||
<!--{hook/forumdisplay_postbutton_bottom}-->
|
||||
</div>
|
504
template/ahome_common/forum/viewthread.htm
Normal file
504
template/ahome_common/forum/viewthread.htm
Normal file
@@ -0,0 +1,504 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<script type="text/javascript">var fid = parseInt('$_G[fid]'), tid = parseInt('$_G[tid]');</script>
|
||||
<!--{if $modmenu['thread'] || $modmenu['post']}-->
|
||||
<script type="text/javascript" src="{$_G['setting']['jspath']}forum_moderate.js?{VERHASH}"></script>
|
||||
<!--{/if}-->
|
||||
|
||||
<script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
|
||||
<script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']);var imagemaxwidth = '{$_G['setting']['imagemaxwidth']}';var aimgcount = new Array();</script>
|
||||
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
|
||||
<div id="pt" class="bm cl">
|
||||
<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 <em>›</em> <a href="forum.php?mod=viewthread&tid=$_G[tid]">$_G[forum_thread][short_subject]</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{hook/viewthread_top}-->
|
||||
<!--{ad/text/wp a_t}-->
|
||||
|
||||
<style id="diy_style" type="text/css"></style>
|
||||
<div class="wp">
|
||||
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<div id="ct" class="wp cl">
|
||||
<div id="pgt" class="pgs mbm cl {if $modmenu['thread']}pbm bbs{/if}">
|
||||
<div class="pgt">$multipage</div>
|
||||
<span class="y pgb"{if $_G['setting']['visitedforums']} id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
|
||||
<!--{if $_G['forum']['threadsorts'] && $_G['forum']['threadsorts']['templatelist']}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
|
||||
<button id="newspecial" class="pn pnc" onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id'"><strong>{lang i_want}$name</strong></button>
|
||||
<!--{/loop}-->
|
||||
<!--{else}-->
|
||||
<!--{if !$_G['forum_thread']['is_archived']}--><a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><div class="postbtn">+ {lang send_posts}</div></a><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
|
||||
<a id="post_reply" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><div class="replybtn">{lang reply}</div></a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postbutton_top}-->
|
||||
</div>
|
||||
|
||||
<!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
|
||||
<ul class="p_pop" id="newspecial_menu" style="display: none">
|
||||
<!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
|
||||
<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
|
||||
<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
|
||||
<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
|
||||
<li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&sortid=$id">$threadsorts</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
|
||||
<!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
|
||||
<!--{if $_G['setting']['threadplugins']}-->
|
||||
<!--{loop $_G['forum']['threadplugin'] $tpid}-->
|
||||
<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
|
||||
<li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G['setting']['threadplugins'][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G['setting']['threadplugins'][$tpid][name]}</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $modmenu['post']}-->
|
||||
<div id="mdly" class="fwinmask" style="display:none;z-index:350;">
|
||||
<table cellspacing="0" cellpadding="0" class="fwin">
|
||||
<tr>
|
||||
<td class="t_l"></td>
|
||||
<td class="t_c"></td>
|
||||
<td class="t_r"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="m_l"> </td>
|
||||
<td class="m_c">
|
||||
<div class="f_c">
|
||||
<div class="c">
|
||||
<h3>{lang admin_select} <strong id="mdct" class="xi1"></strong> {lang piece}: </h3>
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<!--{if $_G['group']['allowwarnpost']}--><a href="javascript:;" onclick="modaction('warn')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowbanpost']}--><a href="javascript:;" onclick="modaction('banpost')">{lang modmenu_banpost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowdelpost'] && !$rushreply}--><a href="javascript:;" onclick="modaction('delpost')">{lang modmenu_deletepost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowstickreply'] || $_G['forum_thread']['authorid'] == $_G['uid']}--><a href="javascript:;" onclick="modaction('stickreply')">{lang modmenu_stickpost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['pushedaid'] && $allowpostarticle}--><a href="javascript:;" onclick="modaction('pushplus', '', 'aid=$_G[forum_thread][pushedaid]', 'portal.php?mod=portalcp&ac=article&op=pushplus')">{lang modmenu_pushplus}</a><span class="pipe">|</span><!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="m_r"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="b_l"></td>
|
||||
<td class="b_c"></td>
|
||||
<td class="b_r"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $modmenu['thread']}-->
|
||||
<div id="modmenu" class="xi2 pbm" style="vertical-align">
|
||||
<!--{eval $modopt=0;}-->
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<!--{if $_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang modmenu_deletethread}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowbumpthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'bump')">{lang modmenu_updown}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowstickthread'] && ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1) && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'stick')">{lang modmenu_stickthread}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowlivethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('live')">{lang modmenu_live}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowhighlightthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'highlight')">{lang modmenu_highlight}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowdigestthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'digest')">{lang modmenu_digestpost}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowrecommendthread'] && !empty($_G['forum']['modrecommend']['open']) && $_G['forum']['modrecommend']['sort'] != 1 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'recommend')">{lang modmenu_recommend}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowstampthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamp')">{lang modmenu_stamp}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowstamplist'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamplist')">{lang modmenu_icon}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowclosethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(4)"><!--{if !$_G['forum_thread']['closed']}-->{lang modmenu_switch_off}<!--{else}-->{lang modmenu_switch_on}<!--{/if}--></a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowmovethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'move')">{lang modmenu_move}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowedittypethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'type')">{lang modmenu_type}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
|
||||
<!--{if $_G['group']['allowcopythread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('copy')">{lang modmenu_copy}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowmergethread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('merge')">{lang modmenu_merge}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowrefund'] && $_G['forum_thread']['price'] > 0}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('refund')">{lang modmenu_restore}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowsplitthread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('split')">{lang modmenu_split}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowrepairthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('repair')">{lang modmenu_repair}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['is_archived'] && $_G['adminid'] == 1}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('restore', '', 'archiveid={$_G[forum_thread][archiveid]}')">{lang modmenu_archive}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum_firstpid']}-->
|
||||
<!--{if $_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('warn', '$_G[forum_firstpid]')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('banpost', '$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowremovereward'] && $_G['forum_thread']['special'] == 3 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('removereward')">{lang modmenu_removereward}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['forum']['status'] == 3 && in_array($_G['adminid'], array('1','2')) && $_G['forum_thread']['closed'] < 1}--><a href="javascript:;" onclick="modthreads(5, 'recommend_group');return false;">{lang modmenu_grouprecommend}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['allowmanagetag']}--><a href="javascript:;" onclick="showWindow('mods', 'forum.php?mod=tag&op=manage&tid=$_G[tid]', 'get', 0)">{lang post_tag}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{if $_G['group']['alloweditusertag']}--><a href="javascript:;" onclick="showWindow('usertag', 'forum.php?mod=misc&action=usertag&tid=$_G[tid]', 'get', 0)">{lang usertag}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $allowpusharticle && $allowpostarticle}--><!--{eval $modopt++}--><a href="portal.php?mod=portalcp&ac=article&from_idtype=tid&from_id=$_G['tid']">{lang modmenu_pusharticle}</a><span class="pipe">|</span><!--{/if}-->
|
||||
<!--{hook/viewthread_modoption}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_beginline}-->
|
||||
|
||||
<div id="postlist" class="pl bm">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls ptn pbn">
|
||||
<!--{if $_G['page'] > 1}-->
|
||||
<div id="tath" class="cl">
|
||||
<!--{if $_G[forum_thread][authorid] && $_G[forum_thread][author]}-->
|
||||
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]"><!--{avatar($_G[forum_thread][authorid],small)}--></a>
|
||||
{lang thread_author}: <a href="home.php?mod=space&uid=$_G[forum_thread][authorid]" title="$_G[forum_thread][author]">$_G[forum_thread][author]</a>
|
||||
<!--{else}-->
|
||||
{lang thread_author}:
|
||||
<!--{if $_G['forum']['ismoderator']}-->
|
||||
<a href="home.php?mod=space&uid=$_G[forum_thread][authorid]">{lang anonymous}</a>
|
||||
<!--{else}-->
|
||||
{lang anonymous}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div class="hm ptn">
|
||||
<span class="xg1">{lang show}:</span> <span class="xi1">$_G[forum_thread][views]</span><span class="pipe">|</span><span class="xg1">{lang reply}:</span> <span class="xi1">$_G[forum_thread][allreplies]</span>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<td class="plc ptm pbn vwthd">
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<div class="y">
|
||||
<!--{if $post['invisible'] == 0}--><a href="forum.php?mod=viewthread&action=printable&tid=$_G[tid]" title="{lang thread_printable}" target="_blank"><img src="{IMGDIR}/print.png" alt="{lang thread_printable}" class="vm" /></a>
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=redirect&goto=nextoldset&tid=$_G[tid]" title="{lang last_thread}"><img src="{IMGDIR}/thread-prev.png" alt="{lang last_thread}" class="vm" /></a>
|
||||
<a href="forum.php?mod=redirect&goto=nextnewset&tid=$_G[tid]" title="{lang next_thread}"><img src="{IMGDIR}/thread-next.png" alt="{lang next_thread}" class="vm" /></a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['close_leftinfo_userctrl']}-->
|
||||
<span class="xg1 side_btn">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<a onclick="setcookie('close_leftinfo', 1);location.reload();" title="{lang collapse_the_left}" class="btn_s_close" href="javascript:;"><img src="{IMGDIR}/control_l.png" alt="{lang collapse_the_left}" class="vm" /></a>
|
||||
<!--{else}-->
|
||||
<a onclick="setcookie('close_leftinfo', 2);location.reload();" title="{lang open_the_left}" class="btn_s_open" href="javascript:;"><img src="{IMGDIR}/control_r.png" alt="{lang open_the_left}" class="vm" /></a>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<h1 class="ts">
|
||||
<!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
|
||||
<!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]</a>
|
||||
<!--{else}-->
|
||||
[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
|
||||
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">[{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]</a>
|
||||
<!--{/if}-->
|
||||
<span id="thread_subject">$_G[forum_thread][subject]</span>
|
||||
</h1>
|
||||
<span class="xg1">
|
||||
<!--{if $_G['forum_thread'][displayorder] == -2}-->({lang moderating})
|
||||
<!--{elseif $_G['forum_thread'][displayorder] == -3}-->({lang have_ignored})
|
||||
<!--{elseif $_G['forum_thread'][displayorder] == -4}-->({lang draft})
|
||||
<!--{if $post['first'] && $post['invisible'] == -3}-->
|
||||
<a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['setting']['threadhidethreshold'] && $_G['forum_thread']['hidden'] >= $_G['setting']['threadhidethreshold']}-->
|
||||
<!--{if $_G['forum_thread']['authorid'] == $_G['uid']}--><a class="psave" id="hiderecover" title="{lang hiderecover_tips}" href="forum.php?mod=misc&action=hiderecover&tid=$_G[tid]&formhash={FORMHASH}" onclick="showWindow(this.id, this.href, 'get', 0);">{lang hidden}</a><!--{else}-->({lang hidden})<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['recommendlevel']}-->
|
||||
<img src="{IMGDIR}/recommend_$_G['forum_thread']['recommendlevel'].gif" alt="" title="{lang thread_recommend} $_G['forum_thread'][recommends]" />
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread'][heatlevel]}-->
|
||||
<img src="{IMGDIR}/hot_$_G['forum_thread'][heatlevel].gif" alt="" title="{lang heats}: $_G['forum_thread']['heats']" />
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['closed'] == 1}-->
|
||||
<img src="{IMGDIR}/locked.gif" alt="{lang close}" title="{lang close}" class="vm" />
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$_G[tid]$fromuid" onclick="return copyThreadUrl(this, '$_G[setting][bbname]')" {if $fromuid}title="{lang share_url_copy_comment}"{/if}>[{lang share_url_copy}]</a>
|
||||
</span>
|
||||
<!--{hook/viewthread_title_extra}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{if $_G['forum_thread']['replycredit'] > 0 || $rushreply}-->
|
||||
<div id="pl_top">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr class="ad">
|
||||
<td class="pls"></td>
|
||||
<td class="plc"></td>
|
||||
</tr>
|
||||
<!--{if $_G['forum_thread']['replycredit'] > 0 }-->
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls vm ptm">
|
||||
<!--{else}-->
|
||||
<td class="pls ptm pbm xi1" colspan="2">
|
||||
<!--{/if}-->
|
||||
<img src="{IMGDIR}/thread_prize_s.png" class="hm" alt="{lang replycredit}" />
|
||||
<strong>{$_G['forum_thread']['replycredit']} {$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][unit]}{$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][title]}</strong>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
</td>
|
||||
<td class="plc ptm pbm xi1">
|
||||
<!--{else}-->
|
||||
|
||||
<!--{/if}-->
|
||||
{lang thread_replycredit_tips1} {lang thread_replycredit_tips2}<!--{if $_G['forum_thread']['replycredit_rule'][random] > 0}--><span class="xg1">{lang thread_replycredit_tips3}</span><!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--{if $rushreply}-->
|
||||
<tr class="ad">
|
||||
<td class="pls"></td>
|
||||
<td class="plc"></td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $rushreply}-->
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls vm ptm">
|
||||
<img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
|
||||
<strong>{lang rushreply}</strong>
|
||||
</td>
|
||||
<td class="plc ptm pbm xi1">
|
||||
<!--{else}-->
|
||||
<td class="plc ptm pbm xi1" colspan="2">
|
||||
<img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[rewardfloor]}-->
|
||||
<span class="y">
|
||||
<!--{if $_G['uid'] == $_G['thread']['authorid'] || $_G['forum']['ismoderator']}--><a href="javascript:;" onclick="showWindow('membernum', 'forum.php?mod=ajax&action=get_rushreply_membernum&tid=$_G[tid]')" class="y pn xi2"><span>{lang thread_rushreply_statnum}</span></a><!--{/if}-->
|
||||
<!--{if !$_GET['checkrush']}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" class="y pn xi2"><span>{lang rushreply_view}</span></a>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[creditlimit] == ''}-->
|
||||
{lang thread_rushreply}
|
||||
<!--{else}-->
|
||||
{lang thread_rushreply_limit}
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult['timer']}-->
|
||||
<span id="rushtimer_$thread[tid]"> {lang havemore_special} <span id="rushtimer_body_$thread[tid]"></span> <script language="javascript">settimer($rushresult['timer'], 'rushtimer_body_$thread[tid]');</script>{if $rushresult['timertype'] == 'start'} {lang header_start} {else} {lang over} {/if} {lang right_special}</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[stopfloor]}-->
|
||||
{lang thread_rushreply_end}$rushresult[stopfloor]
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[rewardfloor]}-->
|
||||
{lang thread_rushreply_floor}: $rushresult[rewardfloor]
|
||||
<!--{/if}-->
|
||||
<!--{if $rushresult[rewardfloor] && $_GET['checkrush']}-->
|
||||
<p class="ptn">
|
||||
<!--{if $countrushpost}-->[<strong>$countrushpost</strong>]{lang thread_rushreply_rewardnum}<!--{else}--> {lang thread_rushreply_noreward} <!--{/if}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$_G[tid]" class="xi2">{lang thread_rushreply_check_back}</a>
|
||||
</p>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_title_row}-->
|
||||
|
||||
<table cellspacing="0" cellpadding="0" class="ad">
|
||||
<tr>
|
||||
<td class="pls">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
</td>
|
||||
<td class="plc">
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{eval $postcount = 0;}-->
|
||||
<!--{loop $postlist $post}-->
|
||||
<!--{if $rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1}-->
|
||||
<!--{eval continue;}-->
|
||||
<!--{/if}-->
|
||||
<div id="post_$post[pid]" {if $_G['blockedpids'] && $post['inblacklist']}style="display:none;"{/if}>
|
||||
<!--{subtemplate forum/viewthread_node}-->
|
||||
</div>
|
||||
<!--{eval $postcount++;}-->
|
||||
<!--{/loop}-->
|
||||
<div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
|
||||
<!--{if $_G['blockedpids']}-->
|
||||
<div id='hiddenpoststip'><a href='javascript:display_blocked_post();'>{lang other_reply_hide}</a></div>
|
||||
<div id="hiddenposts"></div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{if $modmenu['thread']}-->
|
||||
<div class="xi2 mbm pbm bbs">
|
||||
<script type="text/javascript">
|
||||
$('modmenu').lastChild.style.visibility = 'hidden';
|
||||
document.write($('modmenu').innerHTML);
|
||||
</script>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<form method="post" autocomplete="off" name="modactions" id="modactions">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="optgroup" />
|
||||
<input type="hidden" name="operation" />
|
||||
<input type="hidden" name="listextra" value="$_GET[extra]" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
</form>
|
||||
|
||||
$_G['forum_tagscript']
|
||||
|
||||
<!--{if $multipage && $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->
|
||||
<!--{eval $nxtpage = $page + 1;}-->
|
||||
<div class="pgbtn"><a href="forum.php?mod=viewthread&tid=$_G[tid]{if $_GET[authorid]}&authorid=$_GET[authorid]{/if}&page=$nxtpage" hidefocus="true" class="bm_h">{lang next_page_extra}</a></div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div class="pgs mtm mbm cl">
|
||||
$multipage
|
||||
<span class="pgb y"{if $_G['setting']['visitedforums']} id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
|
||||
<!--{if !$_G['forum_thread']['is_archived']}-->
|
||||
<a id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><div class="postbtn">+ {lang send_posts}</div></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
|
||||
<a id="post_replytmp" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><div class="replybtn">{lang reply}</div></a>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<!--{hook/viewthread_middle}-->
|
||||
<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
|
||||
<!--{if $fastpost}-->
|
||||
<!--{subtemplate forum/viewthread_fastpost}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_bottom}-->
|
||||
|
||||
<!--{if ($_G['setting']['visitedforums']) && $_G['forum']['status'] != 3}-->
|
||||
<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td id="v_forums">
|
||||
<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
|
||||
<ul class="xl xl1">
|
||||
$_G['setting']['visitedforums']
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['medal_list']}-->
|
||||
<!--{loop $_G['medal_list'] $medalid $medal}-->
|
||||
<div id="md_{$medalid}_menu" class="tip tip_4" style="display: none;">
|
||||
<div class="tip_horn"></div>
|
||||
<div class="tip_c">
|
||||
<h4>$medal[name]</h4>
|
||||
<p>$medal[description]</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !IS_ROBOT && !empty($_G[setting][lazyload])}-->
|
||||
<script type="text/javascript">
|
||||
new lazyload();
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !IS_ROBOT && $_G['setting']['threadmaxpages'] > 1}-->
|
||||
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=viewthread&tid=$_G[tid]<!--{if $_GET[authorid]}-->&authorid=$_GET[authorid]<!--{/if}-->', $page);}</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<div class="wp mtn">
|
||||
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
|
||||
</div>
|
||||
<!--{if $_G['relatedlinks'] || $_GET['highlight']}-->
|
||||
<script type="text/javascript">
|
||||
var relatedlink = [];
|
||||
<!--{loop $_G['relatedlinks'] $key $link}-->
|
||||
relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
|
||||
<!--{/loop}-->
|
||||
{eval $highlights = explode(' ', str_replace(array('\'', chr(125)), array(''', '}'), dhtmlspecialchars($_GET['highlight'])));}
|
||||
<!--{loop $highlights $word}-->
|
||||
{eval $key++;}
|
||||
relatedlink[$key] = {'sname':'$word', 'surl':''};
|
||||
<!--{/loop}-->
|
||||
relatedlinks('postmessage_$_G[forum_firstpid]');
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum'}-->
|
||||
<script type="text/javascript">saveUserdata('forum_'+discuz_uid, '')</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
|
||||
function showsetcover(obj) {
|
||||
if(obj.parentNode.id == 'postmessage_$_G[forum_firstpid]') {
|
||||
var defheight = $_G['setting']['forumpicstyle']['thumbheight'];
|
||||
var defwidth = $_G['setting']['forumpicstyle']['thumbwidth'];
|
||||
var newimgid = 'showcoverimg';
|
||||
var imgsrc = obj.src ? obj.src : obj.file;
|
||||
if(!imgsrc) return;
|
||||
|
||||
var tempimg=new Image();
|
||||
tempimg.src=imgsrc;
|
||||
if(tempimg.complete) {
|
||||
if(tempimg.width < defwidth || tempimg.height < defheight) return;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
if($(newimgid) && obj.id != newimgid) {
|
||||
$(newimgid).id = 'img'+Math.random();
|
||||
}
|
||||
if($(newimgid+'_menu')) {
|
||||
var menudiv = $(newimgid+'_menu');
|
||||
} else {
|
||||
var menudiv = document.createElement('div');
|
||||
menudiv.className = 'tip tip_4 aimg_tip';
|
||||
menudiv.id = newimgid+'_menu';
|
||||
menudiv.style.position = 'absolute';
|
||||
menudiv.style.display = 'none';
|
||||
obj.parentNode.appendChild(menudiv);
|
||||
}
|
||||
menudiv.innerHTML = '<div class="tip_c xs0"><a onclick="showWindow(\'setcover_'+newimgid+'\', this.href)" href="forum.php?mod=ajax&action=setthreadcover&tid=$_G[tid]&pid=$_G[forum_firstpid]&fid=$_G[fid]&imgurl='+imgsrc+'">{lang set_cover}</a></div>';
|
||||
obj.id = newimgid;
|
||||
showMenu({'ctrlid':newimgid,'pos':'12'});
|
||||
}
|
||||
return;
|
||||
}
|
||||
<!--{/if}-->
|
||||
function succeedhandle_followmod(url, msg, values) {
|
||||
var fObj = $('followmod_'+values['fuid']);
|
||||
if(values['type'] == 'add') {
|
||||
fObj.innerHTML = '{lang nofollow}';
|
||||
fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
|
||||
} else if(values['type'] == 'del') {
|
||||
fObj.innerHTML = '{lang follow}';
|
||||
fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid='+values['fuid'];
|
||||
}
|
||||
}
|
||||
<!--{if $_G['blockedpids']}-->
|
||||
var blockedPIDs = [<!--{echo implode(',', $_G['blockedpids'])}-->];
|
||||
<!--{/if}-->
|
||||
<!--{if $postlist && empty($_G['setting']['disfixedavatar'])}-->
|
||||
fixed_avatar([<!--{echo implode(',', array_keys($postlist))}-->], {if empty($_G['setting']['disfixednv_viewthread']) }1{else}0{/if});
|
||||
<!--{elseif empty($_G['setting']['disfixednv_viewthread'])}-->
|
||||
fixed_top_nv();
|
||||
<!--{/if}-->
|
||||
// 下面四行是我套了一个判断语句,代替499行(原代码),不然总是报错,虽然不影响什么
|
||||
var btn = document.getElementById('vreplysubmit');
|
||||
if (btn) {
|
||||
btn.className = "pn";
|
||||
}
|
||||
// 到这里截止,为了替换下面一行
|
||||
// document.getElementById('vreplysubmit').className = "pn";
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!--{template common/footer}-->
|
551
template/ahome_common/forum/viewthread_node.htm
Normal file
551
template/ahome_common/forum/viewthread_node.htm
Normal file
@@ -0,0 +1,551 @@
|
||||
<!--{eval
|
||||
$needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);
|
||||
$postshowavatars = !($_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)));
|
||||
}-->
|
||||
<!--{block authorverifys}-->
|
||||
<!--{loop $post['verifyicon'] $vid}-->
|
||||
<a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $_G['setting']['verify'][$vid]['icon']}--><img src="$_G['setting']['verify'][$vid]['icon']" class="vm" alt="$_G['setting']['verify'][$vid][title]" title="$_G['setting']['verify'][$vid][title]" /><!--{else}-->$_G['setting']['verify'][$vid]['title']<!--{/if}--></a>
|
||||
<!--{/loop}-->
|
||||
<!--{loop $post['unverifyicon'] $vid}-->
|
||||
<a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><img src="$_G['setting']['verify'][$vid]['unverifyicon']" class="vm" alt="$_G['setting']['verify'][$vid][title]" title="$_G['setting']['verify'][$vid][title]" /></a>
|
||||
<!--{/loop}-->
|
||||
<!--{/block}-->
|
||||
<!--{if $post['first'] && $_G['forum_threadstamp']}-->
|
||||
<div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
|
||||
<!--{/if}-->
|
||||
<!--{if empty($post['deleted'])}-->
|
||||
<table id="pid$post[pid]" class="plhin" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
$post[newpostanchor] $post[lastpostanchor]
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls" rowspan="2">
|
||||
<div id="favatar$post[pid]" class="pls favatar">
|
||||
|
||||
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
|
||||
<div class="p_pop blk bui card_gender_$post['gender']" id="userinfo$post[pid]" style="min-width:450px;display: none;{if $_G['setting']['authoronleft']}float:left;margin-top:-16px;{/if}">
|
||||
<div class="m z">
|
||||
<div id="userinfo$post[pid]_ma"></div>
|
||||
<!--{hook/viewthread_profileside $postcount}-->
|
||||
</div>
|
||||
<div class="i y" style="width:300px;">
|
||||
<div>
|
||||
<strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2"{if $post[groupcolor]} style="color: $post[groupcolor]"{/if}>$post[author]</a></strong>
|
||||
<!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
|
||||
<!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
|
||||
<em>{lang online}</em>
|
||||
<!--{else}-->
|
||||
<em>{lang offline}</em>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
{eval viewthread_profile_node('top', $post);}
|
||||
<div class="imicn">
|
||||
<!--{if $post['qq'] && !$post['privacy']['profile']['qq']}--><a href="//wpa.qq.com/msgrd?v=3&uin=$post[qq]&site=$_G['setting']['bbname']&menu=yes&from=discuz" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
|
||||
<!--{if $post['icq'] && !$post['privacy']['profile']['icq']}--><a href="//wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
|
||||
<!--{if $post['yahoo'] && !$post['privacy']['profile']['yahoo']}--><a href="//edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}-->
|
||||
<!--{if $post['taobao'] && !$post['privacy']['profile']['taobao']}--><a href="javascript:;" onclick="window.open('//amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
|
||||
<!--{if $post['site'] && !$post['privacy']['profile']['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}-->
|
||||
<a href="home.php?mod=space&uid=$post[authorid]&do=profile" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a>
|
||||
<!--{hook/viewthread_imicons $postcount}-->
|
||||
<!--{if $_G['setting']['magicstatus']}-->
|
||||
<!--{if !empty($_G['setting']['magics']['showip'])}-->
|
||||
<a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/showip.small.gif" alt="" /> $_G['setting']['magics']['showip']</a>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
|
||||
<a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/checkonline.small.gif" alt="" /> $_G['setting']['magics']['checkonline']</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_magic_user $postcount}-->
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div id="avatarfeed"><span id="threadsortswait"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<!--{if !$postshowavatars}-->
|
||||
<div class="avatar">{lang member_avatar_banned}</div>
|
||||
<!--{elseif $post['avatar'] && $showavatars}-->
|
||||
<!--{if $post[mobiletype]}-->
|
||||
<div class="mobile-type mobile-type-$post[mobiletype]">
|
||||
<a></a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="avatar"{if !($_G['setting']['threadguestlite'] && !$_G['uid'])} onmouseover="showauthor(this, 'userinfo$post[pid]')"{/If}><a href="home.php?mod=space&uid=$post[authorid]" class="avtm" target="_blank">$post[avatar]</a></div>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_avatar $postcount}-->
|
||||
</div>
|
||||
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
|
||||
<!--{if $_G['setting']['authoronleft']}-->
|
||||
<div class="pi">
|
||||
<div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1"{if $post[groupcolor]} style="color: $post[groupcolor]"{/if}>$post[author]</a>$authorverifys</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_sidetop $postcount}-->
|
||||
<!--{if !($_G['setting']['threadguestlite'] && !$_G['uid'])}-->
|
||||
{eval viewthread_profile_node('left', $post);}
|
||||
<!--{if $post[authorid] != $_G[uid]}-->
|
||||
<ul class="xl xl2 o cl">
|
||||
<!--{if helper_access::check_module('follow')}-->
|
||||
<li class="addflw">
|
||||
<a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
|
||||
</li>
|
||||
<!--{/if}-->
|
||||
<li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" onclick="showWindow('sendpm', this.href);" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/viewthread_sidebottom $postcount}-->
|
||||
<!--{elseif getstatus($post['status'], 5)}-->
|
||||
<!--{if $_G['setting']['authoronleft']}-->
|
||||
<div class="pi">
|
||||
<div class="authi"><a href="javascript:;" class="xw1">$post[author]</a></div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $showavatars}-->
|
||||
<div>
|
||||
<div class="avatar avtm"><a href="javascript:;">$post[avatar]</a></div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<div class="pi">
|
||||
<!--{if !$post['authorid']}-->
|
||||
<a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]{if $post[port]}:$post[port]{/if}</em></a>
|
||||
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
|
||||
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
|
||||
<!--{else}-->
|
||||
$post[author] <em>{lang member_deleted}</em>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if ($_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])) && !getstatus($post['status'], 5)}-->
|
||||
<p class="cp_pls cl">
|
||||
<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
|
||||
<a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G['forum_auditstatuson']}&modthreadkey=$_GET[modthreadkey]{/if}" onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowedituser']}-->
|
||||
<a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['group']['allowbanuser']}-->
|
||||
<!--{if $_G['adminid'] == 1}-->
|
||||
<a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
|
||||
<!--{else}-->
|
||||
<a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
|
||||
<!--{if $_G['adminid'] == 1}-->
|
||||
<a href="forum.php?mod=ajax&action=quickclear&uid=$post[authorid]" onclick="showWindow('qclear_$post[authorid]', this.href, 'get', 0)">{lang clear}</a>
|
||||
<!--{/if}-->
|
||||
</p>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</td>
|
||||
<!--{/if}-->
|
||||
<td class="plc"<!--{if $close_leftinfo}--> style="width:100%"<!--{/if}-->>
|
||||
<div class="pi"<!--{if $close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars}--> style="height:48px"<!--{/if}-->>
|
||||
<!--{if !IS_ROBOT}-->
|
||||
<!--{if !$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
|
||||
<div id="fj" class="y">
|
||||
<label class="z">{lang thread_redirect_postno}</label>
|
||||
<input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=$_G[tid]&authorid=$_GET[authorid]&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="{lang thread_redirect_postno_tips}" />
|
||||
<a href="javascript:;" id="fj_btn" class="z" title="{lang thread_redirect_postno_tips}"><img src="{IMGDIR}/fj_btn.png" alt="{lang thread_redirect_postno_tips}" class="vm" /></a>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['warned']}-->
|
||||
<a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
|
||||
<!--{/if}-->
|
||||
<strong>
|
||||
<a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" {if $fromuid}title="{lang share_url_copy_comment}"{/if} id="postnum$post[pid]" onclick="setCopy(this.href, '{lang post_copied}');return false;">
|
||||
<!--{if isset($post[isstick])}-->
|
||||
<img src ="{IMGDIR}/settop.png" title="{lang replystick}" class="vm" /> {lang from} {$post[number]}{$postnostick}
|
||||
<!--{elseif $post[number] == -1}-->
|
||||
{lang recommend}
|
||||
<!--{else}-->
|
||||
<!--{if !empty($postno[$post[number]])}-->
|
||||
$postno[$post[number]]
|
||||
<!--{else}-->
|
||||
<em>{$post[number]}</em>{$postno[0]}
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</a>
|
||||
</strong>
|
||||
<!--{/if}-->
|
||||
<div class="pti">
|
||||
<div class="pdbt">
|
||||
<!--{if !$post['first'] && $post['rewardfloor']}-->
|
||||
<label class="pdbts pdbts_1">
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
|
||||
</label>
|
||||
<!--{/if}-->
|
||||
<!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
|
||||
<label class="pdbts pdbts_{echo intval($post[stand])}">
|
||||
<!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
|
||||
<!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
|
||||
<!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
|
||||
<!--{if $post[stand]}-->
|
||||
<a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support} $post[voters]</a>
|
||||
<!--{/if}-->
|
||||
</label>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div class="authi">
|
||||
<!--{if $close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars}-->
|
||||
<a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2 z" style="padding-right:10px;">{echo avatar($post['authorid'], 'small')}</a>
|
||||
<!--{/if}-->
|
||||
<!--{eval $_self = $thread['author'] && $post['author'] == $thread['author'] && $post['position'] !== '1';}-->
|
||||
<!--{if $_self }-->
|
||||
<img class="authicn vm" id="authicon$post[pid]" src="{IMGDIR}/ico_lz.png" />
|
||||
<!--{else}-->
|
||||
<!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
|
||||
<img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
|
||||
<!--{else}-->
|
||||
<img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $post['authorid'] && !$post['anonymous']}-->
|
||||
<!--{if $_self}-->
|
||||
{lang thread_author}<span class="pipe">|</span>
|
||||
<!--{/if}-->
|
||||
<!--{if !$_G['setting']['authoronleft']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys<!--{/if}-->
|
||||
<!--{if $close_leftinfo}--><!--{/if}-->
|
||||
<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
|
||||
<!--{if $post['status'] & 8}-->
|
||||
<span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<span class="pipe">|</span>
|
||||
<!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
|
||||
<!--{elseif !$_G['forum_thread']['archiveid']}-->
|
||||
<a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{elseif getstatus($post['status'], 5)}-->
|
||||
<!--{if !$_G['setting']['authoronleft']}--><a href="javascript:;" class="xi2">$post[author]</a><!--{/if}-->
|
||||
<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
|
||||
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
|
||||
$_G[setting][anonymoustext]
|
||||
<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
|
||||
<!--{/if}-->
|
||||
<!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
|
||||
<!--{if $_G['forum_thread']['attachment'] == 2 && $_G['group']['allowgetimage'] && (!$_G['setting']['guestviewthumb']['flag'] || $_G['setting']['guestviewthumb']['flag'] && $_G['uid'])}-->
|
||||
<span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&from=album">{lang view_bigpic}</a>
|
||||
<!--{/if}-->
|
||||
<span class="none"><img src="{IMGDIR}/arw_r.gif" class="vm" alt="{lang replycredit}" /></span>
|
||||
<!--{if !$rushreply}-->
|
||||
<!--{if $ordertype != 1}-->
|
||||
<span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1" class="show">{lang post_descview}</a>
|
||||
<!--{else}-->
|
||||
<span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2" class="show">{lang post_ascview}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first']}-->
|
||||
<span class="pipe show">|</span><a href="javascript:;" onclick="readmode($('thread_subject').innerHTML, $post[pid]);" class="show">{lang read_mode}</a>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postheader $postcount}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
|
||||
|
||||
<div class="pct">
|
||||
<!--{ad/thread/a_pt/2/$postcount}-->
|
||||
<!--{if empty($ad_a_pr_css)}-->
|
||||
<style type="text/css">.pcb{margin-right:0}</style>
|
||||
<!--{eval $ad_a_pr_css=1;}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$post['first'] && $post['replycredit'] > 0}-->
|
||||
<div class="cm">
|
||||
<h3 class="psth xs1"><span class="icon_ring vm"></span>
|
||||
{lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
|
||||
</h3>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{subtemplate forum/viewthread_node_body}-->
|
||||
</div>
|
||||
|
||||
<!--{if helper_access::check_module('collection') && !$_G['forum']['disablecollect']}-->
|
||||
<!--{if $post['relatecollection']}-->
|
||||
<div class="cm">
|
||||
<h3 class="psth xs1"><span class="icon_ring vm"></span>{lang collection_related}</h3>
|
||||
<ul class="mbw xl xl2 cl">
|
||||
<!--{loop $post['relatecollection'] $var}-->
|
||||
<li>· <a href="forum.php?mod=collection&action=view&ctid=$var[ctid]" title="$var[name]" target="_blank" class="xi2 xw1">$var[name]</a><span class="pipe">|</span><span class="xg1">{lang collection_threadnum}: $var[threadnum], {lang collection_follow}: $var[follownum]</span></li>
|
||||
<!--{/loop}-->
|
||||
<!--{if $post['releatcollectionmore']}-->
|
||||
<li>· <a href="forum.php?mod=collection&tid=$_G[tid]" target="_blank" class="xi2 xw1">{lang more}</a></li>
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{if $post['sourcecollection']['ctid']}-->
|
||||
<div>
|
||||
{lang collection_fromctid}
|
||||
<form action="forum.php?mod=collection&action=comment&ctid={$ctid}&tid={$_G[tid]}" method="POST" class="ptm pbm cl">
|
||||
<input type="hidden" name="ratescore" id="ratescore" />
|
||||
<span class="clct_ratestar">
|
||||
<span class="btn">
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
|
||||
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
|
||||
</span>
|
||||
<span id="clct_ratestar_star" class="star star$memberrate"></span>
|
||||
</span>
|
||||
<button type="submit" value="submit" class="pn"><span>{lang collection_rate}</span></button>
|
||||
</form>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
</td></tr>
|
||||
<tr><td class="plc plm">
|
||||
<!--{if $locations[$post[pid]]}-->
|
||||
<div class="mobile-location">$locations[$post[pid]][location]</div>
|
||||
<!--{/if}-->
|
||||
<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
|
||||
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<div id="p_btn" class="mtw mbm hm cl">
|
||||
<!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
|
||||
<div class="tshare cl">
|
||||
<b>{lang viewthread_share_to}: </b>
|
||||
<!--{hook/viewthread_share_method}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]&formhash={FORMHASH}" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' {lang activity_member_unit}{lang thread_favorite}'" title="{lang fav_thread}"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber"{if !$_G['forum_thread']['favtimes']} style="display:none"{/if}>{$_G['forum_thread']['favtimes']}</span></i></a>
|
||||
<!--{if $_G['group']['raterange'] && $post['authorid'] && ($post['first'] || $_G['groupid'] == 1)}-->
|
||||
<a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{lang rate_position}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if !$post['anonymous'] && $post['first'] && helper_access::check_module('follow')}-->
|
||||
<a class="followp" href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" onclick="showWindow('relaythread', this.href, 'get', 0);" title="{lang follow_spread}"><i><img src="{IMGDIR}/rt.png" alt="{lang thread_realy}" />{lang thread_realy}<!--{if $_G['forum_thread']['relay']}--><span id="relaynumber" style="display:none">{$_G['forum_thread']['relay']}</span><!--{/if}--></i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && helper_access::check_module('share')}-->
|
||||
<a class="sharep" href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" onclick="showWindow('sharethread', this.href, 'get', 0);" title="{lang share_digest}"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<!--{if $_G['forum_thread']['sharetimes']}--><span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span><!--{/if}--></i></a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
|
||||
<a href="forum.php?mod=collection&action=edit&op=addthread&tid=$_G[tid]" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' {lang activity_member_unit}{lang collection}'" title="{lang thread_collect}"><i><img src="{IMGDIR}/collection.png" alt="{lang thread_share}" />{lang collection}<span id="collectionnumber"{if !$post['releatcollectionnum']} style="display:none"{/if}>{$post['releatcollectionnum']}</span></i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
|
||||
<!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
|
||||
<a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_add').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][addtext]'" title="{lang maketoponce}"><i><img src="{IMGDIR}/rec_add.gif" alt="$_G['setting']['recommendthread'][addtext]" />$_G['setting']['recommendthread'][addtext]<span id="recommendv_add"{if !$_G['forum_thread']['recommend_add']} style="display:none"{/if}>$_G[forum_thread][recommend_add]</span></i></a>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
|
||||
<!--<a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-{$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_subtract').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][subtracttext]'" title="{lang makebottomonce}"><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G['setting']['recommendthread'][subtracttext]" />$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract"{if !$_G['forum_thread']['recommend_sub']} style="display:none"{/if}>$_G[forum_thread][recommend_sub]</span></i></a>-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_useraction}-->
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $post['relateitem']}-->
|
||||
<div class="mtw mbw">
|
||||
<h3 class="pbm mbm bbda">{lang related_thread}</h3>
|
||||
<ul class="xl xl2 cl">
|
||||
<!--{loop $post['relateitem'] $var}-->
|
||||
<li>• <a href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="_blank">$var[subject]</a></li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
|
||||
<div class="sign">{lang member_signature_banned}</div>
|
||||
<!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
|
||||
<div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
|
||||
<!--{elseif !$post['anonymous'] && $showsignatures && $_G['setting']['globalsightml']}-->
|
||||
<div class="sign">$_G['setting']['globalsightml']</div>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postsightmlafter $postcount}-->
|
||||
<!--{ad/thread/a_pb/1/$postcount}-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="_postposition$post['pid']"></tr>
|
||||
<!--{if !$_G['forum_thread']['archiveid']}-->
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls"></td>
|
||||
<!--{/if}-->
|
||||
<td class="plc" style="overflow:visible;{if $close_leftinfo}--> width:100%{/if}">
|
||||
<div class="po hin">
|
||||
<!--{if !$post['first'] && $modmenu['post']}-->
|
||||
<span class="y">
|
||||
<label for="manage$post[pid]">
|
||||
<input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
|
||||
{lang manage}
|
||||
</label>
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
<div class="pob cl">
|
||||
<em>
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
|
||||
<!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
|
||||
<!--{if $post['first']}-->
|
||||
<a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
|
||||
<!--{else}-->
|
||||
<a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
|
||||
<a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
|
||||
<!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
|
||||
<a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && $post['invisible'] == -3}-->
|
||||
<!--<a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>-->
|
||||
<!--{/if}-->
|
||||
<!--{if $post['invisible'] == -2 && !$post['first']}-->
|
||||
<span class="xg1">({lang moderate_need})</span>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
|
||||
<!--{if !$_G['forum_thread']['special'] && !$rushreply && !$hiddenreplies && $_G['setting']['repliesrank'] && !$post['first'] && !($post['isWater'] && $_G['setting']['filterednovote'])}-->
|
||||
<a class="replyadd" href="forum.php?mod=misc&action=postreview&do=support&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = ($('review_support_$post[pid]').innerHTML ? $('review_support_$post[pid]').innerHTML : 0) + ' {lang activity_member_unit} {lang support_reply}'">{lang support_reply} <span id="review_support_$post[pid]">$post[postreview][support]</span></a>
|
||||
<!--<a class="replysubtract" href="forum.php?mod=misc&action=postreview&do=against&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = ($('review_against_$post[pid]').innerHTML ? $('review_against_$post[pid]').innerHTML : 0) + ' {lang activity_member_unit} {lang against_reply}'">{lang against_reply} <span id="review_against_$post[pid]">$post[postreview][against]</span></a>-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postfooter $postcount}-->
|
||||
</em>
|
||||
|
||||
<p>
|
||||
<!--{if $post['invisible'] == 0}-->
|
||||
<!--{if $_G['setting']['magicstatus']}-->
|
||||
<a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
|
||||
<a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if ($post['first'] || $_G['groupid'] == 1) && $_G['group']['raterange'] && $post['authorid']}-->
|
||||
<a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
|
||||
<a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $post['authorid'] != $_G['uid']}-->
|
||||
<a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_postaction $postcount}-->
|
||||
</p>
|
||||
|
||||
<!--{if $_G['setting']['magicstatus']}-->
|
||||
<ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
|
||||
<!--{if $post['first']}-->
|
||||
<!--{if !empty($_G['setting']['magics']['bump'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['stick'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['close'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['open'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['highlight'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['sofa'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['jack'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_magic_thread}-->
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
|
||||
<li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/repent.small.gif" />$_G['setting']['magics']['repent']</a></li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
|
||||
<li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
|
||||
<!--{/if}-->
|
||||
<!--{if !empty($_G['setting']['magics']['namepost'])}-->
|
||||
<li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_magic_post $postcount}-->
|
||||
</ul>
|
||||
<script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
<tr class="ad">
|
||||
<td class="pls">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
</td>
|
||||
<td class="plc">
|
||||
<!--{/if}-->
|
||||
<!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
|
||||
<ul class="ttp cl">
|
||||
<li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
|
||||
<li{if !isset($_GET['stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
|
||||
<li{if $_GET['stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
|
||||
<li{if $_GET['stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
|
||||
<li{if isset($_GET['stand']) && $_GET['stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<!--{if $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p/$postcount}--><!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{if !empty($aimgs[$post[pid]])}-->
|
||||
<script type="text/javascript" reload="1">
|
||||
aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
|
||||
attachimggroup($post['pid']);
|
||||
<!--{if empty($_G['setting']['lazyload'])}-->
|
||||
<!--{if !$post['imagelistthumb']}-->
|
||||
attachimgshow($post[pid]);
|
||||
<!--{else}-->
|
||||
attachimgshow($post[pid], 1);
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
var aimgfid = 0;
|
||||
<!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
|
||||
aimgfid = $_G[fid];
|
||||
<!--{/if}-->
|
||||
<!--{if $post['imagelistthumb']}-->
|
||||
attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->, aimgfid, '{$_G[setting][showexif]}');
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
<!--{else}-->
|
||||
<table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls"></td>
|
||||
<!--{/if}-->
|
||||
<td class="plc"<!--{if $close_leftinfo}--> style="width:100%"<!--{/if}-->>
|
||||
<div class="pi">
|
||||
<strong><a><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
|
||||
</div>
|
||||
<div class="pct">{lang post_deleted}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="ad">
|
||||
<!--{if !$close_leftinfo}-->
|
||||
<td class="pls"></td>
|
||||
<!--{/if}-->
|
||||
<td class="plc"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!--{/if}-->
|
||||
<!--{hook/viewthread_endline $postcount}-->
|
Reference in New Issue
Block a user