111 lines
6.5 KiB
PHP
111 lines
6.5 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2018-04-22 15:08:38
|
||
compiled from dh/cj.tpl */ ?>
|
||
<div class="dh_left">
|
||
<div class="elog pf-left">
|
||
<ul>
|
||
<?php unset($this->_sections['loop']);
|
||
$this->_sections['loop']['name'] = 'loop';
|
||
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['logs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
|
||
$this->_sections['loop']['show'] = true;
|
||
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
|
||
$this->_sections['loop']['step'] = 1;
|
||
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
|
||
if ($this->_sections['loop']['show']) {
|
||
$this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
|
||
if ($this->_sections['loop']['total'] == 0)
|
||
$this->_sections['loop']['show'] = false;
|
||
} else
|
||
$this->_sections['loop']['total'] = 0;
|
||
if ($this->_sections['loop']['show']):
|
||
|
||
for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
|
||
$this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
|
||
$this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
|
||
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
|
||
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
|
||
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
|
||
$this->_sections['loop']['first'] = ($this->_sections['loop']['iteration'] == 1);
|
||
$this->_sections['loop']['last'] = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
|
||
?>
|
||
<li><?php echo $this->_tpl_vars['logs'][$this->_sections['loop']['index']]['NickName']; ?>
|
||
<br>
|
||
<font color=#ccc><?php if ($this->_tpl_vars['logs'][$this->_sections['loop']['index']]['Types'] == 'day'): ?>日活动<?php elseif ($this->_tpl_vars['logs'][$this->_sections['loop']['index']]['Types'] == 'month'): ?>月活动<?php else: ?>抽到<?php endif; ?></font> <span style="color:red;font-size:14px;"><?php echo $this->_tpl_vars['logs'][$this->_sections['loop']['index']]['YuanBao']; ?>
|
||
</span><font color=#ccc>个元宝</font></li>
|
||
<?php endfor; endif; ?>
|
||
</ul>
|
||
<div class="clear"></div>
|
||
<ul id="lottery_log" style="border-top:1px #ccc solid;padding-top:5px;">
|
||
<?php unset($this->_sections['loop']);
|
||
$this->_sections['loop']['name'] = 'loop';
|
||
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['log']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
|
||
$this->_sections['loop']['show'] = true;
|
||
$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];
|
||
$this->_sections['loop']['step'] = 1;
|
||
$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;
|
||
if ($this->_sections['loop']['show']) {
|
||
$this->_sections['loop']['total'] = $this->_sections['loop']['loop'];
|
||
if ($this->_sections['loop']['total'] == 0)
|
||
$this->_sections['loop']['show'] = false;
|
||
} else
|
||
$this->_sections['loop']['total'] = 0;
|
||
if ($this->_sections['loop']['show']):
|
||
|
||
for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1;
|
||
$this->_sections['loop']['iteration'] <= $this->_sections['loop']['total'];
|
||
$this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):
|
||
$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];
|
||
$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];
|
||
$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];
|
||
$this->_sections['loop']['first'] = ($this->_sections['loop']['iteration'] == 1);
|
||
$this->_sections['loop']['last'] = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);
|
||
?>
|
||
<li><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['NickName']; ?>
|
||
<br>
|
||
<font color=#ccc><?php if ($this->_tpl_vars['log'][$this->_sections['loop']['index']]['Types'] == 'lottery'): ?>抽到<?php else: ?>领取<?php endif; ?></font> <span style="color:red;font-size:14px;"><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['YuanBao']; ?>
|
||
</span><font color=#ccc>个元宝</font></li>
|
||
<?php endfor; endif; ?>
|
||
</ul>
|
||
<div class="clear"></div>
|
||
</div>
|
||
</div>
|
||
<div class="dh_right">
|
||
<div style="font-size:14px;">昨日已发放<span style="color:red;"><?php echo $this->_tpl_vars['count']; ?>
|
||
</span>个元宝!</div>
|
||
<div id="lottery">
|
||
<table border="0" cellpadding="1" cellspacing="1">
|
||
<tr>
|
||
<td class="lottery-unit lottery-unit-0"><img src="/m/img/hld.png"><br>50个元宝</td>
|
||
<td class="lottery-unit lottery-unit-1"><img src="/m/img/hld.png"><br>1个元宝</td>
|
||
<td class="lottery-unit lottery-unit-2"><img src="/m/img/hld.png"><br>5个元宝</td>
|
||
<td class="lottery-unit lottery-unit-3"><img src="/m/img/hld.png"><br>30个元宝</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="lottery-unit lottery-unit-11"><img src="/m/img/hld.png"><br>6个元宝</td>
|
||
<td colspan="2" rowspan="2" id="lottery_ck" onclick="acj();" style="color:#999;">
|
||
<span class="djcj" id="djcj_txt">点击抽奖</span><br>
|
||
每打32局可以抽奖一次<br>
|
||
<span id="lottery_game"><?php echo $this->_tpl_vars['userinfo']['LotteryGame']; ?>
|
||
/32</span>
|
||
</td>
|
||
<td class="lottery-unit lottery-unit-4"><img src="/m/img/hld.png"><br>8个元宝</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="lottery-unit lottery-unit-10"><img src="/m/img/hld.png"><br>10个元宝</td>
|
||
<td class="lottery-unit lottery-unit-5"><img src="/m/img/hld.png"><br>2个元宝</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="lottery-unit lottery-unit-9"><img src="/m/img/hld.png"><br>3个元宝</td>
|
||
<td class="lottery-unit lottery-unit-8"><img src="/m/img/hld.png"><br>100个元宝</td>
|
||
<td class="lottery-unit lottery-unit-7"><img src="/m/img/hld.png"><br>20个元宝</td>
|
||
<td class="lottery-unit lottery-unit-6"><img src="/m/img/hld.png"><br>60个元宝</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div>每打32局可以抽奖一次,局数统计会有10分钟延迟!<br>最高累计200局数,请及时抽奖!</div>
|
||
</div>
|
||
<div class="clear"></div>
|
||
<script src='/m/js/jquery.js' type=text/javascript></script>
|
||
<script src="/m/js/one/lottery.js" type="text/javascript"></script>
|
||
<script type="text/javascript">
|
||
layer.closeAll();
|
||
</script>
|