<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="loading">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=device-width, initial-scale=0.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="keywords" content="" />
<meta name="description" content="">
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="public/style/style.css" />
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link rel="apple-touch-icon-precomposed" href="http://www.lede.cc/images/favicon.ico">
<script>
var logined = 0
</script>
<script src="../js/jquery1.9.1.js"></script>
<script src="../js/jquery.raty.js"></script>
<title><?=encode_output($seo['title'])?></title>
</head>

<body>
<?include tpl("header");?>
<div id="sort">
  <div class="sort_cate">
	<div class="sort_b t_c"><a>消费明细帐单<font class="f12">(￥<?=$moneys?>)</font></a><div class="clear"></div></div>
  </div>
</div>
		<div id="content">	
			<div id="list1">
				<ul>
<?php
foreach((array)$exchanges as $key=>$val){
?>
                    <li>
						<div class="wrap">
                        <span name="<?=$val[comid]?>" <? if(!empty($val[dp])){?>class="us_panel_post"<?}?> id="<?=$val[exchangeid]?>">
						<div class="list_info0">
                        <?=$val['comname'][comname]?> <font class="bor_1 red"><?=$val[dp]?></font>
                        </div>
								<div class="list_info1">￥<?=$val['value']?></div>
                                <div class="list_info2">
                                    <?=$val['addtime']?>
								</div>
								<div class="clear"></div>
						</span>
						</div>
					</li>
<?php
}
?>
									</ul>
				<?include tpl("page");?>
			</div>
		</div>
		
		<div class="push_msk"></div>
	

	<div id="add_newpost">
    <form name="comment" action="member.php?act=post_comment" method="post">
		<div class="add_newpost">
            <div class="clear h_60"></div>
			<table width="100%" height="100%" cellspacing="5">
				<tr>
					<td class="add_newpost_cancel">取消</td>
					<td class="add_newpost_post"><input name="submit" type="submit" value="提交点评" class="btn" id="submit" /></td>
				</tr>
			</table>
		</div>
		<div class="clear h_60"></div>
		<div class="newpost_w">
			<div class="pd10">
				<div class="newpost_w_t">
					<ul>
          <li><h3>价格</h3>
          <span id="star_pz" class="target-demo ll"></span><span id="star_pzs" class="f43 f14"></span></li>
          <li><h3>服务</h3><span id="star_fw" class="target-demo ll"></span><span id="star_fws" class="f43 f14"></span></li>
          <li><h3>环境</h3><span id="star_hj" class="target-demo ll"></span><span id="star_hjs" class="f43 f14"></span></li>
          <div class="bor1"></div>
		  <li>
          <textarea name="content" id="content" cols="45" rows="5" class="texts"></textarea>
          <input type="hidden" name="cid" id="cid">
          <input type="hidden" name="eid" id="eid">
          <input type="hidden" name="formid" value="<?=$get_device?>">
          </li>
		  <div class="bor1"></div>
          <p class="pd5 f99 f12">* 仅消费过的会员才可点评</p>
        </ul>
				</div>
			</div>
		</div>
      </form>
	</div>
</div>	
	<script>
  $(function() {
      var averscore=0;
	  $.fn.raty.defaults.path = '../images/star';
      $.fn.raty.defaults.number = 5;
      $.fn.raty.defaults.score = 0;
      $.fn.raty.defaults.targetType = 'number';
      $.fn.raty.defaults.starHalf = 'star-half-big.png';
      $.fn.raty.defaults.starOff = 'star-off-big.png';
      $.fn.raty.defaults.starOn = 'star-on-big.png';
      $.fn.raty.defaults.size = 24;
      $.fn.raty.defaults.cancel = false;
      $.fn.raty.defaults.targetKeep = true;
      $.fn.raty.defaults.precision = false;//是否包含小数
	  $('#star_pz').raty({
        target    : '#star_pzs',
		score     : undefined,
        scoreName : 'star_pz',
      });
	  $('#star_fw').raty({
        target    : '#star_fws',
		score     : undefined,
        scoreName : 'star_fw',
      });  
	  $('#star_hj').raty({
        target    : '#star_hjs',
		score     : undefined,
        scoreName : 'star_hj',
      });  	 
    });
   </script>
	<?include tpl("plus_share");?>
	
</body>
</html>