<%if not in_eycms then response.write(""):response.end() end if%>
<!-- 评论 -->
{dim pageshow:pageshow=1}
{if syscomment and not(commentconfig(2))}
<div class="eyComment ey-cb">
	<ul class="citem-loop">
		{dim infoid:infoid=rsshow[cid]}
		{eycms:rs field="avatar,username,createdate,content,reply,replydate" table="ey_expand_comment" where="islock=1 and contentid=[infoid]" order="commentid desc" pagesize="3" isadminurl="0"}
		{rs:eof}
		<li class="cloop">
			<img class="ey-br" src="{skins}/common/images/face.jpg">
			<span><i class="fa fa-clock-o"></i> 刚刚</span>
			<p><i class="fa fa-edit"></i> 管理员：暂无任何评论</p>
		</li>
		{/rs:eof}
		<li class="cloop">
			<img class="ey-br" src="{skins}/common/images/face.jpg">
			<span><i class="fa fa-clock-o"></i> {eycms.diffuudate($rs[createdate])}</span>
			<p><i class="fa fa-edit"></i> {$rs[username]}：{$rs[content]}</p>
			{if eycms.strlen($rs[reply])>0}<p class="admin"><i class="fa fa-edit"></i> 管理员：{$rs[reply]}</p>{/if}
		</li>
		{/eycms:rs}
	</ul>
	{dim total:total=eycms.page.totalurl}
	{if total>1}
	<div class="ey-tac eyCmore cpage-more"><a href="{page:next}">点击查看更多+</a></div>
	{/if}
	<form method="post" class="form_comment ey-cb">
		<input type="text" name="t0" placeholder="我也说两句"/>
		<input type="hidden" name="t1" value='{asp eycms.get_cityname("网友")}'/>
		<input type="submit" value="评论">
	</form>
</div>
{/if}
<!-- 评论 -->