%%C4^C4B^C4B7643A%%user_participate_win.html.php 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?php /* Smarty version 2.6.17, created on 2018-05-28 12:14:08
  2. compiled from admin/activity/user_participate_win.html */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date', 'admin/activity/user_participate_win.html', 75, false),)), $this); ?>
  5. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  6. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
  7. $this->_tpl_vars = $_smarty_tpl_vars;
  8. unset($_smarty_tpl_vars);
  9. ?>
  10. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  11. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
  12. $this->_tpl_vars = $_smarty_tpl_vars;
  13. unset($_smarty_tpl_vars);
  14. ?>
  15. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  16. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
  17. $this->_tpl_vars = $_smarty_tpl_vars;
  18. unset($_smarty_tpl_vars);
  19. ?>
  20. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  21. $this->_smarty_include(array('smarty_include_tpl_file' => "get_kindeditor.html", 'smarty_include_vars' => array()));
  22. $this->_tpl_vars = $_smarty_tpl_vars;
  23. unset($_smarty_tpl_vars);
  24. ?>
  25. <div id="activity_container">
  26. <div class="activity_center">
  27. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  28. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/activity/common_nav.html", 'smarty_include_vars' => array()));
  29. $this->_tpl_vars = $_smarty_tpl_vars;
  30. unset($_smarty_tpl_vars);
  31. ?>
  32. 查看:
  33. <?php if ($this->_tpl_vars['action'] == 'all'): ?>
  34. <span class="text-muted">全部</span> &nbsp;
  35. <?php else: ?>
  36. <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  37. /?c=Admin_Activity_UserParticipateLog&a=PageList&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
  38. &action=all">全部</a> &nbsp;
  39. <?php endif; ?>
  40. <?php if ($this->_tpl_vars['action'] == 'member'): ?>
  41. <span class="text-muted">用户</span> &nbsp;
  42. <?php else: ?>
  43. <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  44. /?c=Admin_Activity_UserParticipateLog&a=PageList&groupByUid=true&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
  45. &action=member">用户</a> &nbsp;
  46. <?php endif; ?>
  47. <?php if ($this->_tpl_vars['eventData']['forms']): ?>
  48. <?php if ($this->_tpl_vars['action'] == 'form'): ?>
  49. <span class="text-muted">表单</span> &nbsp;
  50. <?php else: ?>
  51. <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  52. /?c=Admin_Activity_UserParticipateLog&a=PageEventFormData&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
  53. &action=form">表单</a> &nbsp;
  54. <?php endif; ?>
  55. <?php endif; ?>
  56. <?php if ($this->_tpl_vars['action'] == 'win'): ?>
  57. <span class="text-muted">中奖</span> &nbsp;
  58. <?php else: ?>
  59. <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  60. /?c=Admin_Activity_UserParticipateLog&a=PageLotteryDataList&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
  61. &action=win">中奖</a> &nbsp;
  62. <?php endif; ?>
  63. <?php if ($this->_tpl_vars['eventData']['type'] == 4): ?>
  64. <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  65. /?c=Admin_Activity_UserHelp&a=PageList&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
  66. ">助力排行</a> &nbsp;
  67. <?php endif; ?>
  68. <?php if ($this->_tpl_vars['download_url']): ?>
  69. <a href="<?php echo $this->_tpl_vars['download_url']; ?>
  70. " target="_blank" class="" style="padding:0 10px;margin-left:10px;"><i class="fa fa-download"></i> 导出数据</a>
  71. <?php endif; ?>
  72. <div class="block_10"></div>
  73. <div class="panel panel-default">
  74. <div class="panel-body">
  75. <div class="form-group">
  76. <div>
  77. <table class="table table-hover">
  78. <thead>
  79. <tr>
  80. <th>参与人</th>
  81. <th>UID</th>
  82. <th>时间</th>
  83. <th>行为</th>
  84. </tr>
  85. </thead>
  86. <tbody>
  87. <?php if ($this->_tpl_vars['lotteryData']): ?>
  88. <?php $_from = $this->_tpl_vars['lotteryData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  89. foreach ($_from as $this->_tpl_vars['data']):
  90. ?>
  91. <tr>
  92. <td>
  93. <?php if ($this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['headimgurl']): ?>
  94. <img class="img-rounded" width="48" height="48" src="<?php echo $this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['headimgurl']; ?>
  95. " />
  96. <?php else: ?>
  97. <img class="img-rounded" width="48" height="48" src="http://news.mydrivers.com/Img/20110518/04481549.png" />
  98. <?php endif; ?>
  99. <?php if ($this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['nickname']): ?><?php echo $this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['nickname']; ?>
  100. <?php else: ?>游客<?php endif; ?></td>
  101. <td><?php echo $this->_tpl_vars['data']['uid']; ?>
  102. </td>
  103. <td><?php echo ((is_array($_tmp="Y-m-d H:i:s")) ? $this->_run_mod_handler('date', true, $_tmp, $this->_tpl_vars['data']['create_time']) : date($_tmp, $this->_tpl_vars['data']['create_time'])); ?>
  104. </td>
  105. <?php if ($this->_tpl_vars['data']['prize_id']): ?>
  106. <td>
  107. 获得奖品: <span class="text-muted"><?php echo $this->_tpl_vars['prizeData'][$this->_tpl_vars['data']['prize_id']]['prize_name']; ?>
  108. </span>&nbsp;
  109. <?php if ($this->_tpl_vars['data']['express']): ?>
  110. <br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['data']['express']['user_name']; ?>
  111. 收货地址:<?php echo $this->_tpl_vars['data']['express']['address']; ?>
  112. 电话:<?php echo $this->_tpl_vars['data']['express']['phone']; ?>
  113. </span>&nbsp;
  114. <?php elseif ($this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']): ?>
  115. <br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']; ?>
  116. 收货地址:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['address']; ?>
  117. 电话:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['phone']; ?>
  118. </span>&nbsp;
  119. <?php endif; ?>
  120. </td>
  121. <?php else: ?>
  122. <td>
  123. 获得奖品: <span class="text-muted"><?php echo $this->_tpl_vars['data']['run_time_data']['prize'][0]['prize_name']; ?>
  124. </span>&nbsp;
  125. <?php if ($this->_tpl_vars['data']['express']): ?>
  126. <br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['data']['express']['user_name']; ?>
  127. 收货地址:<?php echo $this->_tpl_vars['data']['express']['address']; ?>
  128. 电话:<?php echo $this->_tpl_vars['data']['express']['phone']; ?>
  129. </span>&nbsp;
  130. <?php elseif ($this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']): ?>
  131. <br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']; ?>
  132. 收货地址:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['address']; ?>
  133. 电话:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['phone']; ?>
  134. </span>&nbsp;
  135. <?php endif; ?>
  136. <?php if ($this->_tpl_vars['formUserData'][$this->_tpl_vars['data']['uid']]): ?>
  137. <br><br>
  138. 表单信息:<br />
  139. <?php $_from = $this->_tpl_vars['formType']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  140. foreach ($_from as $this->_tpl_vars['name']):
  141. ?>
  142. <?php echo $this->_tpl_vars['name']; ?>
  143. :<span class="text-muted"><?php echo $this->_tpl_vars['formUserData'][$this->_tpl_vars['data']['uid']][$this->_tpl_vars['name']]; ?>
  144. </span>&nbsp;
  145. <?php endforeach; endif; unset($_from); ?>
  146. <?php endif; ?>
  147. </td>
  148. <?php endif; ?>
  149. </tr>
  150. <?php endforeach; endif; unset($_from); ?>
  151. <?php else: ?>
  152. <tr>
  153. <td colspan="3" align="center" class="text-muted">无中奖数据</td>
  154. </tr>
  155. <?php endif; ?>
  156. </tbody>
  157. </table>
  158. <div class="page"><?php echo $this->_tpl_vars['page_html']; ?>
  159. </div><p style="float:right" >参与人数:<?php echo $this->_tpl_vars['total_num']; ?>
  160. </p>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  167. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/activity/common_right.html", 'smarty_include_vars' => array()));
  168. $this->_tpl_vars = $_smarty_tpl_vars;
  169. unset($_smarty_tpl_vars);
  170. ?>
  171. <div style="clear:both;"></div>
  172. </div>
  173. <script>
  174. KISSY.use('node, io, event', function (S, Node, IO, Event) {
  175. var $ = S.all;
  176. });
  177. </script>
  178. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  179. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
  180. $this->_tpl_vars = $_smarty_tpl_vars;
  181. unset($_smarty_tpl_vars);
  182. ?>