| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 | 
							- <?php /* Smarty version 2.6.17, created on 2018-05-28 12:14:08
 
-          compiled from admin/activity/user_participate_win.html */ ?>
 
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
 
- smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date', 'admin/activity/user_participate_win.html', 75, false),)), $this); ?>
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "get_kindeditor.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
- <div id="activity_container">
 
- <div class="activity_center">
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/activity/common_nav.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
- 	查看:
 
- 	<?php if ($this->_tpl_vars['action'] == 'all'): ?>
 
- 	<span class="text-muted">全部</span>  
 
- 	<?php else: ?>
 
- 	<a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
 
- /?c=Admin_Activity_UserParticipateLog&a=PageList&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
 
- &action=all">全部</a>  
 
- 	<?php endif; ?>
 
- 	<?php if ($this->_tpl_vars['action'] == 'member'): ?>
 
- 	<span class="text-muted">用户</span>  
 
- 	<?php else: ?>
 
- 	<a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
 
- /?c=Admin_Activity_UserParticipateLog&a=PageList&groupByUid=true&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
 
- &action=member">用户</a>  
 
- 	<?php endif; ?>
 
- 	<?php if ($this->_tpl_vars['eventData']['forms']): ?>
 
- 	<?php if ($this->_tpl_vars['action'] == 'form'): ?>
 
- 	<span class="text-muted">表单</span>  
 
- 	<?php else: ?>
 
- 	<a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
 
- /?c=Admin_Activity_UserParticipateLog&a=PageEventFormData&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
 
- &action=form">表单</a>  
 
- 	<?php endif; ?>
 
- 	<?php endif; ?>
 
- 	<?php if ($this->_tpl_vars['action'] == 'win'): ?>
 
- 	<span class="text-muted">中奖</span>  
 
- 	<?php else: ?>
 
- 	<a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
 
- /?c=Admin_Activity_UserParticipateLog&a=PageLotteryDataList&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
 
- &action=win">中奖</a>  
 
- 	<?php endif; ?>
 
- 	<?php if ($this->_tpl_vars['eventData']['type'] == 4): ?>
 
- 	<a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
 
- /?c=Admin_Activity_UserHelp&a=PageList&events_id=<?php echo $this->_tpl_vars['eventData']['id']; ?>
 
- ">助力排行</a>  
 
- 	<?php endif; ?>
 
- 	
 
- 	<?php if ($this->_tpl_vars['download_url']): ?>
 
- 	<a href="<?php echo $this->_tpl_vars['download_url']; ?>
 
- " target="_blank" class="" style="padding:0 10px;margin-left:10px;"><i class="fa fa-download"></i> 导出数据</a>
 
- 	<?php endif; ?>
 
- 		
 
- 	<div class="block_10"></div>
 
- 	
 
- 	<div  class="panel panel-default">
 
- 		<div class="panel-body">	
 
- 			<div class="form-group">
 
- 				<div>
 
- 					<table class="table table-hover">
 
- 						<thead>
 
- 							<tr>
 
- 								<th>参与人</th>
 
- 								<th>UID</th>
 
- 								<th>时间</th>
 
- 								<th>行为</th>
 
- 							</tr>
 
- 						</thead>
 
- 						<tbody>
 
- 							<?php if ($this->_tpl_vars['lotteryData']): ?>
 
- 							<?php $_from = $this->_tpl_vars['lotteryData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
 
-     foreach ($_from as $this->_tpl_vars['data']):
 
- ?>
 
- 							<tr>
 
- 								<td>
 
- 								
 
- 									<?php if ($this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['headimgurl']): ?>
 
- 									<img class="img-rounded" width="48" height="48" src="<?php echo $this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['headimgurl']; ?>
 
- " />
 
- 									<?php else: ?>
 
- 									<img class="img-rounded" width="48" height="48" src="http://news.mydrivers.com/Img/20110518/04481549.png" />
 
- 									<?php endif; ?>
 
- 									<?php if ($this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['nickname']): ?><?php echo $this->_tpl_vars['userData'][$this->_tpl_vars['data']['uid']]['nickname']; ?>
 
- <?php else: ?>游客<?php endif; ?></td>
 
- 								<td><?php echo $this->_tpl_vars['data']['uid']; ?>
 
- </td>
 
- 								<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'])); ?>
 
- </td>
 
- 								<?php if ($this->_tpl_vars['data']['prize_id']): ?>
 
- 								<td>
 
- 									获得奖品: <span class="text-muted"><?php echo $this->_tpl_vars['prizeData'][$this->_tpl_vars['data']['prize_id']]['prize_name']; ?>
 
- </span>  
 
- 									<?php if ($this->_tpl_vars['data']['express']): ?>
 
- 									<br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['data']['express']['user_name']; ?>
 
-   收货地址:<?php echo $this->_tpl_vars['data']['express']['address']; ?>
 
-  电话:<?php echo $this->_tpl_vars['data']['express']['phone']; ?>
 
- </span>  
 
- 									<?php elseif ($this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']): ?>
 
- 									<br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']; ?>
 
-   收货地址:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['address']; ?>
 
-  电话:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['phone']; ?>
 
- </span>  
 
- 									<?php endif; ?>
 
- 									</td>
 
- 								<?php else: ?>
 
- 								<td>
 
- 									获得奖品: <span class="text-muted"><?php echo $this->_tpl_vars['data']['run_time_data']['prize'][0]['prize_name']; ?>
 
- </span>  
 
- 									<?php if ($this->_tpl_vars['data']['express']): ?>
 
- 									<br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['data']['express']['user_name']; ?>
 
-   收货地址:<?php echo $this->_tpl_vars['data']['express']['address']; ?>
 
-  电话:<?php echo $this->_tpl_vars['data']['express']['phone']; ?>
 
- </span>  
 
- 									<?php elseif ($this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']): ?>
 
- 									<br><br>用户收货地址: <span class="text-muted">姓名:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['user_name']; ?>
 
-   收货地址:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['address']; ?>
 
-  电话:<?php echo $this->_tpl_vars['newUserExpData'][$this->_tpl_vars['data']['uid']]['phone']; ?>
 
- </span>  
 
- 									<?php endif; ?>
 
- 									<?php if ($this->_tpl_vars['formUserData'][$this->_tpl_vars['data']['uid']]): ?>
 
- 									<br><br>
 
- 									表单信息:<br />
 
- 									<?php $_from = $this->_tpl_vars['formType']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
 
-     foreach ($_from as $this->_tpl_vars['name']):
 
- ?>
 
- 									<?php echo $this->_tpl_vars['name']; ?>
 
- :<span class="text-muted"><?php echo $this->_tpl_vars['formUserData'][$this->_tpl_vars['data']['uid']][$this->_tpl_vars['name']]; ?>
 
- </span>   
 
- 									<?php endforeach; endif; unset($_from); ?>
 
- 									<?php endif; ?>
 
- 									</td>
 
- 								<?php endif; ?>
 
- 							</tr>
 
- 							<?php endforeach; endif; unset($_from); ?>
 
- 							<?php else: ?>
 
- 							<tr>
 
- 								<td colspan="3" align="center" class="text-muted">无中奖数据</td>
 
- 							</tr>
 
- 							<?php endif; ?>
 
- 						</tbody>
 
- 					</table>
 
- 					<div class="page"><?php echo $this->_tpl_vars['page_html']; ?>
 
- </div><p  style="float:right" >参与人数:<?php echo $this->_tpl_vars['total_num']; ?>
 
- </p>
 
- 				</div>
 
- 			</div>
 
- 		</div>
 
- 	</div>
 
- </div>
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/activity/common_right.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
- <div style="clear:both;"></div>
 
- </div>
 
- <script>
 
- KISSY.use('node, io, event', function (S, Node, IO, Event) {
 
- 	var $ = S.all;
 
- 	
 
- });
 
- </script>
 
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
 
- $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
 
- $this->_tpl_vars = $_smarty_tpl_vars;
 
- unset($_smarty_tpl_vars);
 
-  ?>
 
 
  |