payments.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php require_once 'header.php' ?>
  2. <div class="row wrapper wrapper-content">
  3. <div class="row">
  4. <div class="col-md-12">
  5. <div class="panel panel-default">
  6. <div class="panel-heading">
  7. <div class="panel-title">
  8. <em class="fa fa-list">
  9. </em>
  10. <?php echo $title ?>
  11. </div>
  12. </div>
  13. <div class="panel-body">
  14. <div class="content-box">
  15. <table class="table table-hover">
  16. <thead>
  17. <tr>
  18. <th>
  19. 账单生成时间
  20. </th>
  21. <th>
  22. 账单序号
  23. </th>
  24. <th>
  25. 账单金额
  26. </th>
  27. <th>
  28. 手续费
  29. </th>
  30. <th>
  31. 实付金额
  32. </th>
  33. <th>
  34. 账单状态
  35. </th>
  36. <th>
  37. 真实姓名
  38. </th>
  39. <th>
  40. 收款银行
  41. </th>
  42. </tr>
  43. </thead>
  44. <tbody>
  45. <?php if($lists):?>
  46. <?php foreach($lists as $key=>
  47. $val):switch($val['is_state']){case 0: $state='
  48. <span class="label label-warning">
  49. 待处理
  50. </span>
  51. '; break;case 1: $state='
  52. <span class="label label-success">
  53. 已付款
  54. </span>
  55. '; break;}?>
  56. <tr>
  57. <td>
  58. <?php echo date( 'm-d H:i:s',$val[ 'addtime'])?>
  59. </td>
  60. <td>
  61. <?php echo $val[ 'sn']?>
  62. </td>
  63. <td class="green">
  64. <?php echo $val[ 'money']?>
  65. <span class="gray">
  66. </span>
  67. </td>
  68. <td>
  69. <?php echo $val[ 'fee']?>
  70. <span class="gray">
  71. </span>
  72. </td>
  73. <td class="red">
  74. <?php echo $val[ 'money']-$val[ 'fee']?>
  75. <span class="gray">
  76. </span>
  77. </td>
  78. <td>
  79. <?php echo $state ?>
  80. </td>
  81. <td>
  82. <?php echo $val[ 'realname']?>
  83. </td>
  84. <td>
  85. <?php echo $val[ 'batype']?>
  86. </td>
  87. </tr>
  88. <?php endforeach;?>
  89. <?php else:?>
  90. <tr>
  91. <td colspan="8" class="text-center">
  92. no data.
  93. </td>
  94. </tr>
  95. <?php endif;?>
  96. </tbody>
  97. </table>
  98. </div>
  99. </div></div>
  100. </div></div></div></div>
  101. <?php require_once 'footer.php' ?>