recharge_edit.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. </div>
  10. </div>
  11. <form method="post" id="form1">
  12. <table class="ds-default-table">
  13. <tbody>
  14. <tr>
  15. <td colspan="2" ><label>{$Think.lang.admin_predeposit_sn}:</label></td>
  16. </tr>
  17. <tr>
  18. <td>{$info.pdr_sn}</td>
  19. </tr>
  20. <tr>
  21. <td colspan="2" ><label>{$Think.lang.admin_predeposit_membername}:</label></td>
  22. </tr>
  23. <tr>
  24. <td>{$info.pdr_member_name}</td>
  25. </tr>
  26. <tr>
  27. <td colspan="2" ><label>{$Think.lang.admin_predeposit_recharge_price}({$Think.lang.ds_yuan}):</label></td>
  28. </tr>
  29. <tr>
  30. <td>{$info.pdr_amount}</td>
  31. </tr>
  32. <tr class="noborder">
  33. <td colspan="2" class="required"><label>{$Think.lang.admin_predeposit_paytime}: </label></td>
  34. </tr>
  35. <tr class="noborder">
  36. <td class="vatop rowform"><input readonly id="payment_time" class="" name="payment_time" value="" type="text" /></td>
  37. <td class="vatop tips"></td>
  38. </tr>
  39. <tr class="noborder">
  40. <td colspan="2" class="required"><label>{$Think.lang.admin_predeposit_payment}: </label></td>
  41. </tr>
  42. <tr class="noborder">
  43. <td class="vatop rowform">
  44. <select name="payment_code" class="querySelect">
  45. <option value="">{$Think.lang.ds_please_choose}</option>
  46. {foreach name="payment_list" item="val"}
  47. <option value="{$val.payment_code}">{$val.payment_name}</option>
  48. {/foreach}
  49. </select>
  50. </td>
  51. <td class="vatop tips"></td>
  52. </tr>
  53. <tr>
  54. <td colspan="2" class="required"><label for="trade_no">{$Think.lang.ds_trade_no} : </label></td>
  55. </tr>
  56. <tr class="noborder">
  57. <td class="vatop rowform"><input type="text" class="txt2" name="trade_no" id="trade_no" maxlength="40"></td>
  58. <td class="vatop tips"></td>
  59. </tr>
  60. </tbody>
  61. <tfoot>
  62. </tfoot>
  63. </table>
  64. <input type="submit" value="{$Think.lang.ds_submit}" class="btn">
  65. </form>
  66. </div>
  67. <script type="text/javascript">
  68. $(function(){
  69. $('#payment_time').datepicker({dateFormat:"yy-mm-dd",maxDate: "{$Think.TIMESTAMP|date='Y-m-d'}"});
  70. $("#form1").validate({
  71. errorPlacement: function(error, element){
  72. error.appendTo(element.parent().parent().prev().find('td:first'));
  73. },
  74. rules : {
  75. payment_time : {
  76. required : true
  77. },
  78. payment_code : {
  79. required : true
  80. },
  81. trade_no :{
  82. required : true
  83. }
  84. },
  85. messages : {
  86. payment_time : {
  87. required : '{$Think.lang.payment_time_required}'
  88. },
  89. payment_code : {
  90. required : '{$Think.lang.payment_code_required}'
  91. },
  92. trade_no : {
  93. required : '{$Think.lang.trade_no_required}'
  94. }
  95. }
  96. });
  97. });
  98. </script>
  99. </body>