firstcharge.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li><a href="{:url('Chargerules/index')}">充值规则列表</a></li>
  7. <li><a href="{:url('Chargerules/add')}">{:lang('ADD')}</a></li>
  8. <li class="active"><a >首充规则列表</a></li>
  9. </ul>
  10. <form method="post" class="js-ajax-form" action="{:url('Chargerules/listOrder')}">
  11. <div class="table-actions">
  12. <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
  13. </div>
  14. <table class="table table-hover table-bordered">
  15. <thead>
  16. <tr>
  17. <th>序号</th>
  18. <th>ID</th>
  19. <th>名称</th>
  20. <th>价格</th>
  21. <th>钻石</th>
  22. <th>苹果项目ID</th>
  23. <th>赠送积分</th>
  24. <th>赠送VIP时长(天)</th>
  25. <th>赠送热门礼物</th>
  26. <th>赠送热门礼物个数</th>
  27. <th>发布时间</th>
  28. <th>修改时间</th>
  29. <th>{:lang('ACTIONS')}</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <foreach name="lists" item="vo">
  34. <tr>
  35. <td><input name="list_orders[{$vo.id}]" class="input-order" type="text" value="{$vo.list_order}"></td>
  36. <td>{$vo.id}</td>
  37. <td>{$vo['name']}</td>
  38. <td>{$vo['money']}</td>
  39. <td>{$vo['coin']}</td>
  40. <td>{$vo['product_id']}</td>
  41. <td>{$vo['score']}</td>
  42. <td>{$vo['vip_length']}</td>
  43. <td><if condition="empty($vo['gift_info'])">--<else />{$vo['gift_info']['giftname']}({$vo['giftid']})</if></td>
  44. <td>{$vo['gift_num']}</td>
  45. <td>{:date('Y-m-d H:i',$vo['addtime'])}</td>
  46. <td><if condition="$vo['uptime'] gt 0">{:date('Y-m-d H:i',$vo['addtime'])}<else />--</if></td>
  47. <td>
  48. <a class="btn btn-xs btn-primary" href='{:url("Chargerules/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
  49. </td>
  50. </tr>
  51. </foreach>
  52. </tbody>
  53. </table>
  54. <div class="pagination">{$page}</div>
  55. </form>
  56. </div>
  57. <script src="__STATIC__/js/admin.js"></script>
  58. </body>
  59. </html>