{$xml[0]}
<div class="commenttitle">
	<div class="title"><strong>最新评论</strong></div>
	<div class="gotopost"><a href="{W_P}index.php?ac=comment&channelid={$channelid}&id={$id}">查看所有评论</a></div>
</div>
<div class="commentbox">
	<!--{if $comments}-->
			<table border="0">
			<!--{loop $comments $v}-->
				<tr>
					<td valign="top" class="head">
						<a name="comment-{$v['commentid']}"></a>
						<!--{if $v['uid']}-->
						<a href="###"><img alt="{$v['username']}" title="{$v['username']}" onerror="this.src='{W_P}images/avatar_64.jpeg';" src="<!--{echo qbase::avatar($v['uid'],64);}-->" /></a>
						<!--{else}-->
						<a href="###"><img alt="网友" title="网友" src="{W_P}images/avatar_64.jpeg" /></a>
						<!--{/if}-->
					</td>
					<td valign="top" >
						<dl>
							<dt>网友：{$v['username']}，{$v['ip']}  发表于：<!--{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;">还没有评论</p>
	<!--{/if}-->
</div>
<!--{template 'default/comment_form'}-->
{$xml[1]}