index.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a>{:lang('USER_ADMINUSERACTION_INDEX')}</a></li>
  7. </ul>
  8. <form method="post" class="js-ajax-form margin-top-20">
  9. <php>$cycle_types=['0'=>'不限','1'=>'天','2'=>'小时','3'=>'永久']</php>
  10. <table class="table table-hover table-bordered">
  11. <thead>
  12. <tr>
  13. <th>操作</th>
  14. <th>积分更改</th>
  15. <th>金币更改</th>
  16. <th>奖励周期</th>
  17. <th>{:lang('ACTIONS')}</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <foreach name="actions" item="vo">
  22. <php></php>
  23. <tr>
  24. <td>{$vo.name} {$vo.action}</td>
  25. <td>{$vo.score}</td>
  26. <td>{$vo.coin}</td>
  27. <th>
  28. <eq name="vo.cycle_type" value="0">
  29. 不限
  30. <else/>
  31. {$vo.reward_number}次/{$vo.cycle_time}{$cycle_types[$vo['cycle_type']]}
  32. </eq>
  33. </th>
  34. <td>
  35. <a class="btn btn-xs btn-primary" href="{:url('AdminUserAction/edit')}?id={$vo.id}" title="编辑"
  36. data-toggle="tooltip">
  37. <i class="fa fa-edit fa-fw"></i>
  38. </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?v={$_static_version}"></script>
  48. </body>
  49. </html>