{#include file="header.html"#}

<!-- 工具栏 -->
<div id="counttool">
	<p id="countinfo"><span>{#$tran_sitestat.membernum#}</span>位用户，发布了<span>{#$tran_sitestat.artnum#}</span>篇文章，产生了<span>{#$tran_sitestat.comnum#}</span>条评论！欢迎新会员：<span>{#$tran_sitestat.newmember#}</span></p>
	<p id="tool">
   {#if $log_status == "1"#}随时随地快速<a href="{#$PB_ENV.PB_URL#}post.php?cid={#$cid#}">{#$uimsg.post_thread#}</a>，与大家交流分享{#else#} 你可以<a href="{#$PB_ENV.PB_URL#}register.php" title="注册">注册</a>一个帐号，并以此<a href="{#$PB_ENV.PB_URL#}login.php">登录</a>，以浏览更多精彩内容{#/if#}</p>
	
</div>

<div id="container">
<!-- 左内容-->
<div id="pbleft">
	<!-- Powered by PBDigg -->
	<div class="pb_mainbox_show" id="tid_{#$article.tid#}">
		<div class="pb_box_l_show">
			<a href="{#$article.contentlink#}" target="_blank"><h1>{#$article.subject#}</h1></a>
			<p class="pb_box_left_show"><img src="{#$article.avatar#}" alt="{#$article.author#}" class="small_user_avatar" /></p>
			<p class="pb_box_right_show"><a href="user.php?uid={#$article.uid#}">{#$article.author#}</a>{#$uimsg.postby#}<span class="d">{#$article.postdate#}</span> {#$uimsg.source#}：<a href="http://{#$article.linkhost#}" target="_blank">{#$article.linkhost#}</a><br />&nbsp;{#$uimsg.show_navlink#}：{#$navlink#}</p>
			<div class="clear3"></div>
		</div>
		<div class="pb_box_lrad2_show" id="content">
		{#if $article.anonymity == "1"#}<div class="anonymity">文章原稿来自 <a href="{#$article.anonsite#}">{#$article.author#}</a> 的激情爆发</div>{#/if#}

<div style="float:right;text-align:right">{#$article.topicimg#}</div>
		{#$article.content#}
		<div class="clear"></div>
		{#$attachimg#}
		{#$attachother#}
		<div class="clear"></div>
		<p class="sourcelink"><strong>关键字：</strong>{#$taglink#}</p>
		{#if $diggbury eq "1"#}
		<!-- DIGG -->
		<div class="show_dig">
			<div class="digBtn"><strong id="article_digg_{#$article.tid#}">{#$article.digg#}</strong><span id="article_digg_do_{#$article.tid#}">{#if $article.digged eq "1"#}{#$uimsg.digged#}{#elseif $allowdigg eq "1"#}<a href="javascript:void(0);" onclick="digg('{#$article.tid#}', 'article', 'digg')">{#$uimsg.digg#}</a>{#else#}<a href="{#$PB_ENV.PB_URL#}login.php">{#$uimsg.digg#}</a>{#/if#}</span></div>
			<div class="buryBtn"><strong id="article_bury_{#$article.tid#}">{#$article.bury#}</strong><span id="article_bury_do_{#$article.tid#}">{#if $article.buryed eq "1"#}{#$uimsg.buried#}{#elseif $allowbury eq "1"#}<a href="javascript:void(0);" onclick="digg('{#$article.tid#}', 'article', 'bury')">{#$uimsg.bury#}</a>{#else#}<a href="{#$PB_ENV.PB_URL#}login.php">{#$uimsg.bury#}</a>{#/if#}</span></div>
		</div>
		<!-- DIGG -->
		{#/if#}
		<!-- 个性签名 -->
		{#if $article.showsign eq "1"#}
		<div class="signature">
		<p><img src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/images/sigline.gif" style="vertical-align:bottom" alt="" /></p>
		<p style="overflow:hidden;">{#$article.signature#}</p>
		</div>
		{#/if#}
        <div class="clear"></div>
		<!-- 工具 -->
		<div id="toollinks">
			<a href="{#$PB_ENV.PB_URL#}member.php?type=my&amp;action=collection&amp;job=add&amp;tid={#$article.tid#}" target="_blank">{#$uimsg.show_colloection#}</a>
			<a href="{#$PB_ENV.PB_URL#}member.php?type=my&amp;action=friend&amp;job=add&amp;uid={#$article.uid#}" target="_blank" title="{#$uimsg.addfriend#}">{#$uimsg.addfriend#}</a>
			<a href="{#$PB_ENV.PB_URL#}member.php?type=msg&amp;action=write&amp;tuid={#$article.uid#}" target="_blank" title="{#$uimsg.sendpm#}">{#$uimsg.sendpm#}</a>
			<a href="user.php?uid={#$article.uid#}" target="_blank" title="个人空间">{#$uimsg.show_wspace#}</a>
			<a href="javascript:void(0);" title="{#$uimsg.user_share#}" onclick="window.clipboardData.setData('text', '{#$PB_ENV.PB_URL#}show.php?tid={#$article.tid#}');alert('{#$uimsg.user_clipsuccess#}');return false;">{#$uimsg.user_share#}</a>
			<a href="javascript:window.close()">{#$uimsg.show_close#}</a></div>
			<div class="clear"></div>
		</div>

	<!-- 管理选项 -->
	{#if $article_manager eq "1"#}
	<div id="maction">
	<strong>{#$uimsg.show_mitem#}：</strong>
	{#if $article_maction.del eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=del&amp;type=article&amp;tid={#$article.tid#}','{#$uimsg.del#}')" class="altspan">[{#$uimsg.del#}]</span>{#/if#}
	{#if $article_maction.edit eq "1"#}<span onclick="location.href='{#$PB_ENV.PB_URL#}post.php?action=edit&amp;tid={#$article.tid#}'" class="altspan">[{#$uimsg.edit#}]</span>{#/if#}
	{#if $article_maction.copy eq "1"#}<span onclick="pb_pop('{#$PB_ENV.PB_URL#}manage.php?action=copy&amp;type=article&amp;tid={#$article.tid#}','{#$uimsg.copy#}','400','300')">[{#$uimsg.copy#}]</span>{#/if#}
	{#if $article_maction.move eq "1"#}<span onclick="pb_pop('{#$PB_ENV.PB_URL#}manage.php?action=move&amp;type=article&amp;tid={#$article.tid#}','{#$uimsg.move#}','400','300')">[{#$uimsg.move#}]</span>{#/if#}
	<!--锁定主题将不允许回复-->
	{#if $article_maction.lock eq "1"#}{#if $article.iflock eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=unlock&amp;type=article&amp;tid={#$article.tid#}', '{#$uimsg.unlock#}')">[{#$uimsg.unlock#}]</span>{#else#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=lock&amp;type=article&amp;tid={#$article.tid#}', '{#$uimsg.lock#}')">[{#$uimsg.lock#}]</span>{#/if#}{#/if#}
	{#if $article_maction.shield eq "1"#}{#if $article.ifcheck eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=shield&amp;type=article&amp;tid={#$article.tid#}', '屏蔽')">[屏蔽]</span>{#else#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=unshield&amp;type=article&amp;tid={#$article.tid#}', '解除屏蔽')">[解除屏蔽]</span>{#/if#}{#/if#}
	{#if $article_maction.top eq "1"#}{#if $article.topped eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=untopped&amp;type=article&amp;tid={#$article.tid#}', '{#$uimsg.untopped#}')">[{#$uimsg.untopped#}]</span>{#else#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=topped&amp;type=article&amp;tid={#$article.tid#}', '{#$uimsg.topped#}')">[{#$uimsg.topped#}]</span>{#/if#}{#/if#}
	{#if $article_maction.commend eq "1"#}
	{#if $article.commend eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=uncommend&amp;type=article&amp;tid={#$article.tid#}', '解除推荐')">[解除推荐]</span>{#else#}<span onclick="pb_pop('{#$PB_ENV.PB_URL#}manage.php?action=commend&amp;type=article&amp;tid={#$article.tid#}', '推荐','400','300')">[推荐]</span>{#/if#}
	{#if $article.iffirst eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=unfirst&amp;type=article&amp;tid={#$article.tid#}', '取消头条')">[取消头条]</span>{#else#}<span onclick="location.href='{#$PB_ENV.PB_URL#}manage.php?action=first&amp;type=article&amp;tid={#$article.tid#}'">[头条]</span>{#/if#}
	{#/if#}
	{#if $article_maction.ip eq "1"#}{#$uimsg.ip#}:{#$article.postip#}{#/if#}
	</div>
	{#/if#}
	<!-- 管理选项 -->
	{#$articleattention#}
	<div class="bncss">
	{#$uimsg.show_prevpage#}：{#$prevarticle#}<br />
	{#$uimsg.show_nextpage#}：{#$nextarticle#}
	</div>	</div>
	<!-- 评论 -->
	<div class="comment" id="coment_reply">
		{#foreach from=$comments key=key item=item#}
		<div id="comment_{#$item.rid#}" class="comment_body next_{#$key#}">
			<div id="comment_head_{#$item.rid#}" class="comment_head">
				<div class="comment_digg">
					<!--mamage-->
					{#if $item.m_del eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=del&amp;type=comment&amp;rid={#$item.rid#}','{#$uimsg.del#}')" class="altspan">[{#$uimsg.del#}]</span>{#/if#}
					{#if $item.m_edit eq "1"#}<span onclick="editcomment('{#$item.rid#}')" class="altspan">[{#$uimsg.edit#}]</span>{#/if#}
					{#if $comment_maction.shield eq "1"#}{#if $item.ifcheck eq "1"#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=shield&amp;type=comment&amp;rid={#$item.rid#}&amp;tid={#$article.tid#}','屏蔽')" class="altspan">[屏蔽]</span>{#else#}<span onclick="checkAction('{#$PB_ENV.PB_URL#}manage.php?action=unshield&amp;type=comment&amp;rid={#$item.rid#}&amp;tid={#$article.tid#}','解除屏蔽')" class="altspan">[解除屏蔽]</span>{#/if#}{#/if#}
					<!--mamage-->
					<span id="comment_digg_{#$item.rid#}">{#$item.digg#}</span> {#if $item.digged eq "1"#}[{#$uimsg.digged#}]{#elseif $allowdigg eq "1"#}<a href="javascript:void(0);" onclick="digg('{#$item.rid#}', 'comment', 'digg')" id="comment_digg_do_{#$item.rid#}">[{#$uimsg.digg#}]</a>{#else#}<a href="{#$PB_ENV.PB_URL#}login.php">[{#$uimsg.digg#}]</a>{#/if#} <span id="comment_bury_{#$item.rid#}">{#$item.bury#}</span> {#if $item.buryed eq "1"#}[{#$uimsg.buried#}]{#elseif $allowbury eq "1"#}<a href="javascript:void(0);" id="comment_bury_do_{#$item.rid#}" onclick="digg('{#$item.rid#}', 'comment', 'bury')">[{#$uimsg.bury#}]</a>{#else#}<a href="{#$PB_ENV.PB_URL#}login.php">[{#$uimsg.bury#}]</a>{#/if#}
					{#if $allowcomment eq "1"#}
					<span onclick="recomment('{#$item.rid#}','{#$item.author#}')" class="altspan">[{#$uimsg.quote#}{#$key#}楼]</span>
					{#/if#} 
				</div>
				<div class="comment_userimg">
					<strong><a href="user.php?uid={#$cmuurl[$key]#}">{#$item.author#}</a></strong> {#$uimsg.postby#} {#$item.postdate#} {#if $article_maction.ip eq "1"#}{#$uimsg.ip#}:{#$item.postip#}{#/if#}
				</div>
			</div>
			<div class="comment_user_img"><img src="{#$item.avatar#}" alt="{#$item.author#}" /> </div>
			<div id="comment_content_{#$item.rid#}" class="comment_content">{#$item.content#}</div>
		</div>
		{#foreachelse#}
		<div class="nocomment" id="nocomment">{#$uimsg.nocomment#}</div>
		{#/foreach#}
		<!--评论内容-->
		{#$mult_page#}
		<div class="clear"></div>
	</div>
	<!-- 添加评论 -->
	{#if $article.iflock == "0"#}
	<div id="comments">
		<div class="clear"></div>
		<div class="comments_title"><span>{#$comment_num#}</span><h2>{#$uimsg.comment#}</h2></div>
		<div id="addform">
			<div id="postcomment">
				{#if $allowcomment eq "1"#}
			    <div><textarea name="comment" id="comment_reply_body" onKeyDown="keysubmit(event)" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" tabindex="1"></textarea><table cellspacing="1" cellpadding="3" class="smileytable">
					    <tr>
					      <td colspan="6">{#$uimsg.user_smiley#}</td>
					    </tr>
					    <tr>
					      <td><a href="javascript:emoticon('huh')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/huh.gif" alt="huh" /></a> </td>
					      <td><a href="javascript:emoticon('ohmy')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/ohmy.gif" alt="ohmy" /></a> </td>
					      <td><a href="javascript:emoticon('wink')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/wink.gif" alt="wink" /></a> </td>
					      <td><a href="javascript:emoticon('tongue')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/tongue.gif" alt="tongue" /></a> </td>
					      <td><a href="javascript:emoticon('biggrin')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/biggrin.gif" alt="biggrin" /></a> </td>
					      <td><a href="javascript:emoticon('laugh')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/laugh.gif" alt="laugh" /></a> </td>
					    </tr>
					    <tr>
					      <td><a href="javascript:emoticon('cool')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/cool.gif" alt="cool" /></a> </td>
					      <td><a href="javascript:emoticon('rolleyes')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/rolleyes.gif" alt="rolleyes" /></a> </td>
					      <td><a href="javascript:emoticon('dry')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/dry.gif" alt="dry" /></a> </td>
					      <td><a href="javascript:emoticon('smile')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/smile.gif" alt="smile" /></a> </td>
					      <td><a href="javascript:emoticon('mad')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/mad.gif" alt="mad" /></a> </td>
					      <td><a href="javascript:emoticon('sad')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/sad.gif" alt='sad' /></a> </td>
					    </tr>
					    <tr>
					      <td><a href="javascript:emoticon('unsure')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/unsure.gif" alt="unsure" /></a> </td>
					      <td><a href="javascript:emoticon('blink')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/blink.gif" alt="blink" /></a> </td>
					      <td><a href="javascript:emoticon('ph34r')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/ph34r.gif" alt="ph34r" /></a> </td>
					      <td><a href="javascript:emoticon('wub')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/wub.gif" alt="wub" /></a> </td>
					      <td><a href="javascript:emoticon('wacko')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/wacko.gif" alt="wacko" /></a> </td>
					      <td><a href="javascript:emoticon('laugh')"><img src="{#$PB_ENV.PB_URL#}images/emoticons/laugh.gif" alt="laugh" /></a> </td>
					    </tr>
					  </table></div>
				<div class="clear"></div>
			    {#if $pb_gdcheck.comment eq "1"#}
			    <div id="captcha_area"><input type="text" name="captcha" id="captcha" title="{#$uimsg.captcha_intro#}" size="10" maxlength="4" tabindex="2" /><img src="{#$PB_ENV.PB_URL#}checkcode.php" onclick="refreshCheckcode()" id="checkcode" alt="{#$uimsg.captcha_refresh#}" /> {#$uimsg.captcha#}</div>
			    {#/if#}
			    <div><input type="button" name="send_comment" id="send_comment" onclick="comment('{#$article.tid#}')" value="{#$uimsg.send_comment#}" /><span style="display:none" class="cktip" id="c_tip"></span></div>
			    {#else#}
				<div class="comdeny">{#$uimsg.show_loginfirst#}</div>
				{#/if#}
				<div class="clear"></div>
			</div>
		</div>
	</div>
	{#/if#}
	<!-- 添加评论结束 -->
</div>
<!--左侧内容结束-->
<!-- 右侧内容 -->
<div id="sidebar">
		<h2>赞助商链接</h2>
<div style="width:300px;text-align:center">
赞助商链接
</div>

		<h2>相关文章</h2>

		<ol>{#$articlelink#}
		</ol>

	<h2>最新文章</h2>

		<ol>
			{#$tpl_f63d001d#}
		</ol>

	<h2>最新评论</h2>
			{#$tpl_6708bb12#}

<!-- 右侧内容结束 -->
</div><div class="clear"></div></div>
<script type="text/javascript">
<!--
var pb_url = '{#$PB_ENV.PB_URL#}';
var pb_template = '{#$PB_ENV.PB_TEMPLATE#}';
var verifyhash = '{#$verifyhash#}';
var comment_minc = {#$comment_len_min#};
var comment_maxc = {#$comment_len_max#};
var comment_length_error = '{#$comment_length_error#}';
var add_comment_loading = '{#$uimsg.add_comment_loading#}';
var edit_comment_loading = '{#$uimsg.edit_comment_loading#}';
var ajax_response_failed = '{#$uimsg.ajax_response_failed#}';
var digged = '{#$uimsg.digged#}';
var buried = '{#$uimsg.buried#}';
var comment_submit = '{#$uimsg.submit#}';
var comment_cancel = '{#$uimsg.cancel#}';
//-->
</script>
<!-- footer -->
{#include file="footer.html"#}
<!-- footer end -->

</body>
</html>