<style>
body, td, input, textarea, select, button {
    color: #555555;
    font: 14px/150% Arial,Verdana,"宋体";
    line-height:40px;
}
body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset {
    margin: 0;
    padding: 0;
}
</style>
<table style="width:800px;font-size:15px;margin-top:50px" align="center">
<tr><td colspan="2"><img height="32" src="<?php echo config('member_logo') == ''?UPLOAD_SITE_URL.DS.ATTACH_COMMON.DS.config('site_logo'):UPLOAD_SITE_URL.DS.ATTACH_COMMON.DS.config('member_logo'); ?>"></td></tr>
<tr><td colspan="4" style="border-bottom:1px solid #ccc"><h3 style="font-size:20px Arial,Verdana,'宋体';line-height:60px"><?php echo config('site_name');?> - 虚拟订单商家结算单</h3></td></tr>
<tr>
<td width="80px">商家</td><td colspan="3"><?php echo $bill_info['ob_store_name'];?></td>
</tr>
<tr><td>结算单号</td><td width="130px"><?php echo $bill_info['ob_no'];?></td><td width="100px">结算范围</td><td><?php echo date('Y-m-d',$bill_info['ob_start_date']);?> &nbsp;至&nbsp; <?php echo date('Y-m-d',$bill_info['ob_end_date']);?></td></tr>
<tr><td>出账时间</td><td><?php echo date('Y-m-d',$bill_info['ob_create_date']);?></td>
<td>结算状态：</td><td><?php echo billState($bill_info['ob_state']);?></td></tr>
<?php if ($bill_info['ob_state'] == BILL_STATE_SUCCESS){?>
<tr>
<td>
结算日期</td><td><?php echo date('Y-m-d',$bill_info['ob_pay_date']);?>
</td>
</tr>
<?php }?>
<tr><td>商家应收</td><td><?php echo $bill_info['ob_result_totals'];?></td></tr>
<tr><td>结算明细</td><td colspan="4"> <?php echo $bill_info['ob_order_totals'];?> (消费金额) - <?php echo $bill_info['ob_commis_totals'];?> (佣金金额) </td></tr>
</table>