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

📄 viewthread_node.htm

📁 Discuz功能源码(开源)
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<div id="post_$post[pid]"><table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0"><tr>	<td class="postauthor">		<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->		<!--{if $authoronleft}-->			<div class="postinfo">				<a target="_blank" href="space.php?uid=$post['authorid']" style="margin-left: 20px; font-weight: 800">$post[author]</a>			</div>		<!--{/if}-->		<div class="popupmenu_popup userinfopanel" id="userinfo$post[pid]" style="display: none; position: absolute;{if $authoronleft}margin-top: -11px;{/if}">			<div class="popavatar">				<div id="userinfo$post[pid]_ma"></div>				<ul class="profile_side">					<li class="pm"><a href="pm.php?action=new&uid=$post[authorid]" onclick="floatwin('open_sendpm', this.href, 600, 410);return false;" title="{lang send_pm}">{lang send_pm}</a></li>					<li class="buddy"><a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" title="{lang add_to_buddylist}" onclick="ajaxmenu(event, this.id, 3000, 0)">{lang add_to_buddylist}</a></li>				</ul>			</div>			<div class="popuserinfo">				<p>					<a href="space.php?uid=$post[authorid]" target="_blank">$post[author]</a>					<!--{if $post['nickname']}--><em>($post[nickname])</em><!--{/if}-->					<!--{if $vtonlinestatus && $post['authorid']}-->						<!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->							<em>{lang online}						<!--{else}-->							<em>{lang offline}						<!--{/if}-->						</em>					<!--{/if}-->				</p>				<!--{if $post['customstatus']}--><p class="customstatus">$post[customstatus]</p><!--{/if}-->				<dl class="s_clear">{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>				<div class="imicons">					<!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=$post[qq]&amp;Site=$bbname&amp;Menu=yes" target="_blank" title="QQ"><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" title="ICQ"><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" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!"  /></a><!--{/if}-->					<!--{if $post['taobao']}--><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="taobao"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->					<!--{if $ucappopen['UCHOME']}-->						<a href="{$uchomeurl}/space.php?uid=$post[authorid]" target="_blank" title="{lang space}"><img src="{IMGDIR}/home.gif" alt="{lang space}"  /></a>					<!--{elseif $ucappopen['XSPACE']}-->						<a href="{$xspaceurl}/?uid-$post[authorid]" target="_blank" title="{lang space}"><img src="{IMGDIR}/home.gif" alt="{lang space}"  /></a>					<!--{/if}-->					<!--{if $post['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}"  /></a><!--{/if}-->					<a href="space.php?uid=$post[authorid]" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}"  /></a>					<!--{if $post['msn'][1]}-->						<a target='_blank' href='http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee={$post[msn][1]}@apps.messenger.live.com&mkt=zh-cn' title="{lang msn_chat}"><img style='border-style: none; margin-right: 0;' src='http://messenger.services.live.com/users/{$post[msn][1]}@apps.messenger.live.com/presenceimage?mkt=zh-cn' width='16' height='16' />{lang msn_chat}</a>					<!--{/if}-->				</div>				<div id="avatarfeed"><span id="threadsortswait"></span></div>			</div>		</div>		<!--{/if}-->		$post[newpostanchor] $post[lastpostanchor]		<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->			<div id="userinfo$post[pid]_a">			<!--{if $bannedmessages & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->				<div class="avatar">{lang member_avatar_banned}</div>			<!--{elseif $post['avatar'] && $showavatars}-->				<div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="space.php?uid=$post[authorid]" target="_blank">$post[avatar]</a></div>			<!--{/if}-->			<p><em>$post[authortitle]</em></p>			</div>			<p>{eval showstars($post['stars']);}</p>			<!--{if $customauthorinfo[1]}--><dl class="profile s_clear">{eval @eval('echo "'.$customauthorinfo[1].'";');}</dl><!--{/if}-->			<!--{if $post['medals']}--><p>				<!--{loop $post['medals'] $medal}-->				<img src="images/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />				<!--{/loop}--></p>			<!--{/if}-->		<!--{else}-->			<div class="avatar">			<!--{if !$post['authorid']}-->				<a href="javascript:;">{lang guest} <em>$post[useip]</em></a>			<!--{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}-->			<!--{else}-->				$post[author] <em>{lang member_deleted}</em>			<!--{/if}-->			</div>		<!--{/if}-->		<!--{if $allowedituser || $allowbanuser || ($forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first']))}-->			<hr class="shadowline" />			<p>				<!--{if $forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}-->					<a href="javascript:;" onclick="ajaxget('topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]', 'ajax_getip_$post[count]');doane(event)" title="{lang admin_getip}" class="lightlink">IP</a>&nbsp;&nbsp;				<!--{/if}-->				<!--{if $allowedituser}-->					<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" class="lightlink">{lang edit_member}</a>&nbsp;&nbsp;				<!--{/if}-->				<!--{if $allowbanuser}-->					{if $adminid == 1}<a href="admincp.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank" class="lightlink">{lang ban_member}</a>					{else}<a href="modcp.php?action=members&op=ban&uid=$post[authorid]" target="_blank" class="lightlink">{lang ban_member}</a>					{/if}				<!--{/if}-->			</p>			<p id="ajax_getip_$post[count]"></p>		<!--{/if}-->	</td>	<td class="postcontent">		<div class="postinfo">			<strong><a title="{lang emailfriend_url_copy}" id="postnum$post[pid]" href="javascript:;" onclick="setcopy('{$boardurl}viewthread.php?tid=$tid&amp;page=$page$fromuid#pid$post[pid]', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>			<div class="posterinfo">				<div class="pagecontrol">					<!--{if $post['first']}-->						<a href="viewthread.php?action=printable&amp;tid=$tid" target="_blank" class="print left">{lang thread_printable}</a>						<!--{if MSGBIGSIZE}-->							<div class="msgfsize right">								<label>{lang font_zoom}: </label><small onclick="$('postlist').className='mainbox viewthread'" title="{lang common}">t</small><big onclick="$('postlist').className='mainbox viewthread t_bigfont'" title="{lang zoom_in}">T</big>							</div>						<!--{/if}-->					<!--{elseif $thread['special'] == 5}-->						<span class="debatevote poststand_{echo intval($post[stand])}">							<label><!--{if $post[stand] == 1}--><a href="viewthread.php?tid=$tid&extra=$extra&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>								<!--{elseif $post[stand] == 2}--><a href="viewthread.php?tid=$tid&extra=$extra&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>								<!--{else}--><a href="viewthread.php?tid=$tid&extra=$extra&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->							</label>							<!--{if $post[stand]}-->								<span><a href="misc.php?action=debatevote&tid=$tid&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(event, this.id)">{lang debate_support}</a>$post[voters]</span>							<!--{/if}-->						</span>					<!--{/if}-->				</div>				<div class="authorinfo">				<!--{if $_DCACHE['groupicon'][$post['groupid']]}-->					<img class="authicon" id="authicon$post[pid]" src="$_DCACHE['groupicon'][$post['groupid']]" onclick="showauthor(this, 'userinfo$post[pid]')"/>				<!--{else}-->					<img class="authicon" id="authicon$post[pid]" src="images/common/online_member.gif" onclick="showauthor(this, 'userinfo$post[pid]'); <!--{if $uchomeurl && $post['first'] && $avatarfeedshow}-->getfeed('$post[authorid]')<!--{/if}-->"/>				<!--{/if}-->				<!--{if $post['authorid'] && !$post['anonymous']}-->					<!--{if !$authoronleft}--><a href="space.php?uid=$post[authorid]" class="posterlink" target="_blank">$post[author]</a><!--{/if}--><em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>					<!--{if !$authorid}-->						 | <a href="viewthread.php?tid=$post[tid]&amp;page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>					<!--{else}-->						 | <a href="viewthread.php?tid=$post[tid]&amp;page=$page" rel="nofollow">{lang thread_show_all}</a>					<!--{/if}-->				<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->					{lang anonymous} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>				<!--{elseif !$post['authorid'] && !$post['username']}-->					{lang guest} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>				<!--{/if}-->				</div>			</div>		</div>		<div class="defaultpost">		<!--{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}-->		<!--{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>			<div class="postmessage <!--{if $post['first']}-->firstpost<!--{/if}-->">				<!--{if $post['warned']}-->					<span class="postratings"><a href="misc.php?action=viewwarning&amp;tid=$tid&amp;uid=$post[authorid]" title="{lang warn_get}" onclick="floatwin('open_viewwarning', this.href, 600, 410);return false;"><img src="{IMGDIR}/warning.gif" border="0" /></a></span>				<!--{/if}-->				<!--{if $thread[special] == 3 && $post['first']}-->					<!--{if $thread['price'] > 0}-->						<cite class="re_unsolved">{lang reward_unsolved}</cite>					<!--{elseif $thread['price'] < 0}-->						<cite class="re_solved">{lang reward_solved}</cite>					<!--{/if}-->					<!--{if $activityclose}--><cite class="re_solved">{lang activity_close}</cite><!--{/if}-->				<!--{/if}-->				<!--{if $post['first']}-->					<div id="threadtitle">						<!--{if $thread['readperm']}--><em>{lang readperm_thread} $thread[readperm]</em><!--{/if}-->						<h1>$thread[subject]</h1>						<!--{if $thread[tags] || $relatedkeywords}-->							<div class="threadtags">								<!--{if $thread['tags']}-->$thread[tags]<!--{/if}-->								<!--{if $relatedkeywords}--><span class="postkeywords">$relatedkeywords</span><!--{/if}-->							</div>						<!--{/if}-->					</div>					<!--{if $thread['special'] == 2 && !$post[message] && $post['authorid'] == $discuz_uid}-->						<p>							<a href="post.php?action=edit&amp;fid=$fid&amp;tid=$tid&amp;pid=$post[pid]" onclick="floatwin('open_edit', this.href, 600, 410, '600,0');return false;">{lang post_add_aboutcounter}</a>						</p>					<!--{/if}-->				<!--{elseif $post['subject']}-->					<h2>$post[subject]</h2>				<!--{/if}-->			<!--{if $adminid != 1 && $bannedmessages & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->				<div class="locked">{lang message_banned}</div>			<!--{elseif $adminid != 1 && $post['status'] & 1}-->				<div class="locked">{lang message_single_banned}</div>			<!--{elseif $post['first'] && $threadpay}-->				{subtemplate viewthread_pay}			<!--{else}-->				<!--{if $bannedmessages & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->					<div class="locked">{lang admin_message_banned}</div>				<!--{elseif $post['status'] & 1}-->					<div class="locked">{lang admin_message_single_banned}</div>				<!--{/if}-->				<!--{if $post['first']}-->					<!--{if $thread['price'] > 0 && $thread['special'] == 0}-->						<div class="locked"><em class="right"><a href="misc.php?action=viewpayments&tid=$tid" onclick="floatwin('open_pay', this.href, 600, 410);return false;">{lang pay_view}</a></em>{lang pay_threads}:<strong>{$extcredits[$creditstransextra[1]][title]} $thread[price] {$extcredits[$creditstransextra[1]][unit]} </strong></div>					<!--{/if}-->					<!--{if $typetemplate}-->						$typetemplate					<!--{elseif $optionlist && !($post['status'] & 1) && !$threadpay}-->						<div class="typeoption">							<h4>$forum[threadsorts][types][$thread[sortid]]</h4>							<table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0" class="formtable datatable">							<!--{loop $optionlist $option}-->								<tr class="{echo swapclass('colplural')}">									<th>$option[title]</th>									<td><!--{if $option['value']}-->$option[value]<!--{else}-->-<!--{/if}--></td>								</tr>							<!--{/loop}-->							</table>						</div>

⌨️ 快捷键说明

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