<?php include mayi_tpl('inc_header'); ?><link rel=stylesheet href=template/css/new.exchange.css><script language=javascript src=template/javascript.js></script><body class=blue><div class=container><div id=main class="main section-setting"><div class="clearfix main-inner"><div class=content><div class="clearfix content-inner"><div class=location><?=$location?></div><div class=content-main><div class=content-main-inner><div class=pwrap><div class=pbody>
<div class="cleafix pagetab-wrap">
<ul class=pagetab>
<li><a href=javascript:; onclick='window.location.href="?m=comment"' <?php if($m == 'comment'){?> class=current <?php }?>><span>店铺点评</span></a></li>
</ul></div>
<div class="cleafix pagetab-wrap smallnav"><ul class=pagetab> <?php foreach(array('all'=>'所有评价','good'=>'好评','middle'=>'中评','bad'=>'差评') as $key => $val){?><li><a href="?m=comment&c=<?=$key?>" <?php if($c == $key){?> class=current <?php }?>><span><?=$val?></span></a></li><?php }?></ul></div><div id=msg_success></div><div id=msg_error></div><div id=msg_alert></div><div class=datatablewrap><table class=datatable><tr class=firstr><td width=100>来自</td><td><a href="../space.php?user=<?=$comment['fromuser']?>" target=_blank><?=$comment['fromuser']?></a></td></tr><tr><td>点评时间</td><td><?=GetTime($comment['pubtime'])?></td></tr><tr><td>喜欢程度</td><td><?php if($comment[enjoy] == '0'){echo '不喜欢';}elseif($comment[enjoy] == '1'){echo '无所谓';}elseif($comment[enjoy] == '2'){echo '喜欢';}elseif($comment[enjoy] == '3'){echo '很喜欢';}?></td></tr><tr><td>点评内容</td><td><?=$comment['content']?></td></tr><?php if($comment['reply']){?><tr><td width=100><label for=content>您的回复</label></td><td><?=$comment['reply']?></td></tr><tr><td width=100>回复时间</td><td><?=GetTime($comment['retime'])?></td></tr><?php }?><form method=post id=postform action="?m=comment&c=<?=$c?>&id=<?=$id?>&do_act=reply"><tr><td></td><td><textarea id=reply name=reply class=textarea></textarea></td></tr><tr><td></td><td><span class=minbtn-wrap><span class=btn><input name=reply_submit type=submit class=button value="<?php echo $comment['reply'] ? '修改回复' : '回复该点评'; ?>"></span></td></tr></form></table></div></div><div class=pfoot><p><b>-</b></p></div></div></div></div></div></div></div></div><?php include mayi_tpl('inc_foot'); ?></div></body>