📄 viewthread.htm
字号:
{lang unregistered}
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<!--{if $forum['ismoderator']}--><a href="space.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
{lang member_anonymous}
<!--{else}-->
$post[author]</cite>
{lang member_deleted}
<!--{/if}-->
<!--{/if}-->
</td>
<td class="postcontent" {if $forum['ismoderator'] && ($thread['digest'] >= 0 || !$post['first'])} ondblclick="ajaxget('modcp.php?action=editmessage&pid=$post[pid]&tid=$post[tid]', 'postmessage_$post[pid]')"{/if}>
<div class="postinfo">
<strong title="{lang post_copylink}" id="postnum$post[pid]" onclick="setcopy('{$boardurl}viewthread.php?tid=$tid&page=$page$fromuid#pid$post[pid]', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}-->{$post[number]}{$postno[0]}<!--{/if}--></strong>
<!--{if MSGBIGSIZE || MSGSMALLSIZE}-->
<!--{if MSGBIGSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_bigfont'">{lang big}</em><!--{/if}-->
<em onclick="$('postmessage_$post[pid]').className='t_msgfont'">{lang middle}</em>
<!--{if MSGSMALLSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_smallfont'">{lang small}</em><!--{/if}-->
<!--{/if}-->
<!--{if $thread['price'] >= 0 || $post['first']}-->{lang poston} $post[dateline] <!--{/if}-->
<!--{if $post['authorid'] && !$post['anonymous']}-->
<!--{if !$authorid}-->
<a href="viewthread.php?tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
<!--{else}-->
<a href="viewthread.php?tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
<!--{/if}-->
<!--{/if}-->
</div>
<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['thread2'][$post['count']])}--><div class="ad_textlink2" id="ad_thread2_$post[count]">$advlist[thread2][$post[count]]</div><!--{else}--><div id="ad_thread2_$post[count]"></div><!--{/if}-->
<div class="postmessage defaultpost">
<!--{if !empty($post[ratings])}-->
<span class="postratings"><a href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate} $post[rate]">$post[ratings]</a></span>
<!--{/if}-->
<!--{if $post['warned']}-->
<span class="postratings"><a href="misc.php?action=viewwarning&tid=$tid&pid=$post[pid]" title="{lang warn_get}"><img src="{IMGDIR}/warning.gif" border="0" /></a></span>
<!--{/if}-->
<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['thread3'][$post['count']])}--><div class="ad_pip" id="ad_thread3_$post[count]">$advlist[thread3][$post[count]]</div><!--{else}--><div id="ad_thread3_$post[count]"></div><!--{/if}--><div id="ad_thread4_$post[count]"></div>
<!--{if $post['subject']}-->
<h2>$post[subject]</h2>
<!--{/if}-->
<!--{if !$typetemplate && $optionlist && $post['first'] && !($post['status'] & 1) && !$threadpay}-->
<div class="box typeoption">
<h4>{lang threadtype_option} - $forum[threadtypes][types][$thread[typeid]]</h4>
<table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0">
<!--{loop $optionlist $option}-->
<tr>
<th>$option[title]</th>
<td><!--{if $option['value']}-->$option[value]<!--{else}-->-<!--{/if}--></td>
</tr>
<!--{/loop}-->
</table>
</div>
<!--{/if}-->
<!--{if $adminid != 1 && $bannedmessages && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->
<div class="notice" style="width: 500px">{lang message_banned}</div>
<!--{elseif $adminid != 1 && $post['status'] & 1}-->
<div class="notice" style="width: 500px">{lang message_single_banned}</div>
<!--{elseif $post['first'] && $threadpay}-->
{subtemplate viewthread_pay}
<!--{else}-->
<!--{if $bannedmessages && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->
<div class="notice" style="width: 500px">{lang admin_message_banned}</div>
<!--{elseif $post['status'] & 1}-->
<div class="notice" style="width: 500px">{lang admin_message_single_banned}</div>
<!--{/if}-->
<!--{if $post['number'] == 1 && $typetemplate}-->$typetemplate<!--{/if}-->
<div id="postmessage_$post[pid]" class="t_msgfont">$post[message]</div>
<!--{if $post['attachment']}-->
<div class="notice" style="width: 500px">{lang attachment}: <em>{lang attach_nopermission}</em></div>
<!--{elseif $hideattach[$post[pid]] && $post['attachments']}-->
<div class="notice" style="width: 500px">{lang attachment}: <em>{lang attachment_reply_show}</em></div>
<!--{elseif $post['attachlist']}-->
<div class="box postattachlist">
<h4>{lang attachment}</h4>
$post[attachlist]
</div>
<!--{/if}-->
<!--{if $post['number'] == 1 && ($thread['tags'] || $relatedkeywords)}-->
<p class="posttags">{lang thread_keywords}
<!--{if $thread['tags']}-->$thread[tags]<!--{/if}-->
<!--{if $relatedkeywords}--><span class="postkeywords">$relatedkeywords</span><!--{/if}-->
</p>
<!--{/if}-->
<!--{if $relatedthreadlist && !$qihoo['relate']['position'] && $post['number'] == 1}-->
<fieldset>
<legend>{lang qihoo_relatedthreads}</legend>
<ul>
<!--{loop $relatedthreadlist $key $threads}-->
<!--{if $threads[tid] != $tid}-->
<li style="padding: 3px">
<!--{if !$threads['insite']}-->
[{lang qihoo_webthread}] <a href="topic.php?url={echo urlencode($threads[tid])}&md5={echo md5($threads[tid])}&statsdata=$fid||$tid" target="_blank">$threads[title]</a>
[ <a href="post.php?action=newthread&fid=$fid&extra=$extra&url={echo urlencode($threads[tid])}&md5={echo md5($threads[tid])}&from=direct" style="color: #090" target="_blank">{lang reprint}</a> ]
<!--{else}-->
<a href="viewthread.php?tid=$threads[tid]&statsdata=$fid||$tid" target="_blank">$threads[title]</a>
<!--{/if}-->
</li>
<!--{/if}-->
<!--{/loop}-->
<li style="text-align:right"><a style="color: #333; background: none; line-height: 22px;" href="http://search.qihoo.com/sint/qusearch.html?kw=$searchkeywords&sort=rdate&ics=$charset&domain=$site&tshow=1" target="_blank">{lang thread_more_related_threads}</a></li>
</ul>
</fieldset>
<!--{/if}-->
<!--{if $post['first'] && $relatedtagstatus}-->
<script type="text/javascript" src="tag.php?action=relatetag&rtid=$tid"></script>
<!--{/if}-->
<!--{if !empty($post['ratelog'])}-->
<fieldset>
<legend><a href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate_view}">{lang thread_rate_log_lately}</a></legend>
<ul>
<div id="post_rate_$post[pid]"></div>
<!--{loop $post['ratelog'] $ratelog}-->
<li>
<cite><a href="space.php?uid=$ratelog[uid]" target="_blank">$ratelog[username]</a></cite>
{$extcredits[$ratelog[extcredits]][title]}
<strong>$ratelog[score]</strong>
<em>$ratelog[reason]</em>
$ratelog[dateline]
</li>
<!--{/loop}-->
</ul>
</fieldset>
<!--{else}-->
<div id="post_rate_div_$post[pid]"></div>
<!--{/if}-->
<!--{/if}-->
</div>
<!--{if $post['signature'] && !$post['anonymous'] && $showsignatures}-->
<div class="signatures" style="maxHeightIE: {$maxsigrows}px;">
$post[signature]
</div>
<!--{/if}-->
</td>
</tr>
<tr>
<td class="postauthor">
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<div class="popupmenu_popup userinfopanel" id="userinfo$post[pid]_menu" style="display: none;">
<!--{if $post['msn'] || $post['qq'] || $post['icq'] || $post['yahoo'] || $post['taobao']}-->
<div class="imicons">
<!--{if $post['msn']}-->
<a target='_blank' href='http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=$post[msn]&mkt=zh-cn'><img style='border-style: none;' src='http://messenger.services.live.com/users/$post[msn]/presenceimage?mkt=zh-cn' width='16' height='16' /></a>
<!--{/if}-->
<!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$bbname&Menu=yes" target="_blank"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
<!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
<!--{if $post['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}-->
<!--{if $post['taobao']}--><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&s=2"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a>');</script><!--{/if}-->
</div>
<!--{/if}-->
<dl>{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>
<!--{if $post['site']}-->
<p><a href="$post[site]" target="_blank">{lang member_homepage}</a></p>
<!--{/if}-->
<p><a href="space.php?uid=$post[authorid]" target="_blank">{lang member_viewpro}</a></p>
<!--{if $allowedituser}-->
<p><a href="{if $adminid == 1}admincp.php?action=members&username=$post[usernameenc]&submit=yes&frames=yes{else}modcp.php?action=members&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit_member}</a></p>
<!--{/if}-->
<!--{if $allowbanuser}-->
<p><a href="{if $adminid == 1}admincp.php?action=members&operation=ban&uid=$post[authorid]&membersubmit=yes&frames=yes{else}modcp.php?action=members&op=ban&uid=$post[authorid]{/if}" target="_blank">{lang ban_member}</a></p>
<!--{/if}-->
</div>
<!--{/if}-->
</td>
<td class="postcontent">
<div class="postactions">
<!--{if $forum['ismoderator'] && ($allowdelpost || $allowbanpost)}-->
<!--{if $post['first'] && $thread['digest'] == -1}-->
<input type="checkbox" disabled="disabled" />
<!--{else}-->
<input type="checkbox" name="topiclist[]" value="$post[pid]" />
<!--{/if}-->
<!--{/if}-->
<p>
<!--{if (($forum['ismoderator'] && $alloweditpost && !(in_array($post['adminid'], array(1, 2, 3)) && $adminid > $post['adminid'])) || ($forum['alloweditpost'] && $discuz_uid && $post['authorid'] == $discuz_uid)) && ($thread['digest'] >= 0 || !$post['first'])}-->
<a href="post.php?action=edit&fid=$fid&tid=$tid&pid=$post[pid]&page=$page&extra=$extra">{lang edit}</a>
<!--{/if}-->
<!--{if $allowpostreply}-->
<a href="post.php?action=reply&fid=$fid&tid=$tid&repquote=$post[pid]&extra=$extra&page=$page">{lang reply_quote}</a>
<!--{/if}-->
<!--{if $discuz_uid && $magicstatus}-->
<a href="magic.php?action=user&pid=$post[pid]" target="_blank">{lang magics_use}</a>
<!--{/if}-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -