index.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a >充值规则列表</a></li>
  7. <li><a href="{:url('Chargerules/add')}">{:lang('ADD')}</a></li>
  8. </ul>
  9. <form method="post" class="js-ajax-form" action="{:url('Chargerules/listOrder')}">
  10. <div class="table-actions">
  11. <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
  12. </div>
  13. <table class="table table-hover table-bordered">
  14. <thead>
  15. <tr>
  16. <th>序号</th>
  17. <th>ID</th>
  18. <th>名称</th>
  19. <th>价格</th>
  20. <th>钻石</th>
  21. <th>赠送钻石</th>
  22. <th>发布时间</th>
  23. <th>{:lang('ACTIONS')}</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <foreach name="lists" item="vo">
  28. <tr>
  29. <td><input name="list_orders[{$vo.id}]" class="input-order" type="text" value="{$vo.list_order}"></td>
  30. <td>{$vo.id}</td>
  31. <td>{$vo['name']}</td>
  32. <td>{$vo['money']}</td>
  33. <td>{$vo['coin']}</td>
  34. <td>{$vo['give']}</td>
  35. <td>{:date('Y-m-d H:i',$vo['addtime'])}</td>
  36. <td>
  37. <a class="btn btn-xs btn-primary" href='{:url("Chargerules/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
  38. <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('Chargerules/del',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
  39. </td>
  40. </tr>
  41. </foreach>
  42. </tbody>
  43. </table>
  44. <div class="pagination">{$page}</div>
  45. </form>
  46. </div>
  47. <script src="__STATIC__/js/admin.js"></script>
  48. </body>
  49. </html>