<%if not in_eycms then response.write("template load fail"):response.end() end if%>
{if syscomment and not(commentconfig(2))}
{dim infoid:infoid=rsshow[cid]}
<h3>评论</h3>
<div class="c-cb">
<ul class="c-comment c-commentAjax">
{eycms:rs table="ey_expand_comment" where="islock=1 and contentid=[infoid]" order="commentid desc" pagesize="3" isadminurl="0"}
{rs:eof}
<li>
<p class="on">管理员<span>刚刚</span></p>
<p>暂无任何留言！</p>
</li>
{/rs:eof}
<li class="c-ajax">
<p class="on">{$rs[username]}<span>{eycms.diffuudate($rs[createdate])}</span></p>
<p>{$rs[content]}</p>
{if eycms.strlen($rs[reply])>0}
<p class="admin">管理员回复：{$rs[reply]}</p>
{/if}
</li>
{/eycms:rs}
</ul>
{dim total:total=eycms.page.totalurl}
{if total>1}
<div class="c-more c-moreAjax"><a href="{page:next}">点击查看更多+</a></div>
{/if}
{dim pageshow:pageshow=1}
<form class="c-form c-cb form_comment" method="post">
<textarea type="text" name="t0" placeholder="我也来说几句"></textarea>
<input type="hidden" name="t1" value='{asp eycms.get_cityname("网友")}'>
<input type="submit" value="发表">
</form>
</div>
{/if}