<div class="search_order_box well" style="margin: -10px 0 0 0;">
  <form class="form-inline order_search_group" method="post" action="<?php echo site_url('statistics/index'); ?>">
    <div class="form-group">
      <label for="exampleInputEmail2">统计日期</label>
      <input type="text" name="startdate" class="form-control input-sm datepicker lyydatepicker" value="<?php echo $startdate; ?>" autocomplete="off">
      <label for="exampleInputName2" style="width:auto">到</label>
      <input type="text" name="enddate" class="form-control input-sm datepicker lyydatepicker" value="<?php echo $enddate; ?>" autocomplete="off">
    </div>
    <button type="submit" class="btn btn-sm btn-primary" style="margin-top:-5px;">统　计</button>
  </form>
</div>

<div class="col-xs-24 content">
	<div class="col-xs-24 btn-lg"></div>
    <ul class="row statistics_ul">
      <li class="col-xs-4 nopadding-L"><strong>统计项目</strong></li>
      <li class="col-xs-4 nopadding-L"><strong>订单数</strong></li>
      <li class="col-xs-4 nopadding-L"><strong>支付方式占比</strong></li>
    </ul>
    <ul class="row statistics_ul">
      <li class="col-xs-4 nopadding-L">总订单</li>
      <li class="col-xs-4 nopadding-L"><?php echo $total_order_count; ?></li>
      <li class="col-xs-4 nopadding-L"></li>
    </ul>
    <ul class="row statistics_ul">
      <li class="col-xs-4 nopadding-L">总成行</li>
      <li class="col-xs-4 nopadding-L"><?php echo $total_success_count; ?></li>
      <li class="col-xs-4 nopadding-L"></li>
    </ul>
    <?php foreach ($payment_types as $key => $value) { ?>
    <ul class="row statistics_ul">
      <li class="col-xs-4 nopadding-L"><?php echo $key; ?></li>
      <li class="col-xs-4 nopadding-L"><?php echo $value; ?></li>
      <li class="col-xs-4 nopadding-L"></li>
    </ul>
    <?php } ?>
</div>