pdrecharge_list.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_predeposit}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch" id="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.admin_predeposit_membername} </dt>
  16. <dd><input type="text" name="mname" class="txt" value='{$Request.param.mname}'></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.admin_predeposit_addtime} </dt>
  20. <dd>
  21. <input type="text" id="query_start_date" name="query_start_date" class="txt date" value="{$Request.param.query_start_date}" >
  22. ~
  23. <input type="text" id="query_end_date" name="query_end_date" class="txt date" value="{$Request.param.query_end_date}" >
  24. </dd>
  25. <dd>
  26. <select id="paystate_search" name="paystate_search">
  27. <option value="">{$Think.lang.admin_predeposit_paystate}</option>
  28. <option value="0" {if condition="$Request.param.paystate_search eq '0'"}selected="selected"{/if}>{$Think.lang.admin_predeposit_rechargewaitpaying}</option>
  29. <option value="1" {if condition="$Request.param.paystate_search eq '1'"}selected="selected"{/if}>{$Think.lang.admin_predeposit_rechargepaysuccess}</option>
  30. </select>
  31. </dd>
  32. </dl>
  33. <div class="btn_group">
  34. <input type="submit" class="btn" value="{$Think.lang.ds_search}">
  35. {if $filtered}
  36. <a href="{:url('Predeposit/pdrecharge_list')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  37. {/if}
  38. <a class="btn btn-mini" href="javascript:export_xls('{:url('Predeposit/export_step1')}')"><span>{$Think.lang.ds_export}Excel</span></a>
  39. </div>
  40. </div>
  41. </form>
  42. <table class="ds-default-table">
  43. <thead>
  44. <tr class="thead">
  45. <th class="w24"></th>
  46. <th>{$Think.lang.admin_predeposit_sn}</th>
  47. <th>{$Think.lang.admin_predeposit_membername}</th>
  48. <th class="align-center">{$Think.lang.admin_predeposit_addtime}</th>
  49. <th class="align-center">{$Think.lang.admin_predeposit_paytime}</th>
  50. <th class="align-center">{$Think.lang.admin_predeposit_payment}</th>
  51. <th class="align-center">{$Think.lang.admin_predeposit_recharge_price}({$Think.lang.ds_yuan})</th>
  52. <th class="align-center">{$Think.lang.admin_predeposit_paystate}</th>
  53. <th class="align-center">{$Think.lang.ds_handle}</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. {notempty name="recharge_list"}
  58. {foreach name="recharge_list" item="recharge"}
  59. <tr>
  60. <td><input type="checkbox" class="checkitem" name="pdr_id[]" value="{$recharge.pdr_id}" /></td>
  61. <td>{$recharge.pdr_sn}</td>
  62. <td>{$recharge.pdr_member_name}</td>
  63. <td>{$recharge.pdr_addtime|date="Y-m-d H:i:s"}</td>
  64. <td>{if $recharge.pdr_paymenttime|intval('###')}{if $recharge.pdr_paymenttime eq '0'}{$recharge.pdr_paymenttime|date="Y-m-d"}{else}{$recharge.pdr_paymenttime|date="Y-m-d H:i:s"}{/if}{/if}</td>
  65. <td>{:get_order_payment_name($recharge['pdr_payment_code'])}</td>
  66. <td>{$recharge.pdr_amount}</td>
  67. <td>{if $recharge.pdr_payment_state eq '0'}{$Think.lang.admin_predeposit_rechargewaitpaying}{else}{$Think.lang.admin_predeposit_rechargepaysuccess}{/if}</td>
  68. <td>
  69. <a href="javascript:dsLayerOpen('{:url('Predeposit/recharge_info',['id'=>$recharge.pdr_id])}','{$Think.lang.ds_view}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  70. {if $recharge.pdr_payment_state == '0'}
  71. <a href="javascript:submit_delete({$recharge.pdr_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  72. {/if}
  73. </td>
  74. </tr>
  75. {/foreach}
  76. {else /}
  77. <tr class="no_data">
  78. <td colspan="20">{$Think.lang.no_record}</td>
  79. </tr>
  80. {/notempty}
  81. </tbody>
  82. <tfoot>
  83. {notempty name="recharge_list"}
  84. <tr class="tfoot">
  85. <td><input type="checkbox" class="checkall" id="checkallBottom"></td>
  86. <td colspan="16"><label for="checkallBottom">{$Think.lang.ds_select_all}</label>
  87. &nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  88. </td>
  89. </tr>
  90. {/notempty}
  91. </tfoot>
  92. </table>
  93. {$show_page|raw}
  94. </div>
  95. <script language="javascript">
  96. $(function () {
  97. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
  98. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
  99. });
  100. function submit_delete(ids_str) {
  101. _uri = ADMINSITEURL + "/Predeposit/recharge_del.html?pdr_id=" + ids_str;
  102. dsLayerConfirm(_uri, '{$Think.lang.ds_ensure_del}');
  103. }
  104. </script>