<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<title>{$seo['title']}</title>
<meta name="Keywords" content="{$seo['keywords']}">
<meta name="Description" content="{$seo['description']}">
<link href="{PHPMPS_PATH}templates/{$CFG[tplname]}/style/user.css" type="text/css" rel="stylesheet" />
<script language="JavaScript" src="js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="include/calendar.php"></script>
<link rel="stylesheet" rev="stylesheet" href="include/calendar/calendar.css" type="text/css" media="all" />
<style>
.btn_1 {padding:5px;}
.post_li li {line-height:18px;}
.post_li li .inputs {padding:1px;}
</style>
</head>
<body>
<!--{template header}-->
<div class="wrapper">
	<!-- 主体 -->
    <!--{template member_left_com}-->
	
    <div class="col_main">
    <!--{template member_topmenu}-->
      <div class="post_li">
        <ul>
        <form method="post" name="search">
        <li><h3>交易日期段</h3>
	<input name="begindate" class="inputs" type="text" id="begindate" size="12" value="<?=$begindate?>" onClick="return showCalendar('begindate', '%Y-%m-%d', false, false, 'begindate');" /> ~ <input name="enddate" type="text" id="enddate" size="12" class="inputs" value="<?=$enddate?>" onClick="return showCalendar('enddate', '%Y-%m-%d', false, false, 'enddate');" />&nbsp;&nbsp;<input type="submit" name="search" value="查 询">
        </li>
        </form>
        </ul>
        <div class="clearfix h_10"></div>
        <div class="bor_2"></div>
        <div class="clearfix h_10"></div>
        <ul>
          <li><h3>交易总额</h3>￥{number_format($re[zje],2)}</li>
          <li><h3>折扣优惠总额</h3>-￥{number_format($re[zje]-$re[zkj],2)}</li>
          <li><h3>&nbsp;</h3>折扣优惠(-￥{number_format($re[zje]-$re[zkj]-$re[lej]-$re[soj],2)})</li>
          <li><h3>&nbsp;</h3>{$CFG['lejuan']}优惠(-￥{number_format($re[lej],2)})</li>
          <li><h3>&nbsp;</h3>首单立减优惠(-￥{number_format($re[soj],2)})</li>
          <li><h3>服务费</h3>-￥{number_format($re[fc],2)}</li>
          <li><h3>消费分成</h3>￥{number_format($card_fc,2)}</li>
          <li><h3>实计收入</h3>￥{number_format($re[siso]+$card_fc,2)}</li>
        </ul>
        
      </div>
      <!--{template member_right}-->
    </div>
    
	<!-- 主体 结束 -->
    </div>
	<!--{template footer}-->
</body>
</html>
