📄 forumdisplay.htm
字号:
{subtemplate header}
<div id="foruminfo">
<div id="headsearch">
<!--{if !empty($google) && ($google & 2)}-->
<script type="text/javascript" src="forumdata/cache/google_var.js"></script>
<script type="text/javascript" src="include/javascript/google.js"></script>
<!--{/if}-->
<!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 2)}-->
<form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
<input type="hidden" name="searchsubmit" value="yes" />
<input type="text" name="srchtxt" size="27" value="$qihoo_searchboxtxt" />
<button type="submit">{lang search}</button>
</form>
<!--{/if}-->
<p>
<!--{if $forum['rules']}--><span id="rules_link" style="$collapse[rules_link]"><a href="###" onclick="$('rules_link').style.display = 'none';toggle_collapse('rules', 1);<!--{if $forum['recommendlist']}-->$('recommendlist').className = 'rules';<!--{/if}-->">{lang forum_rules}</a> |</span><!--{/if}-->
<!--{if $forum['recommendlist']}--><span id="recommendlist_link" style="$collapse[recommendlist_link]"><a href="###" onclick="$('recommendlist_link').style.display = 'none';toggle_collapse('recommendlist', 1)">{lang forum_recommend}</a> |</span><!--{/if}-->
<a href="my.php?item=favorites&fid=$fid" id="ajax_favorite" onclick="ajaxmenu(event, this.id)">{lang forum_favorite}</a> |
<a href="my.php?item=threads&srchfid=$fid">{lang show_mytopics}</a>
<!--{if $allowmodpost && $forum['modnewposts']}-->
| <a href="{if $adminid == 1}admincp.php?action=modthreads&frames=yes{else}modcp.php?action=moderate&op=threads&fid=$fid{/if}" target="_blank">{lang forum_moderate}{lang forum_moderate_threads}</a>
<!--{if $forum['modnewposts'] == 2}-->| <a href="{if $adminid == 1}admincp.php?action=modreplies&frames=yes{else}modcp.php?action=moderate&op=replies&fid=$fid{/if}" target="_blank">{lang forum_moderate}{lang forum_moderate_replies}</a><!--{/if}-->
<!--{/if}-->
<!--{if $adminid == 1 && $forum['recyclebin']}-->
| <a href="admincp.php?action=recyclebin&frames=yes" target="_blank">{lang forum_recyclebin}</a>
<!--{/if}-->
<!--{if $forum['ismoderator']}-->
| <a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a>
<!--{/if}-->
<!--{if $rssstatus}--><a href="rss.php?fid=$fid&auth=$rssauth" target="_blank"><img src="images/common/xml.gif" border="0" class="absmiddle" alt="{lang rss_subscribe_all}" /></a><!--{/if}-->
</p>
</div>
<div id="nav">
<div class="userinfolist">
<p><a id="forumlist" href="$indexname"{if $forumjump && $jsmenu[1]} class="dropmenu" onmouseover="showMenu(this.id)"{/if}>$bbname</a> $navigation</p>
<p>{lang forum_modedby}: <!--{if $moderatedby}-->$moderatedby<!--{else}-->{lang forum_opening}<!--{/if}--></p>
</div>
</div>
</div>
<!--{if $forum['rules'] || $forum['recommendlist']}-->
<table summary="Rules and Recommend" class="portalbox" cellpadding="0" cellspacing="1">
<tr>
<!--{if $forum['rules']}-->
<td id="rules" style="$collapse[rules]">
<span class="headactions recommendrules"><img id="rules_img" src="{IMGDIR}/collapsed_no.gif" title="{lang spread}" alt="{lang spread}" onclick="$('rules_link').style.display = '';toggle_collapse('rules', 1);<!--{if $forum['recommendlist']}-->$('recommendlist').className = '';<!--{/if}-->" /></span>
<h3>{lang forum_rules}</h3>
$forum[rules]
</td>
<!--{/if}-->
<!--{if $forum['recommendlist']}-->
<td id="recommendlist" {if $forum['rules']}{if !$collapse[rules]}class="rules" {/if}style="width: 50%;"{/if} style="$collapse[recommendlist]">
<span class="headactions recommendrules"><img id="recommendlist_img" src="{IMGDIR}/collapsed_no.gif" title="{lang spread}" alt="{lang spread}" onclick="$('recommendlist_link').style.display = '';toggle_collapse('recommendlist', 1);" /></span>
<h3>{lang forum_recommend} <!--{if $forum['ismoderator']}--><em>[<a href="modcp.php?action=forums&op=recommend&fid=$fid&frames=yes" target="_blank">{lang forum_recommend_admin}</a>]</em><!--{/if}--></h3>
<ul>
<!--{loop $forum['recommendlist'] $tid $thread}-->
<li><cite><a href="space.php?uid=$thread[authorid]" target="_blank">$thread[author]</a>: </cite><a href="viewthread.php?tid=$tid" $thread['subjectstyles'] target="_blank">$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</td>
<!--{/if}-->
</tr>
</table>
<!--{/if}-->
<!--{if $forum['modworks'] && $forum['ismoderator']}-->
<div class="maintable" id="pmprompt">
<div class="box" id="pmprompt">
<span class="headactions">
<a href="modcp.php?fid=$fid" target="_blank">{lang mod_new_detail}</a>
</span>
<h4><a href="modcp.php?fid=$fid" target="_blank">{lang mod_works_existence}</a></h4>
</div>
</div>
<!--{/if}-->
<!--{if $subexists}-->
<div class="mainbox forumlist">
{template forumdisplay_subforum}
</div>
<!--{/if}-->
<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['text'])}--><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1">$advlist[text]</table></div><!--{else}--><div id="ad_text"></div><!--{/if}-->
<div class="pages_btns">
$multipage
<!--{if $allowpost || !$discuz_uid}-->
<span class="postbtn" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=$fid&extra=$extra" title="{lang post_newthread}"><img src="{IMGDIR}/newtopic.gif" alt="{lang post_newthread}" /></a></span>
<!--{/if}-->
</div>
<!--{if $allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $allowpostvideo || $forum['threadtypes'] || !$discuz_uid}-->
<ul class="popupmenu_popup newspecialmenu" id="newspecial_menu" style="display: none">
<!--{if !$forum['allowspecialonly']}--><li><a href="post.php?action=newthread&fid=$fid&extra=$extra">{lang post_newthread}</a></li><!--{/if}-->
<!--{if $allowpostpoll || !$discuz_uid}--><li class="poll"><a href="post.php?action=newthread&fid=$fid&extra=$extra&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
<!--{if $allowposttrade || !$discuz_uid}--><li class="trade"><a href="post.php?action=newthread&fid=$fid&extra=$extra&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
<!--{if $allowpostreward || !$discuz_uid}--><li class="reward"><a href="post.php?action=newthread&fid=$fid&extra=$extra&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
<!--{if $allowpostactivity || !$discuz_uid}--><li class="activity"><a href="post.php?action=newthread&fid=$fid&extra=$extra&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
<!--{if $allowpostdebate || !$discuz_uid}--><li class="debate"><a href="post.php?action=newthread&fid=$fid&extra=$extra&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
<!--{if $allowpostvideo || !$discuz_uid}--><li class="video"><a href="post.php?action=newthread&fid=$fid&extra=$extra&special=6">{lang post_newthreadvideo}</a></li><!--{/if}-->
<!--{if $forum['threadtypes'] && !$forum['allowspecialonly']}-->
<!--{loop $forum['threadtypes']['types'] $id $threadtypes}-->
<!--{if $forum['threadtypes']['special'][$id] && $forum['threadtypes']['show'][$id]}-->
<li class="popupmenu_option"><a href="post.php?action=newthread&fid=$fid&extra=$extra&typeid=$id">$threadtypes</a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{loop $forum['typemodels'] $id $model}-->
<li class="popupmenu_option"><a href="post.php?action=newthread&fid=$fid&extra=$extra&modelid=$id">$model[name]</a></li>
<!--{/loop}-->
<!--{/if}-->
</ul>
<!--{/if}-->
<!--{if $infosidestatus[0]}-->
<div id="infosidemain">
<!--{/if}-->
<div id="headfilter">
<ul class="tabs">
<li {if empty($filter)} class="current"{/if} ><a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a></li>
<li {if $filter == 'digest'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=digest">{lang thread_digest}</a></li>
<!--{if $showpoll}--><li {if $filter == 'poll'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=poll">{lang thread_poll}</a></li><!--{/if}-->
<!--{if $showtrade}--><li {if $filter == 'trade'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=trade">{lang thread_trade}</a></li><!--{/if}-->
<!--{if $showreward}--><li {if $filter == 'reward'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=reward">{lang thread_reward}</a></li><!--{/if}-->
<!--{if $showactivity}--><li {if $filter == 'activity'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=activity">{lang thread_activity}</a></li><!--{/if}-->
<!--{if $showdebate}--><li {if $filter == 'debate'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=debate">{lang thread_debate}</a></li><!--{/if}-->
<!--{if $showvideo}--><li {if $filter == 'video'} class="current"{/if}><a href="forumdisplay.php?fid=$fid&filter=video">{lang thread_video}</a></li><!--{/if}-->
</ul>
</div>
<!--{if $forum['threadtypes']['special'][$typeid]}-->
<div style="float: right; margin-top: -24px; margin-right: 10px;">
<a href="search.php?srchtype=threadtype&typeid=$typeid&srchfid=$fid" target="_blank">{lang search_threadtype}</a>
</div>
<!--{/if}-->
<div class="mainbox threadlist">
<!--{if $forum['threadtypes'] && $forum['threadtypes']['listable']}-->
<div class="headactions">
<!--{loop $forum['threadtypes']['flat'] $id $name}--><!--{if $typeid != $id}--><a href="forumdisplay.php?fid=$fid&filter=type&typeid=$id">$name</a><!--{else}--><strong>$name</strong><!--{/if}--> <!--{/loop}-->
<!--{if $forum['threadtypes']['selectbox']}-->
<span id="threadtypesmenu" class="dropmenu" onmouseover="showMenu(this.id)">{lang admin_type_more}</span>
<div class="popupmenu_popup" id="threadtypesmenu_menu" style="display: none">
<ul>
<!--{loop $forum['threadtypes']['selectbox'] $id $name}-->
<li>
<!--{if $typeid != $id}-->
<a href="forumdisplay.php?fid=$fid&filter=type&typeid=$id&sid=$sid">$name</a>
<!--{else}-->
<strong>$name</strong>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<h1>
<a href="forumdisplay.php?fid=$fid" class="bold">$forum[name]</a>
</h1>
<form method="post" name="moderate" action="topicadmin.php?action=moderate&fid=$fid">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<table summary="forum_$fid" {if !$separatepos}id="forum_$fid"{/if} cellspacing="0" cellpadding="0">
<thead class="category">
<tr>
<td class="folder"> </td>
<td class="icon"> </td>
<th>{lang subject}</th>
<td class="author">{lang author}</td>
<td class="nums">{lang replies}/{lang views}</td>
<td class="lastpost">{lang lastpost}</td>
</tr>
</thead>
<!--{if $page == 1 && !empty($announcement)}-->
<tbody>
<tr>
<td class="folder"><img src="{IMGDIR}/folder_common.gif" alt="announcement" /></td>
<td class="icon"> </td>
<th>{lang announcement}: <!--{if empty($announcement['type'])}--><a href="announcement.php?id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a><!--{else}--><a href="$announcement[message]" target="_blank">$announcement[subject]</a><!--{/if}--></th>
<td class="author">
<cite><a href="space.php?uid=$announcement[authorid]">$announcement[author]</a></cite>
<em>$announcement[starttime]</em>
</td>
<td class="nums">-</td>
<td class="lastpost">-</td>
</tr>
</tbody>
<!--{/if}-->
<!--{if $threadcount}-->
<!--{loop $threadlist $key $thread}-->
<!--{if $separatepos == $key + 1}-->
</table>
<table summary="forum_$fid" id="forum_$fid" cellspacing="0" cellpadding="0">
<thead class="separation">
<tr><td> </td><td> </td><td colspan="4">{lang forum_normal_threads}</td></tr>
</thead>
<!--{/if}-->
<tbody id="$thread[id]" {if in_array($thread['displayorder'], array(4, 5))}style="display: none"{/if}>
<tr>
<td class="folder"><a href="viewthread.php?tid=$thread[tid]&extra=$extra" title="{lang target_blank}" target="_blank"><img src="{IMGDIR}/folder_$thread[folder].gif" /></a></td>
<td class="icon">
<!--{if $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}-->
<!--{if $thread['price'] > 0}-->
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
<!--{elseif $thread['price'] < 0}-->
<img src="{IMGDIR}/rewardsmallend.gif" alt="{lang thread_rewardend}" />
<!--{/if}-->
<!--{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 $thread['special'] == 6}-->
<img src="{IMGDIR}/videosmall.gif" alt="{lang thread_video}" />
<!--{else}-->
$thread['icon']
<!--{/if}-->
</td>
<th class="$thread[folder]" {if $forum['ismoderator']} ondblclick="ajaxget('modcp.php?action=editsubject&tid=$thread[tid]', 'thread_$thread[tid]', 'specialposts');doane(event);"{/if}>
<label>
<!--{if $thread['rate'] > 0}-->
<img src="{IMGDIR}/agree.gif" alt="" />
<!--{elseif $thread['rate'] < 0}-->
<img src="{IMGDIR}/disagree.gif" alt="" />
<!--{/if}-->
<!--{if in_array($thread['displayorder'], array(1, 2, 3))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$threadsticky[3-$thread[displayorder]]" />
<!--{/if}-->
<!--{if $thread['digest'] > 0}-->
<img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" />
<!--{/if}-->
</label>
<!--{if $forum['ismoderator']}-->
<!--{if $thread['fid'] == $fid && $thread['digest'] >= 0}-->
<input class="checkbox" type="checkbox" name="moderate[]" value="$thread[tid]" />
<!--{else}-->
<input class="checkbox" type="checkbox" disabled="disabled" />
<!--{/if}-->
<!--{/if}-->
<!--{if $thread['moved']}-->
<!--{if $forum['ismoderator']}-->
<a href="topicadmin.php?action=delete&tid=$thread[moved]">{lang thread_moved}:</a>
<!--{else}-->
{lang thread_moved}:
<!--{/if}-->
<!--{/if}-->
$thread[typeid]
<span id="thread_$thread[tid]"><a href="viewthread.php?tid=$thread[tid]&extra=$extra"$thread[highlight]>$thread[subject]</a></span>
<!--{if $thread['readperm']}--> - [{lang readperm} <span class="bold">$thread[readperm]</span>]<!--{/if}-->
<!--{if $thread['price'] > 0}-->
<!--{if $thread['special'] == '3'}-->
- [{lang thread_reward}
<!--{else}-->
- [{lang price}
<!--{/if}-->
{$extcredits[$creditstrans][title]} <span class="bold">$thread[price]</span> {$extcredits[$creditstrans][unit]}]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -