<script type="text/javascript">
function comment(){
 parent.document.getElementById("showcomment").innerHTML=document.getElementById("comment").innerHTML;
}
</script>
<body onLoad="comment()">
<div id="comment">
<!--{if $comment}-->
<ul>
<!--{loop $comment $comment}-->
<li>
  <div class="face">
    <p><img src="{$comment[face]}" width="80px" height="80px" /></p>
    <p>{$comment[username]}</p>
  </div>
  <div class="says">
    <p class="f99"><span class="ll">价格 <img src="images/star/s{$comment[cm_pz]}.png" /><span class="pad15">服务 <img src="images/star/s{$comment[cm_fw]}.png" /></span><span class="pad15">环境 <img src="images/star/s{$comment[cm_hj]}.png" /></span></span><span class="rr">{$comment[postdate]}{if $comment[formid]}({$comment[formid]}手机发布){/if}</span></p>
    <div class="clearfix h_10"></div>
    <p>{$comment[content]}</p>
    {if (!empty($comment[repost]))}
    <div class="clearfix h_10"></div>
    <p class="backsay f3f">商家回复：{$comment[repost]}</p>
    {/if}
  </div>
</li>
<!--{/loop}-->
</ul>
<div class="pages">	
 <!--{if $pager[prev]}-->
 <span><a href="{$pager[prev]}" target="icomment">上一页</a></span>
 <!--{/if}-->
 <!--{$pager['numlist']}-->
 <!--{$pager['page_msg']}-->
 <!--{if $pager[next]}-->
 <span><a href="{$pager[next]}" target="icomment">下一页</a></span>
 <!--{/if}-->
</div>
<!--{else}-->
<p class="t_c">暂无评论</p>
<!--{/if}-->
</div>
</body>