interactive_code_show.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <{include file="./admin/header.html"}>
  2. <{include file="./admin/left.html"}>
  3. <{include file="./admin/nav.html"}>
  4. <{include file="get_kindeditor.html"}>
  5. <style>
  6. .set-nav {
  7. margin: 0 auto;
  8. }
  9. .set-nav-hr {
  10. background-color: #ddd;
  11. height: 1px;
  12. position: relative;
  13. }
  14. .form-group label {
  15. font-weight: 600;
  16. }
  17. .checkbox-inline, .radio-inline {
  18. font-weight: 400!important;
  19. }
  20. .rowlabel {
  21. font-weight: 300!important;
  22. }
  23. .music_play_hide {
  24. display:none;
  25. }
  26. </style>
  27. <div id="activity_container">
  28. <form id="activity_form">
  29. <div class="activity_center">
  30. <{include file="./admin/activity/common_nav.html"}>
  31. <input name="events_id" type="hidden" value="<{$events_Data.events.id}>">
  32. <div class="panel panel-default">
  33. <div class="panel-body">
  34. <table class="table">
  35. <thead>
  36. <tr>
  37. <th>序号</th>
  38. <th>是否领取 / UID</th>
  39. <th>券码</th>
  40. <th>创建时间</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <{if !$codeData}>
  45. <tr>
  46. <td colspan="4" align="center"> 没有查询到券信息 </td>
  47. </tr>
  48. <{else}>
  49. <{assign var=start_index value=$page*$size}>
  50. <{foreach from=$codeData item=item name=code}>
  51. <tr>
  52. <{assign var=index value=$start_index+$smarty.foreach.code.iteration}>
  53. <td><{$index}></td>
  54. <td><{if !$item.uid}><span class="text-muted">未领取</span><{else}><span class="text-success">已领取</span> / <span class="text-warning"><{$item.uid}></span><{/if}></td>
  55. <td><{$item.data}></td>
  56. <td><{$item.create_time|date_format:'%Y-%m-%d %H:%M:%S'}></td>
  57. </tr>
  58. <{/foreach}>
  59. <{/if}>
  60. </tbody>
  61. <tfoot>
  62. <tr>
  63. <td colspan="6" class="page"><{$page_html}></td>
  64. </tr>
  65. </tfoot>
  66. </table>
  67. </div>
  68. </div>
  69. </div>
  70. <{include file="./admin/activity/common_right.html"}>
  71. <div style="clear:both;"></div>
  72. </form>
  73. </div>
  74. <script>
  75. KISSY.use('node, io, event, jquery', function (S, Node, IO, Event, jQuery) {
  76. var $ = S.all;
  77. });
  78. </script>
  79. <{include file="./admin/bottom.html"}>