📄 viewthread.htm
字号:
<br>
<!--{/if}-->
{lang uid} $post[uid]<br>
{lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--><br>
{lang credits} $post[credits]<br>
{lang posts} $post[posts]<br>
<!--{loop $extcredits_thread $key $credit}-->
$credit[title] $post[$key] $credit[unit]<br>
<!--{/loop}-->
{lang readperm} $post[readaccess]<br>
{lang regtime} $post[regdate]
<!--{loop $_DCACHE['fields_thread'] $field}-->
<br>$field[title]
<!--{if $field['selective']}-->
$field['choices'][$post['field_'.$field['fieldid']]]
<!--{else}-->
$post['field_'.$field['fieldid']]
<!--{/if}-->
<!--{/loop}-->
<!--{if $post['location']}--><br>{lang location} $post[location]<!--{/if}--><br>
<!--{if $vtonlinestatus && $post['authorid']}-->
<!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
{lang online_status} <b>{lang online}</b>
<!--{else}-->
{lang online_status} {lang offline}
<!--{/if}-->
<!--{/if}-->
<!--{if $avatarshowpos == 2 && $showavatars}--><br><br><center>$post[avatarshow]</center><!--{/if}-->
</div>
<!--{if $post['alipay']}--><br><a href="https://www.alipay.com/payto:$post[alipay]?partner=20880020258585430156" target="_blank"><img src="{IMGDIR}/payto.gif" border="0" alt="{lang payto_author}" /></a><!--{/if}-->
<!--{else}-->
<!--{if !$post['authorid']}-->
<span class="bold">{lang guest}</span> <span class="smalltxt">$post[useip]</span><br><span class="smalltxt">{lang unregistered}
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<span class="bold">
<!--{if $forum['ismoderator']}--><a href="viewpro.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
</span><br>{lang member_anonymous}
<!--{else}-->
<span class="bold">$post[author]</span><br>
{lang member_deleted}
<!--{/if}-->
<br><br><br><br><br><br><br><br><br><br>
<!--{/if}-->
</td>
<td width="82%" valign="top" style="padding: 0px">
<table border="0" cellspacing="0" cellpadding="{TABLESPACE}" class="t_msg">
<tr><td>
<div>
<div class="right t_number"><a href="###" class="bold" onclick="window.clipboardData.setData('text','{$boardurl}viewthread.php?tid=$tid&page=$page#pid$post[pid]')">#$post[number]</a></div>
<!--{if $thread['special'] == 3 && $thread['price'] < 0 && $thread['dateline'] + 1 == $post['dbdateline'] && $post['first'] == 0 }-->
<div class="right" style="padding-top: {TABLESPACE}px; background:url({IMGDIR}/flag.gif) no-repeat"><b> {lang reward_bestanswer}</b> </div>
<!--{/if}-->
<div style="padding-top: {TABLESPACE}px;">
<!--{if $thread['special'] != 3 || $thread['price'] >= 0 || $thread['dateline'] + 1 != $post['dbdateline'] || $post['first']}-->{lang poston} $post[dateline] <!--{/if}-->
<!--{if $post['username'] && !$post['anonymous']}-->
<a href="viewpro.php?uid=$post[authorid]">{lang view_profile}</a>
<!--{if $post['site']}--><a href="$post[site]" target="_blank">{lang homepage}</a><!--{/if}-->
<!--{if $supe_status && $post['xspacestatus']}--><a href="$supe_siteurl/index.php?action/space/uid/$post[authorid]" target="_blank">{lang space}</a>
<!--{elseif $post['allowuseblog']}--><a href="blog.php?uid=$post[authorid]" target="_blank">{lang blog}</a>
<!--{/if}-->
<a href="pm.php?action=send&uid=$post[authorid]" target="_blank">{lang pm}</a>
<!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$bbname&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:$post[qq]:4" border="0" alt="QQ" /></a><!--{/if}-->
<!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank"><img src="http://web.icq.com/whitepages/online?icq=$post[icq]&img=5" alt="ICQ {lang online_status}" border="0" /></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!" border="0" /></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[taobao]')+'&s=2"><img src="http://amos1.taobao.com/online.ww?v=2&uid='+encodeURIComponent('$post[taobao]')+'&s=2" alt="{lang taobao}" border="0" /></a> ');</script><!--{/if}-->
<!--{/if}-->
</div></div>
</td></tr>
<tr><td valign="top" class="line" height="100%" style="padding-top: 10px;">
<!--{if $avatarshowpos == 1 && $showavatars}--><div style="float: right">$post[avatarshow]</div><!--{/if}-->
<a name="pid$post[pid]" href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate} $post[rate]">$post[ratings]</a>
<!--{if $post['subject']}-->
<span class="bold">$post[subject]</span><br><br>
<!--{/if}-->
<!--{if $adminid !=1 && $bannedmessages && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->
{lang message_banned}
<!--{else}-->
<div style="font-size: {MSGFONTSIZE}">$post[message]</div>
<!--{if $post['attachment']}-->
<br><br><img src="images/attachicons/common.gif" alt="" /> {lang attachment}: <i>{lang attach_nopermission}</i>
<!--{else}-->
<!--{loop $post['attachments'] $attach}-->
<br><br>$attach[attachicon]
<!--{if $attach['attachimg']}-->
<a href="member.php?action=credits&view=getattach" title="{lang credits_policy_view}" target="_blank">{lang attach_img}</a>:
<!--{if $attach['readperm']}-->, {lang readperm} $attach[readperm]<!--{/if}-->
<!--{if $attach['description']}-->[{$attach[description]}]<!--{/if}--> <a href="attachment.php?aid=$attach[aid]" target="_blank" class="bold">$attach[filename]</a> ($attach[dateline], $attach[attachsize])<br><br>
<!--{if $attachrefcheck}-->
<img src="attachment.php?aid=$attach[aid]&noupdate=yes" border="0" onload="if(this.width >screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='{lang image_open_zoom}';}" onmouseover="if(this.resized) this.style.cursor='hand';" onclick="if(!this.resized) {return false;} else {window.open('attachment.php?aid=$attach[aid]');}" onmousewheel="return imgzoom(this);" alt="" />
<!--{else}-->
<img src="$attachurl/$attach[attachment]" border="0" onload="if(this.width >screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='{lang image_open_zoom}';}" onmouseover="if(this.resized) this.style.cursor='hand';" onclick="if(!this.resized) {return false;} else {window.open('$attachurl/$attach[attachment]');}" onmousewheel="return imgzoom(this);" alt="" />
<!--{/if}-->
<!--{else}-->
<a href="member.php?action=credits&view=getattach" title="{lang credits_policy_view}" target="_blank">{lang attachment}</a>:
<!--{if $attach['description']}-->[{$attach[description]}]<!--{/if}--> <a href="attachment.php?aid=$attach[aid]" target="_blank" class="bold">$attach[filename]</a> ($attach[dateline], $attach[attachsize])<br>
<span class="smalltxt">{lang attach_download_count} $attach[downloads]
<!--{if $attach['readperm']}-->, {lang readperm} $attach[readperm]<!--{/if}--></span><br>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $post['number'] == 1 && $relatedkeywords}--><br><br><span class="bold">{lang thread_keywords}</span> $relatedkeywords<br><br><!--{/if}-->
<!--{if $relatedthreadlist && !$qihoo_location && $post['number'] == 1}-->
<br><fieldset><legend>{lang qihoo_relatedthreads}</legend><br>
<!--{loop $relatedthreadlist $key $threads}-->
<a href="viewthread.php?tid=$threads[tid]" target="_blank">$threads[title]</a><br>
<!--{/loop}-->
</fieldset>
<!--{/if}-->
<!--{if $post['ratelog']}-->
<br><fieldset><legend><a href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate_view}">{lang thread_rate_log_lately}</a></legend><br>
<table border="0" cellspacing="0" cellpadding="0">
<!--{loop $post['ratelog'] $ratelog}-->
<tr><td><a href="viewpro.php?uid=$ratelog[uid]" target="_blank">$ratelog[username]</a></td>
<td> $ratelog[dateline]</td><td> {$extcredits[$ratelog[extcredits]][title]}</td><td> <b>$ratelog[score]</b></td>
<td> $ratelog[reason]</td></tr>
<!--{/loop}-->
</table>
</fieldset>
<!--{/if}-->
</td></tr>
<!--{if $post['signature'] && !$post['anonymous'] && $showsignatures}-->
<tr><td valign="bottom">
<br><br><br><img src="images/common/sigline.gif" alt="" /><br><div class="signature" $maxsigrows>$post[signature]</div>
</td></tr>
<!--{/if}-->
<tr><td align="right">
<!--{if ($forum['ismoderator'] || $thread['authorid'] == $discuz_uid) && $discuz_uid != $post['authorid'] && $post['authorid'] != $thread['authorid'] && $post['first'] == 0 && $thread['price'] > 0 && $thread['special'] == 3}-->
<a href="###" onclick="setanswer($post['pid'])"><img src="{IMGDIR}/right.gif" border="0" alt="" /> <span class="bold">{lang reward_set_bestanswer}</span></a>
<!--{/if}-->
<!--{if $forum['ismoderator'] || $post['authorid'] == $discuz_uid}--> <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">{lang reply_quote}</a><!--{/if}-->
<!--{if $discuz_uid && $reportpost}--> <a href="misc.php?action=report&fid=$fid&tid=$tid&pid=$post[pid]&page=$page">{lang reportpost}</a><!--{/if}-->
<!--{if $raterange && $post['authorid']}--> <a href="misc.php?action=rate&tid=$tid&pid=$post[pid]&page=$page">{lang rate}</a><!--{/if}-->
<!--{if $fastpost && $allowpostreply}--><a href="###" onclick="fastreply('{lang post_fastreply_author}')">{lang reply}</a><!--{/if}-->
<a href="###" onclick="scroll(0,0)"><img src="{IMGDIR}/top.gif" border="0" alt="{lang top}" /></a>
<!--{if $forum['ismoderator'] && $allowdelpost}--><!--{if $post['number'] == 1}--><input class="checkbox" type="checkbox" disabled><!--{else}--><input class="checkbox" type="checkbox" name="delete[]" value="$post[pid]"><!--{/if}--><!--{/if}-->
</td></tr>
<!--{if !empty($advlist['thread'][$post['count']])}--><tr class="t_infoline"><td class="line" style="padding: 5px">[{lang advertisement}] $advlist[thread][$post[count]]</td></tr><!--{/if}-->
<!--{/if}-->
</table></td></tr></table></div>
<!--{/loop}-->
</form>
</div>
<script type="text/javascript">
function setanswer(pid){
if(confirm("{lang reward_set_bestanswer_confirm}")){
document.delpost.action='misc.php?action=bestanswer&tid=$thread['tid']&pid=' + pid + '&bestanswersubmit=yes';
document.delpost.submit();
}
}
</script>
<div class="maintable" style="clear:both">
<table width="{TABLEWIDTH}" cellspacing="0" cellpadding="0" align="center">
<tr><td valign="top">$multipage</td><td width="40%" align="right">
<!--{if $allowpostreply || !$discuz_uid}--><div class="right"> <a href="post.php?action=reply&fid=$fid&tid=$tid&extra=$extra"><img src="{IMGDIR}/reply.gif" border="0" alt="" /></a></div><!--{/if}-->
<!--{if $allowpost || !$discuz_uid}-->
<div id="newspecialfooter" class="right"><a href="post.php?action=newthread&fid=$fid&extra=$extra"><img src="{IMGDIR}/newtopic.gif" border="0" alt="" /></a><a href="###"><img src="{IMGDIR}/newspecial.gif" border="0" alt="" /></a><script type="text/javascript">menuregister(false, "newspecialfooter", true)</script></div>
<!--{if ($allowposttrade && $ec_id) || $allowpostpoll || $allowpostreward || $allowpostactivity || !$discuz_uid}-->
<div class="popupmenu_popup newspecialmenu" id="newspecialfooter_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}-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -