📄 forumdisplay.htm
字号:
{template header}
<div class="subtable" style="width:{TABLEWIDTH}">
<div class="right" style="margin-bottom: 5px;">
<!--{if $supe_status && $discuz_uid}-->
<!--{if !$xspacestatus}-->
<a href="$supe_siteurl/index.php?action/register" target="_blank">{lang supe_signin_xspace}</a> |
<!--{else}-->
<a href="$supe_siteurl/index.php?action/space/uid/$discuz_uid" target="_blank">{lang supe_myxspace}</a> |
<!--{/if}-->
<!--{/if}-->
<a href="my.php?item=favorites&favadd=$fid&type=forum">{lang forum_favorite}</a> |
<a href="my.php?item=threads&srchfid=$fid">{lang show_mytopics}</a>
<!--{if $allowmodpost && $forum['modnewposts']}-->
| <a href="admincp.php?action=modthreads&frames=yes" target="_blank">{lang forum_moderate}{lang forum_moderate_threads}</a>
<!--{if $forum['modnewposts'] == 2}-->| <a href="admincp.php?action=modreplies&frames=yes" 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 $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}--></div>
<div class="nav"><!--{if $forumjump && $jsmenu[1]}--><span id="forumlist"><a href="$indexname">$bbname</a><script type="text/javascript">menuregister(false, "forumlist")</script></span><!--{else}--><a href="$indexname">$bbname</a><!--{/if}--> $navigation</div>
</div></div>
<div class="maintable">
<div class="subtable outertxt" style="width: {TABLEWIDTH}; margin-top: 5px; clear: both;">
<div class="right">
<!--{if $searchboxstatus}-->
<form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
<input type="hidden" name="searchsubmit" value="yes">
<input type="text" name="srchtxt" value="$qihoo_searchboxtxt" size="27" class="input" style="{BGCODE}" onmouseover="this.focus();this.value='';this.onmouseover=null;" onfocus="this.select()">
<!--{if $qihoo_allsearch != '2'}--><input name="searchsubmit" class="button" type="submit" value="{lang search}"><!--{/if}-->
<!--{if $qihoo_allsearch}-->
<input name="allsearchsubmit" class="button" type="submit" value="{lang qihoo_search}">
<!--{/if}-->
</form>
<!--{/if}-->
</div>
{lang forum_modedby}:
<!--{if $moderatedby}-->$moderatedby<!--{else}-->{lang forum_opening}<!--{/if}-->
</div><br></div>
<!--{if $forum['rules']}-->
<div class="maintable">
<div class="spaceborder" style="width: {TABLEWIDTH}">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center">
<tr class="header"><td><a href="###" onclick="toggle_collapse('rules_$fid');"><img id="rules_{$fid}_img" src="{IMGDIR}/$rulescollapseimg" align="right" border="0" alt="" /></a>{lang forum_rules}</td></tr>
<tbody id="rules_$fid" style="$collapserules">
<tr><td class="altbg2 bottom">$forum[rules]</td></tr>
</tbody></table></div><br>
</div>
<!--{/if}-->
<!--{if !empty($newpmexists)}-->
<div class="maintable">
{template pmprompt}
</div>
<!--{/if}-->
<!--{if $subexists}-->
<div class="maintable">
{template forumdisplay_subforum}
</div>
<!--{/if}-->
<!--{if !empty($advlist['text'])}-->
<div class="maintable">
<div class="spaceborder" style="width: {TABLEWIDTH}">
<table cellspacing="1" border="0" cellpadding="{TABLESPACE}" width="100%" style="background: {BGBORDER}">$advlist[text]</table>
</div><br></div>
<!--{/if}-->
<div class="maintable" style="clear:both">
<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center" style="margin-bottom: {TABLESPACE}px">
<tr><td valign="bottom">$multipage</td>
<td align="right" valign="bottom">
<!--{if $allowpost || !$discuz_uid}-->
<div id="newspecialheader" class="right"><a href="post.php?action=newthread&fid=$fid&extra=$extra"><img src="{IMGDIR}/newtopic.gif" border="0" class="absmiddle" alt="" /></a><a href="###"><img src="{IMGDIR}/newspecial.gif" border="0" class="absmiddle" alt="" /></a><script type="text/javascript">menuregister(false, "newspecialheader", true)</script></div>
<!--{if ($allowposttrade && $ec_id) || $allowpostpoll || $allowpostreward || $allowpostactivity || !$discuz_uid}-->
<div class="popupmenu_popup newspecialmenu" id="newspecialheader_menu" style="display: none">
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<!--{if $allowpostpoll || !$discuz_uid}--><tr><td class="popupmenu_option"><div class="newspecial"><a href="post.php?action=newthread&fid=$fid&extra=$extra&poll=yes">{lang thread_poll}</a></div></td></tr><!--{/if}-->
<!--{if ($allowposttrade && $ec_id) || !$discuz_uid}--><tr><td class="popupmenu_option"><div class="newspecial"><a href="post.php?action=newthread&fid=$fid&extra=$extra&trade=yes">{lang thread_trade}</a></div></td></tr><!--{/if}-->
<!--{if $allowpostreward || !$discuz_uid}--><tr><td class="popupmenu_option"><div class="newspecial"><a href="post.php?action=newthread&fid=$fid&extra=$extra&reward=yes">{lang thread_reward}</a></div></td></tr><!--{/if}-->
<!--{if $allowpostactivity || !$discuz_uid}--><tr><td class="popupmenu_option"><div class="newspecial"><a href="post.php?action=newthread&fid=$fid&extra=$extra&activity=yes">{lang thread_activity}</a></div></td></tr><!--{/if}-->
</table></div>
<!--{/if}-->
<!--{/if}-->
</td></tr></table></div>
<div class="maintable">
<div class="spaceborder" style="width: {TABLEWIDTH}; border-bottom: none"><table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
<tr class="header"><td colspan="6"><table width="100%" cellspacing="0" cellpadding="0"><tr><td><a href="forumdisplay.php?fid=$fid" class="bold">$forum[name]</a></td><td align="right">
<a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a>
<!--{if $filter == 'digest'}--><span class="bold">{lang thread_digest}</span><!--{else}--><a href="forumdisplay.php?fid=$fid&filter=digest">{lang thread_digest}</a><!--{/if}-->
<!--{if $showpoll}--><!--{if $filter == 'poll'}--><span class="bold">{lang thread_poll}</span><!--{else}--><a href="forumdisplay.php?fid=$fid&filter=poll">{lang thread_poll}</a><!--{/if}--><!--{/if}-->
<!--{if $showtrade && $ec_id}--><!--{if $filter == 'trade'}--><span class="bold">{lang thread_trade}</span><!--{else}--><a href="forumdisplay.php?fid=$fid&filter=trade">{lang thread_trade}</a><!--{/if}--><!--{/if}-->
<!--{if $showreward}--><!--{if $filter == 'reward'}--><span class="bold">{lang thread_reward}</span><!--{else}--><a href="forumdisplay.php?fid=$fid&filter=reward">{lang thread_reward}</a><!--{/if}--><!--{/if}-->
<!--{if $showactivity}--><!--{if $filter == 'activity'}--><span class="bold">{lang thread_activity}</span><!--{else}--><a href="forumdisplay.php?fid=$fid&filter=activity">{lang thread_activity}</a><!--{/if}--><!--{/if}-->
<!--{if $forum['threadtypes'] && $forum['threadtypes']['listable']}-->
<!--{loop $forum['threadtypes']['flat'] $id $name}--><!--{if $typeid != $id}--><a href="forumdisplay.php?fid=$fid&filter=type&typeid=$id">$name</a><!--{else}--><span class="bold">$name</span><!--{/if}--> <!--{/loop}-->
<!--{if $forum['threadtypes']['selectbox']}-->
<span id="threadtypesmenu"><a href="###">{lang admin_type_more} ...<script type="text/javascript">menuregister(false, "threadtypesmenu", true)</script></a></span>
<div class="popupmenu_popup" id="threadtypesmenu_menu" style="display: none">
<table cellpadding="4" cellspacing="0" border="0" width="50">
<!--{loop $forum['threadtypes']['selectbox'] $id $name}-->
<tr><td class="popupmenu_option" align="center">
<!--{if $typeid != $id}-->
<a href="forumdisplay.php?fid=$fid&filter=type&typeid=$id&sid=$sid">$name</a>
<!--{else}-->
<span class="bold" style="color: {TEXT}">$name</span>
<!--{/if}-->
</td></tr>
<!--{/loop}-->
</table></div>
<!--{/if}-->
<!--{/if}-->
</td></tr></table></td></tr>
<tr class="category">
<td width="4%"> </td>
<td width="25"> </td>
<td width="55%" align="left">{lang subject}</td>
<td width="12%" align="center">{lang author}</td>
<td width="8%" align="center">{lang replies}/{lang views}</td>
<td width="17%" align="center">{lang lastpost}</td>
</tr>
<!--{if $page == 1 && !empty($announcement)}-->
<tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
<td align="center"><!--{if empty($announcement['redirect'])}--><a href="announcement.php?id=$announcement[id]#$announcement[id]" target="_blank"><!--{else}--><a href="$announcement[message]" target="_blank"><!--{/if}-->
<img src="{IMGDIR}/lock_folder.gif" border="0" alt="" /></a></td>
<td colspan="2">{lang announcement}:
<!--{if empty($announcement['redirect'])}--><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}--></td>
<td align="center"><a href="viewpro.php?uid=$announcement[authorid]">$announcement[author]</a><br><span class="smalltxt">$announcement[starttime]</span></td>
<td align="center">-</td>
<td align="center">-</td>
</tr>
<!--{/if}-->
</table></div></div>
<form method="post" name="moderate" action="topicadmin.php?action=moderate&fid=$fid">
<input type="hidden" name="formhash" value="{FORMHASH}">
<!--{if $threadcount}-->
<div class="maintable"><div class="spaceborder" style="width: {TABLEWIDTH}; border-top: none;border-bottom: none">
<!--{loop $threadlist $key $thread}-->
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
<!--{if $separatepos == $key + 1}-->
<tr class="category"><td> </td><td colspan="6">{lang forum_normal_threads}</td></tr>
<!--{/if}-->
<tr>
<td class="f_folder"><a href="viewthread.php?tid=$thread[tid]" target="_blank"><img src="{IMGDIR}/$thread[folder]" border="0" alt="" /></a></td>
<td class="f_icon">$thread['icon']</td>
<td class="f_title">
<div class="right">
<!--{if $thread['rate'] > 0}-->
<img src="{IMGDIR}/agree.gif" alt="" />
<!--{elseif $thread['rate'] < 0}-->
<img src="{IMGDIR}/disagree.gif" alt="" />
<!--{/if}-->
<!--{if $thread['special'] == 1}-->
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
<!--{/if}-->
<!--{if $thread['special'] == 2}-->
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
<!--{/if}-->
<!--{if $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}-->
<!--{/if}-->
<!--{if $thread['special'] == 4}-->
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
<!--{/if}-->
<!--{if $thread['attachment']}-->
<img src="images/attachicons/common.gif" alt="{lang attachment}" />
<!--{/if}-->
<!--{if $thread['displayorder']}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$threadsticky[3-$thread[displayorder]]" />
<!--{/if}-->
<!--{if $thread['digest']}-->
<img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" />
<!--{/if}-->
</div>
<span class="lighttxt">
<!--{if $forum['ismoderator']}-->
<!--{if $thread['fid'] == $fid}-->
<input class="checkbox" type="checkbox" name="moderate[]" value="$thread[tid]">
<!--{else}-->
<input class="checkbox" type="checkbox" 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>
<a href="viewthread.php?tid=$thread[tid]&extra=$extra"$thread[highlight]>$thread[subject]</a><span class="lighttxt">
<!--{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]}]
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
- [{lang reward_solved}]
<!--{/if}--></span>
<span class="smalltxt">$thread[multipage]</span>
<!--{if $thread['new']}-->
<a href="redirect.php?tid=$thread[tid]&goto=newpost$highlight#newpost"><img src="{IMGDIR}/firstnew.gif" border="0" class="absmiddle" alt="" /></a>
<!--{/if}-->
</td><td class="f_author">
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="viewpro.php?uid=$thread[authorid]">$thread[author]</a>
<!--{else}-->
<!--{if $forum['ismoderator']}-->
<a href="viewpro.php?uid=$thread[authorid]">{lang anonymous}</a>
<!--{else}-->
{lang anonymous}
<!--{/if}-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -