user_participate_form.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. <div id="activity_container">
  6. <div class="activity_center">
  7. <{include file="./admin/activity/common_nav.html"}>
  8. 查看:
  9. <{if $action == 'all'}>
  10. <span class="text-muted">全部</span> &nbsp;
  11. <{else}>
  12. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserParticipateLog&a=PageList&events_id=<{$eventData.id}>&action=all">全部</a> &nbsp;
  13. <{/if}>
  14. <{if $action == 'member'}>
  15. <span class="text-muted">用户</span> &nbsp;
  16. <{else}>
  17. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserParticipateLog&a=PageList&groupByUid=true&events_id=<{$eventData.id}>&action=member">用户</a> &nbsp;
  18. <{/if}>
  19. <{if $action == 'form'}>
  20. <span class="text-muted">表单</span> &nbsp;
  21. <{else}>
  22. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserParticipateLog&a=PageEventFormData&events_id=<{$eventData.id}>&action=form">表单</a> &nbsp;
  23. <{/if}>
  24. <{if $isPrizes}>
  25. <{if $action == 'win'}>
  26. <span class="text-muted">中奖</span> &nbsp;
  27. <{else}>
  28. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserParticipateLog&a=PageLotteryDataList&events_id=<{$eventData.id}>&action=win">中奖</a> &nbsp;
  29. <{/if}>
  30. <{/if}>
  31. <{if $download_url}>
  32. <a href="<{$download_url}>" target="_blank" class="" style="padding:0 10px;margin-left:10px;"><i class="fa fa-download"></i> 导出数据</a>
  33. <{/if}>
  34. <{*
  35. <a href="" target="_blank" class="button button-primary button-small" style="width:; float:right" ><i class="fa fa-download"></i> 导出数据报表 </a>
  36. *}>
  37. <div class="block_10"></div>
  38. <div class="panel panel-default">
  39. <div class="panel-body">
  40. <div class="form-group">
  41. <div>
  42. <table class="table table-hover">
  43. <thead>
  44. <tr>
  45. <th>参与人</th>
  46. <th>UID</th>
  47. <th>时间</th>
  48. <th>行为</th>
  49. </tr>
  50. </thead>
  51. <tbody>
  52. <{if $formData}>
  53. <{foreach from=$formData item=data}>
  54. <tr>
  55. <td>
  56. <{if $userData[$data.uid].headimgurl}>
  57. <img class="img-rounded" width="48" height="48" src="<{$userData[$data.uid].headimgurl}>" />
  58. <{else}>
  59. <img class="img-rounded" width="48" height="48" src="http://news.mydrivers.com/Img/20110518/04481549.png" />
  60. <{/if}>
  61. <{if $userData[$data.uid].nickname}><{$userData[$data.uid].nickname}><{else}>游客<{/if}></td>
  62. <td><{$data.uid}></td>
  63. <td><{"Y-m-d H:i:s"|date:$data.create_time}></td>
  64. <td>
  65. <{foreach from=$formType item=name}>
  66. <{$name}>:<span class="text-muted"><{$data.$name}></span>&nbsp;
  67. <{/foreach}>
  68. </td>
  69. </tr>
  70. <{/foreach}>
  71. <{else}>
  72. <tr>
  73. <td colspan="3" align="center" class="text-muted">无表单数据</td>
  74. </tr>
  75. <{/if}>
  76. </tbody>
  77. </table>
  78. <div class="page"><{$page_html}></div><p style="float:right" >参与人数:<{$total_num}></p>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. <{include file="./admin/activity/common_right.html"}>
  85. <div style="clear:both;"></div>
  86. </div>
  87. <script>
  88. KISSY.use('node, io, event', function (S, Node, IO, Event) {
  89. var $ = S.all;
  90. });
  91. </script>
  92. <{include file="./admin/bottom.html"}>