edit.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li ><a href="{:url('Cash/index')}">{$configpub['name_votes']}提现记录列表</a></li>
  7. <li class="active"><a >{:lang('EDIT')}</a></li>
  8. </ul>
  9. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Cash/editPost')}">
  10. <div class="form-group">
  11. <label for="input-name" class="col-sm-2 control-label"><span class="form-required">*</span>会员</label>
  12. <div class="col-md-6 col-sm-10" style="padding-top:7px;">
  13. {$data['userinfo']['user_nicename']} ({$data['uid']})
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label for="input-votes" class="col-sm-2 control-label"><span class="form-required">*</span>兑换{$configpub['name_votes']}</label>
  18. <div class="col-md-6 col-sm-10" style="padding-top:7px;">
  19. {$data['votes']}
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label for="input-money" class="col-sm-2 control-label"><span class="form-required">*</span>提现金额</label>
  24. <div class="col-md-6 col-sm-10" style="padding-top:7px;">
  25. {$data['money']}
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label for="input-name" class="col-sm-2 control-label"><span class="form-required">*</span>提现账号</label>
  30. <div class="col-md-6 col-sm-10" style="padding-top:7px;">
  31. {$type[$data['type']]} <br>
  32. {$data['name']} <br>
  33. {$data['account']}
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label for="input-trade_no" class="col-sm-2 control-label"><span class="form-required">*</span>第三方支付订单号</label>
  38. <div class="col-md-6 col-sm-10">
  39. <input type="text" class="form-control" id="input-trade_no" name="trade_no" value="{$data['trade_no']}">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label for="input-trade_no" class="col-sm-2 control-label"><span class="form-required">*</span>状态</label>
  44. <div class="col-md-6 col-sm-10">
  45. <select class="form-control" name="status">
  46. <volist name="status" id="v">
  47. <option value="{$key}" <eq name="data['status']" value="$key">selected</eq>>{$v}</option>
  48. </volist>
  49. </select>
  50. </div>
  51. </div>
  52. <if condition="$data['status'] eq 0">
  53. <div class="form-group">
  54. <div class="col-sm-offset-2 col-sm-10">
  55. <input type="hidden" name="id" value="{$data.id}" />
  56. <input type="hidden" name="uid" value="{$data.uid}" />
  57. <input type="hidden" name="votes" value="{$data.votes}" />
  58. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('EDIT')}</button>
  59. <a class="btn btn-default" href="{:url('Cash/index')}">{:lang('BACK')}</a>
  60. </div>
  61. </div>
  62. </if>
  63. </form>
  64. </div>
  65. <script src="__STATIC__/js/admin.js"></script>
  66. </body>
  67. </html>