user_participate_win.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 $eventData.forms}>
  20. <{if $action == 'form'}>
  21. <span class="text-muted">表单</span> &nbsp;
  22. <{else}>
  23. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserParticipateLog&a=PageEventFormData&events_id=<{$eventData.id}>&action=form">表单</a> &nbsp;
  24. <{/if}>
  25. <{/if}>
  26. <{if $action == 'win'}>
  27. <span class="text-muted">中奖</span> &nbsp;
  28. <{else}>
  29. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserParticipateLog&a=PageLotteryDataList&events_id=<{$eventData.id}>&action=win">中奖</a> &nbsp;
  30. <{/if}>
  31. <{if $eventData.type == 4}>
  32. <a href="<{$web_cfg.domain}>/?c=Admin_Activity_UserHelp&a=PageList&events_id=<{$eventData.id}>">助力排行</a> &nbsp;
  33. <{/if}>
  34. <{if $download_url}>
  35. <a href="<{$download_url}>" target="_blank" class="" style="padding:0 10px;margin-left:10px;"><i class="fa fa-download"></i> 导出数据</a>
  36. <{/if}>
  37. <{*
  38. <a href="" target="_blank" class="button button-primary button-small" style="width:; float:right" ><i class="fa fa-download"></i> 导出数据报表 </a>
  39. *}>
  40. <div class="block_10"></div>
  41. <div class="panel panel-default">
  42. <div class="panel-body">
  43. <div class="form-group">
  44. <div>
  45. <table class="table table-hover">
  46. <thead>
  47. <tr>
  48. <th>参与人</th>
  49. <th>UID</th>
  50. <th>时间</th>
  51. <th>行为</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <{if $lotteryData}>
  56. <{foreach from=$lotteryData item=data}>
  57. <tr>
  58. <td>
  59. <{if $userData[$data.uid].headimgurl}>
  60. <img class="img-rounded" width="48" height="48" src="<{$userData[$data.uid].headimgurl}>" />
  61. <{else}>
  62. <img class="img-rounded" width="48" height="48" src="http://news.mydrivers.com/Img/20110518/04481549.png" />
  63. <{/if}>
  64. <{if $userData[$data.uid].nickname}><{$userData[$data.uid].nickname}><{else}>游客<{/if}></td>
  65. <td><{$data.uid}></td>
  66. <td><{"Y-m-d H:i:s"|date:$data.create_time}></td>
  67. <{if $data.prize_id}>
  68. <td>
  69. 获得奖品: <span class="text-muted"><{$prizeData[$data.prize_id].prize_name}></span>&nbsp;
  70. <{if $data.express}>
  71. <br><br>用户收货地址: <span class="text-muted">姓名:<{$data.express.user_name}> 收货地址:<{$data.express.address}> 电话:<{$data.express.phone}></span>&nbsp;
  72. <{elseif $newUserExpData[$data.uid].user_name}>
  73. <br><br>用户收货地址: <span class="text-muted">姓名:<{$newUserExpData[$data.uid].user_name}> 收货地址:<{$newUserExpData[$data.uid].address}> 电话:<{$newUserExpData[$data.uid].phone}></span>&nbsp;
  74. <{/if}>
  75. </td>
  76. <{else}>
  77. <td>
  78. 获得奖品: <span class="text-muted"><{$data.run_time_data.prize[0].prize_name}></span>&nbsp;
  79. <{if $data.express1111}>
  80. <br><br>用户收货地址: <span class="text-muted">姓名:<{$data.express.user_name}> 收货地址:<{$data.express.address}> 电话:<{$data.express.phone}></span>&nbsp;
  81. <{elseif $newUserExpData[$data.uid].user_name111}>
  82. <br><br>用户收货地址: <span class="text-muted">姓名:<{$newUserExpData[$data.uid].user_name}> 收货地址:<{$newUserExpData[$data.uid].address}> 电话:<{$newUserExpData[$data.uid].phone}></span>&nbsp;
  83. <{/if}>
  84. <{if $formUserData[$data.uid]}>
  85. <br><br>
  86. 表单信息:<br />
  87. <{foreach from=$formType item=name}>
  88. <{$name}>:<span class="text-muted"><{$formUserData[$data.uid][$name]}></span>&nbsp;
  89. <{/foreach}>
  90. <{/if}>
  91. </td>
  92. <{/if}>
  93. </tr>
  94. <{/foreach}>
  95. <{else}>
  96. <tr>
  97. <td colspan="3" align="center" class="text-muted">无中奖数据</td>
  98. </tr>
  99. <{/if}>
  100. </tbody>
  101. </table>
  102. <div class="page"><{$page_html}></div><p style="float:right" >参与人数:<{$total_num}></p>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <{include file="./admin/activity/common_right.html"}>
  109. <div style="clear:both;"></div>
  110. </div>
  111. <script>
  112. KISSY.use('node, io, event', function (S, Node, IO, Event) {
  113. var $ = S.all;
  114. });
  115. </script>
  116. <{include file="./admin/bottom.html"}>