⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewthread_node.htm

📁 Discuz功能源码(开源)
💻 HTM
📖 第 1 页 / 共 2 页
字号:
					<!--{/if}-->					<!--{if $thread[special] == 1}-->{template viewthread_poll}					<!--{elseif $thread[special] == 3}-->{template viewthread_reward_price}					<!--{elseif $thread[special] == 4}-->{template viewthread_activity_info}					<!--{elseif $thread[special] == 5}-->{template viewthread_debate_umpire}					<!--{elseif $thread[special] == 6}-->{template viewthread_video}					<!--{/if}-->				<!--{/if}-->				<div class="{if !$thread[special]}t_msgfontfix{else}specialmsg{/if}">					<table cellspacing="0" cellpadding="0"><tr><td class="t_msgfont" id="postmessage_$post[pid]">$post[message]</td></tr></table>					<!--{if $post['first']}-->						<!--{if $thread[special] == 2}-->{template viewthread_trade}						<!--{elseif $thread[special] == 3}-->{template viewthread_reward}						<!--{elseif $thread[special] == 4}-->{template viewthread_activity}						<!--{elseif $thread[special] == 5}-->{template viewthread_debate}						<!--{/if}-->					<!--{/if}-->					<!--{if $post['attachment']}-->						<div class="locked">{lang attachment}: <em>{lang attach_nopermission}</em></div>					<!--{elseif $hideattach[$post[pid]] && $post['attachments']}-->						<div class="locked">{lang attachment}: <em>{lang attachment_reply_show}</em></div>					<!--{elseif $post['imagelist'] || $post['attachlist']}-->						<div class="postattachlist">							<!--{if $post['imagelist']}-->								$post['imagelist']							<!--{/if}-->							<!--{if $post['attachlist']}-->								$post[attachlist]							<!--{/if}-->						</div>					<!--{/if}-->					<!--{if $relatedthreadlist && !$qihoo['relate']['position'] && $post['first']}-->						<div class="tagrelated">							<h3><em><a href="http://search.qihoo.com/sint/qusearch.html?kw=$searchkeywords&amp;sort=rdate&amp;ics=$charset&amp;domain=$site&amp;tshow=1" target="_blank">{lang thread_more_related_threads}</a></em>{lang qihoo_relatedthreads}</h3>							<ul>							<!--{loop $relatedthreadlist $key $threads}-->								<!--{if $threads[tid] != $tid}-->								<li>									<!--{if !$threads['insite']}-->									[{lang qihoo_webthread}] <a href="topic.php?url={echo urlencode($threads[tid])}&amp;md5={echo md5($threads[tid])}&amp;statsdata=$fid||$tid" target="_blank">$threads[title]</a>&nbsp;&nbsp;&nbsp;									[ <a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;url={echo urlencode($threads[tid])}&amp;md5={echo md5($threads[tid])}&amp;from=direct" style="color: #090" target="_blank">{lang reprint}</a> ]									<!--{else}-->									<a href="viewthread.php?tid=$threads[tid]&amp;statsdata=$fid||$tid" target="_blank">$threads[title]</a>									<!--{/if}-->								</li>								<!--{/if}-->							<!--{/loop}-->							</ul>						</div>					<!--{/if}-->					<!--{if $post['first'] && $relatedtagstatus}-->						<div id="relatedtags"></div>						<script type="text/javascript" src="tag.php?action=relatetag&rtid=$tid" reload="1"></script>					<!--{/if}-->				</div>				<!--{if !empty($post['ratelog'])}-->					<dl class="newrate">						<dt>							<!--{if !empty($postlist[$post[pid]]['totalrate'])}-->								<strong><a href="misc.php?action=viewratings&amp;tid=$tid&amp;pid=$post[pid]" onclick="floatwin('open_viewratings', this.href, 600, 410);return false;" title="{lang thread_rate_log_lately}">{echo count($postlist[$post[pid]][totalrate]);}</a></strong>								<p>{lang thread_rate_count}</p>							<!--{/if}-->						</dt>						<dd>							<ul class="s_clear">							<div id="post_rate_$post[pid]"></div>							<!--{loop $post['ratelog'] $uid $ratelog}-->								<li>									<div id="rate_{$post[pid]}_{$uid}_menu" class="attach_popup" style="display: none;">										<p class="cornerlayger">$ratelog[reason] &nbsp;&nbsp;											<!--{loop $ratelog['score'] $id $score}-->												<!--{if $score > 0}-->													<em>{$extcredits[$id][title]} + $score $extcredits[$id][unit]</em>												<!--{else}-->													{$extcredits[$id][title]} $score $extcredits[$id][unit]												<!--{/if}-->											<!--{/loop}-->										</p>										<p class="minicorner"></p>									</div>									<p id="rate_{$post[pid]}_{$uid}" onmouseover="showMenu(this.id,false,2)" class="rateavatar"><a href="space.php?uid=$uid" target="_blank">{echo discuz_uc_avatar($uid, 'small');}</a></p>									<p><a href="space.php?uid=$uid" target="_blank">$ratelog[username]</a></p>								</li>							<!--{/loop}-->							</ul>						</dd>					</dl>				<!--{else}-->					<div id="post_rate_div_$post[pid]"></div>				<!--{/if}-->				<!--{/if}-->				<!--{if $post['first']}-->					<!--{if $lastmod['modaction']}--><div class="modact"><a href="misc.php?action=viewthreadmod&amp;tid=$tid" title="{lang thread_mod}" onclick="floatwin('open_viewthreadmod', this.href, 600, 410);return false;">{lang thread_mod_by}</a></div><!--{/if}-->					<!--{if $lastmod['magicname']}--><div class="modact"><a href="misc.php?action=viewthreadmod&amp;tid=$tid" title="{lang thread_mod}" onclick="floatwin('open_viewthreadmod', this.href, 600, 410);return false;">{lang magics_logs}</a></div><!--{/if}-->					<div class="useraction">						<a id="ajax_favorite" {if $discuz_uid}href="my.php?item=favorites&amp;tid=$tid" onclick="ajaxmenu(event, this.id, 3000, 0)"{else}href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;"{/if}>{lang thread_favorite}</a>						<a id="emailfriend" href="misc.php?action=emailfriend&amp;tid=$tid" onclick="floatwin('open_emailfriend', this.href, 250, {if $discuz_uid}380{else}200{/if});return false;">{lang thread_email_friend}</a>						<a id="ratelink" {if $discuz_uid}href="misc.php?action=rate&amp;tid=$tid&amp;pid=$post[pid]" onclick="floatwin('open_rate', this.href, 250, 270);return false;"{else}href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;"{/if}>{lang rate}</a>					</div>				<!--{/if}-->			</div>		</div>		<!--{if $post['signature'] && ($bannedmessages & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->		<div class="signatures">			<table cellspacing="0" cellpadding="0">				<tr>					<td>{lang member_signature_banned}</td>				</tr>			</table>		</div>		<!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->		<div class="signatures" style="maxHeightIE: {$maxsigrows}px;">			<table cellspacing="0" cellpadding="0">				<tr>					<td>					$post[signature]					</td>				</tr>			</table>		</div>		<!--{/if}-->		<!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['thread1'][$post['count']])}--><div class="ad_textlink1" id="ad_thread1_$post[count]">$advlist[thread1][$post[count]]</div><!--{else}--><div id="ad_thread1_$post[count]"></div><!--{/if}-->	</td></tr><tr>	<td class="postauthor"></td>	<td class="postcontent">		<div class="postactions">			<!--{if $forum['ismoderator'] && ($allowdelpost || $allowbanpost)}-->				<span class="right">				<label for="manage$post[pid]">				<!--{if $post['first'] && $thread['digest'] == -1}-->					<input type="checkbox" id="manage$post[pid]" disabled="disabled" />				<!--{else}-->					<input type="checkbox" id="manage$post[pid]" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" />				<!--{/if}-->				{lang manage}				</label>				</span>			<!--{/if}-->			<div class="postact s_clear">				<em>					<a class="fastreply" href="post.php?action=reply&amp;fid=$fid&amp;tid=$tid&amp;reppost=$post[pid]&amp;extra=$extra&amp;page=$page" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">{lang reply}</a>					<a class="repquote" href="post.php?action=reply&amp;fid=$fid&amp;tid=$tid&amp;repquote=$post[pid]&amp;extra=$extra&amp;page=$page" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">{lang reply_quote}</a>					<!--{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 class="editpost" href="post.php?action=edit&amp;fid=$fid&amp;tid=$tid&amp;pid=$post[pid]"{if !$post['first'] || !$threadsort && !$thread['special']} onclick="floatwin('open_edit', this.href, 600, 410, '600,0');return false;"{/if}>{lang edit}</a>					<!--{/if}-->				</em>				<p>					<!--{if $thread['special'] == 3 && ($forum['ismoderator'] || $thread['authorid'] == $discuz_uid) && $discuz_uid != $post['authorid'] && $post['authorid'] != $thread['authorid'] && $post['first'] == 0 && $thread['price'] > 0}-->						<a href="javascript:;" onclick="setanswer($post['pid'])">{lang reward_set_bestanswer}</a>					<!--{/if}-->					<!--{if $post['first']}-->						<a href="my.php?item=subscriptions&amp;subadd=$tid" id="ajax_subscription" onclick="ajaxmenu(event, this.id, 3000, null, 0)">{lang thread_subscribe}</a>					<!--{elseif $raterange && $post['authorid']}-->						<a href="misc.php?action=rate&amp;tid=$tid&amp;pid=$post[pid]" onclick="floatwin('open_rate', this.href, 250, 270);return false;">{lang rate}</a>					<!--{/if}-->					<!--{if $post['rate'] && $forum['ismoderator']}-->						<a href="misc.php?action=removerate&amp;tid=$tid&amp;pid=$post[pid]&amp;page=$page" onclick="floatwin('open_rate', this.href, 600, 410);return false;">{lang removerate}</a>					<!--{/if}-->					<!--{if !$forum['ismoderator'] && $discuz_uid && $reportpost && $discuz_uid != $post['authorid']}-->						<a href="misc.php?action=report&amp;fid=$fid&amp;tid=$tid&amp;pid=$post[pid]" onclick="floatwin('open_report', this.href, 250, 215);doane(event);">{lang reportpost}</a>					<!--{/if}-->					<!--{if $discuz_uid && $magicstatus}-->						<a href="magic.php?action=usemagic&amp;type=1&amp;pid=$post[pid]" onclick="floatwin('open_magics', this.href, 250, 215);doane(event);">{lang magics_title}</a>					<!--{/if}-->					<a href="javascript:;" onclick="scrollTo(0,0);">TOP</a>				</p>			</div>		</div>	</td></tr><tr class="threadad">	<td class="postauthor"></td>	<td class="adcontent">		<!--{if $post['first'] && $thread['replies']}--><!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['interthread'])}--><div class="ad_column" id="ad_interthread">$advlist[interthread]<!--{else}--><div id="ad_interthread"><!--{/if}--></div><!--{/if}-->	</td></tr><!--{if $post['first'] && $thread[special] == 5 && $stand != ''}--><tr class="threadad stand_select">	<td class="postauthor" style="background: #EBF2F8;"></td>	<td>		<div class="itemtitle s_clear">			<h2>{lang debate_filter}: </h2>			<ul>				<li><a href="viewthread.php?tid=$tid&extra=$extra" hidefocus="true"><span>{lang all}</span></a></li>				<li <!--{if $stand == 1}-->class="current"<!--{/if}-->><a href="viewthread.php?tid=$tid&extra=$extra&stand=1" hidefocus="true"><span>{lang debate_square}</span></a></li>				<li <!--{if $stand == 2}-->class="current"<!--{/if}-->><a href="viewthread.php?tid=$tid&extra=$extra&stand=2" hidefocus="true"><span>{lang debate_opponent}</span></a></li>				<li <!--{if $stand == 0}-->class="current"<!--{/if}-->><a href="viewthread.php?tid=$tid&extra=$extra&stand=0" hidefocus="true"><span>{lang debate_neutral}</span></a></li>			</ul>		</div>		<hr class="solidline" />	</td></tr><!--{/if}--></table><!--{if $aimgs[$post[pid]]}--><script type="text/javascript" reload="1">aimgcount[{$post[pid]}] = [{echo implode(',', $aimgs[$post[pid]]);}];attachimgshow($post[pid]);</script><!--{/if}--></div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -