<!--{template 'default/head'}-->
<div class="main cbody margintop">
	<div class="thisplace">
		<div class="placenav">
			<span>当前位置 :</span>
			<a href="{W_P}">网站首页</a> &gt; 评论
		</div>
	</div>
	<div class="pleft">
		<h3 class="b"><span>返回：<a href="{$info['url']}">{$info['subject']}</a></span></h3>
		<div class="comment" style="border-top:0">
			<div class="commentbox">
			<!--{if $comments}-->
			<table border="0" width="100%">
			<!--{loop $comments $v}-->
				<tr>
					<td valign="top" class="head">
						<a name="comment-{$v['commentid']}"></a>
						<!--{if $v['uid'] && $v['is_pass']}-->
						<a href="###"><img alt="{$v['username']}" onerror="this.src='{W_P}images/avatar_64.jpeg';" src="<!--{echo qbase::avatar($v['uid'],64);}-->" /></a>
						<!--{else}-->
						<a href="###"><img alt="匿名评论或未审核评论" src="{W_P}images/avatar_64.jpeg" /></a>
						<!--{/if}-->
					</td>
					<td valign="top" >
						<dl>
							<dt>网友：{$v['username']}，{$v['ip']}  发表于：<!--{echo qbase::formatTime('Y-m-d H点i分',$v['addtime'])}--> <font color="green">{$v['tip']}</font><span class="c"></span></dt>
							<dd>
								<!--{if $v['type'] == 'trackback'}--><p style="color:blue">来自{$v['username']}的trackback</p><!--{/if}-->
								<!--{if $v['is_pass']}-->
								<div style="word-break: break-all;word-wrap:break-word"><!--{echo nl2br(ubb($v['content']));}--></div>
								<!--{else}-->
								<p style="color:#999">该评论需要审核</p>
								<!--{/if}-->
							</dd>
						</dl>
					</td>
				</tr>
			<!--{/loop}-->
			</table>
			<!--{else}-->
			<p style="text-align:center;padding:15px 0 25px 0">还没有评论</p>
			<!--{/if}-->
			</div>
			<!--{if $pager}-->
				<div  class="pager" style="height: 30px; margin-left: 15px;">{$pager}</div><div class="clear"></div>
			<!--{/if}-->
			<!--{template 'default/comment_form'}-->
		</div>
	</div>
	<div class="pright">
		<div class="classbox">
			<h3><span>最具争议</span></h3>
			<div class="rbox">
				<ul>
					<!--{cms $_obj = cmsComment("channelid={$channelid}&order=absolute&desc=desc&num=20&cacheTime=0");}-->
					<!--{loop $_obj $v}-->
					<li><a href="{$v['url']}" title="{$v['subject']}"><!--{echo qbase::substrs($v['subject'], 40);}--></a></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>	
		<div class="classbox margintop">
			<h3><span>热点关注</span></h3>
			<div class="rbox">
				<ul>
					<!--{cms $_obj = cmsComment("channelid={$channelid}&order=good&num=20&cacheTime=0");}-->
					<!--{loop $_obj $v}-->
					<li><a href="{$v['url']}" title="{$v['subject']}"><!--{echo qbase::substrs($v['subject'], 40);}--></a></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	<div class="clear"></div>
</div>
<!--{template 'default/foot'}-->