270 lines
19 KiB
PHP
270 lines
19 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2018-11-03 16:08:33
|
|
compiled from gong/data.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'gong/data.tpl', 35, false),array('function', 'timename', 'gong/data.tpl', 42, false),)), $this); ?>
|
|
<style>
|
|
.dname span {float: left;width:70px;height:20px;overflow:hidden;}
|
|
</style>
|
|
<div class="xlh-30 xfs-14" style="position:fixed;top:26px;background:#fff;width:100%;">
|
|
<?php if (! $this->_tpl_vars['GG']['idd'] || $this->_tpl_vars['GG']['idd'] == 'undefined'): ?><font color=red><?php else: ?><a href="javascript:;" onclick="loadnr('data')"><?php endif; ?>最近</font></a>
|
|
|
|
|
<?php if ($this->_tpl_vars['GG']['idd'] == 'by'): ?><font color=red><?php else: ?><a href="javascript:;" onclick="loadnr('data','by')"><?php endif; ?>本月</font></a>
|
|
|
|
|
<?php if ($this->_tpl_vars['GG']['idd'] == 'sy'): ?><font color=red><?php else: ?><a href="javascript:;" onclick="loadnr('data','sy')"><?php endif; ?>上月</font></a>
|
|
|
|
|
<?php if ($this->_tpl_vars['GG']['idd'] == 'day'): ?><font color=red><?php else: ?><a href="javascript:;" onclick="loadnr('data','day')"><?php endif; ?>日报</font></a>
|
|
|
|
|
<?php if ($this->_tpl_vars['GG']['idd'] == 'month'): ?><font color=red><?php else: ?><a href="javascript:;" onclick="loadnr('data','month')"><?php endif; ?>月报</font></a>
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|
|
|
|
<?php if ($this->_tpl_vars['GG']['idd'] == 'gold'): ?><font color=red><?php else: ?><a href="javascript:;" onclick="loadnr('data','gold')"><?php endif; ?>欢乐分</font></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
<div class="clear"></div>
|
|
<div style="padding-top:26px;">
|
|
<table width="100%">
|
|
<?php if ($this->_tpl_vars['GG']['idd'] == 'by' || $this->_tpl_vars['GG']['idd'] == 'sy'): ?>
|
|
<tr class="xlh-25">
|
|
<td align="center" colspan=2 class="xb-ef">开房会员</td>
|
|
<td align="center" class="xb-ef">消费房卡</td>
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|
<td align="center" class="xb-ef">手续分</td>
|
|
<?php endif; ?>
|
|
<td align="center" class="xb-ef">开房次数</td>
|
|
<td align="center" class="xb-ef">最后登录</td>
|
|
</tr>
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? 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']);
|
|
?>
|
|
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
|
|
<tr <?php if ($this->_tpl_vars['i']%2 == 0): ?>class="xb-ef"<?php endif; ?>>
|
|
<td width="30" class="hy_img"><img src="<?php echo ((is_array($_tmp=@$this->_tpl_vars['data'][$this->_sections['loop']['index']]['HeadHttp'])) ? $this->_run_mod_handler('default', true, $_tmp, "/m/img/toux.jpg") : smarty_modifier_default($_tmp, "/m/img/toux.jpg")); ?>
|
|
"></td>
|
|
<td> <?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['card']; ?>
|
|
</td>
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['gold']; ?>
|
|
</td>
|
|
<?php endif; ?>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['num']; ?>
|
|
</td>
|
|
<td align="right"><?php echo timename(array('time' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Time'],'duan' => 1), $this);?>
|
|
</td>
|
|
</tr>
|
|
<?php endfor; endif; ?>
|
|
<?php elseif ($this->_tpl_vars['GG']['idd'] == 'day' || $this->_tpl_vars['GG']['idd'] == 'month'): ?>
|
|
<tr class="xlh-25">
|
|
<td align="center" class="xb-ef">日期</td>
|
|
<td align="center" class="xb-ef">房卡</td>
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|
<td align="center" class="xb-ef">手续分</td>
|
|
<?php endif; ?>
|
|
<td align="center" class="xb-ef">麻将</td>
|
|
<td align="center" class="xb-ef">斗地主</td>
|
|
<td align="center" class="xb-ef">跑得快</td>
|
|
<td align="center" class="xb-ef">牛牛</td>
|
|
<td align="center" class="xb-ef">打炸</td>
|
|
<td align="center" class="xb-ef">十三张</td>
|
|
<td align="center" class="xb-ef">炸金花</td>
|
|
</tr>
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? 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']);
|
|
?>
|
|
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
|
|
<tr <?php if ($this->_tpl_vars['i']%2 == 0): ?>class="xb-ef"<?php endif; ?>>
|
|
<td> <?php if ($this->_tpl_vars['GG']['idd'] == 'day'): ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionDay']; ?>
|
|
<?php else: ?>
|
|
<a href="javascript:del_date('<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionMonthID']; ?>
|
|
');"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionMonth']; ?>
|
|
</a>
|
|
<?php endif; ?></td>
|
|
<td align="right"><font color="#cc0000"><b><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FCount']; ?>
|
|
</b></font> </td>
|
|
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FGold']; ?>
|
|
</td>
|
|
<?php endif; ?>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FMj']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FDdz']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FPdk']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FNiu']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FDz']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FSs']; ?>
|
|
</td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['FZjh']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endfor; endif; ?>
|
|
<?php elseif ($this->_tpl_vars['GG']['idd'] == 'gold'): ?>
|
|
<tr class="xlh-25">
|
|
<td align="center" colspan=2 class="xb-ef">会员</td>
|
|
<td align="center" class="xb-ef">欢乐分</td>
|
|
<td align="center" class="xb-ef">操作后</td>
|
|
<td align="center" class="xb-ef">操作时间</td>
|
|
</tr>
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? 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']);
|
|
?>
|
|
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
|
|
<tr <?php if ($this->_tpl_vars['i']%2 == 0): ?>class="xb-ef"<?php endif; ?>>
|
|
<td width="30" class="hy_img"><img src="<?php echo ((is_array($_tmp=@$this->_tpl_vars['data'][$this->_sections['loop']['index']]['HeadHttp'])) ? $this->_run_mod_handler('default', true, $_tmp, "/m/img/toux.jpg") : smarty_modifier_default($_tmp, "/m/img/toux.jpg")); ?>
|
|
"></td>
|
|
<td><div class="gh-name"> <?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName']; ?>
|
|
</div>
|
|
<font class="xc-999"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
|
|
</font></td>
|
|
<td align="right"><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionGold'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionGold']; ?>
|
|
</font> </td>
|
|
<td align="right"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionGoldAfter']; ?>
|
|
</td>
|
|
<td> <?php echo timename(array('time' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Time']), $this);?>
|
|
</td>
|
|
|
|
</tr>
|
|
<?php endfor; endif; ?>
|
|
<?php else: ?>
|
|
<tr class="xlh-25">
|
|
<td align="center" class="xb-ef">游戏/房号</td>
|
|
<td align="center" colspan=2 class="xb-ef">开房会员</td>
|
|
<td align="center" class="xb-ef">参与会员</td>
|
|
<td width="100" align="center" class="xb-ef">开房时间</td>
|
|
</tr>
|
|
<?php unset($this->_sections['loop']);
|
|
$this->_sections['loop']['name'] = 'loop';
|
|
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? 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']);
|
|
?>
|
|
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
|
|
<tr <?php if ($this->_tpl_vars['i']%2 == 0): ?>class="xb-ef"<?php endif; ?>>
|
|
<td align="center"><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">牛牛</font>
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '6'): ?><font color="#ff00ff">炸金花</font>
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">斗地主</font>
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">跑得快</font>
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">打炸</font>
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">十三张</font>
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000">麻将</font><?php endif; ?> - <?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ConsumerCode']; ?>
|
|
张卡<br>
|
|
<font color="#cc0000"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['RoomID']; ?>
|
|
</font><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameGold']): ?> - <font color=#ff00ff><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameGold']; ?>
|
|
</font>分<?php endif; ?>
|
|
</td>
|
|
<td width="30" class="hy_img"><img src="<?php echo ((is_array($_tmp=@$this->_tpl_vars['data'][$this->_sections['loop']['index']]['HeadHttp'])) ? $this->_run_mod_handler('default', true, $_tmp, "/m/img/toux.jpg") : smarty_modifier_default($_tmp, "/m/img/toux.jpg")); ?>
|
|
"></td>
|
|
<td><div class="gh-name"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName']; ?>
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Golda']): ?><br><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Golda'] > 0): ?><font color=red>+<?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Golda']; ?>
|
|
</font><?php endif; ?></div></td>
|
|
<td align="center" class="dname">
|
|
<span> <?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldb'] && $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Named']): ?><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldb'] > 0): ?><font color=red>+<?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldb']; ?>
|
|
</font><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Named']; ?>
|
|
</span>
|
|
<span> <?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldc'] && $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Namee']): ?><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldc'] > 0): ?><font color=red>+<?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldc']; ?>
|
|
</font><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Namee']; ?>
|
|
</span> <br>
|
|
<span> <?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldd'] && $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Namef']): ?><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldd'] > 0): ?><font color=red>+<?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Goldd']; ?>
|
|
</font><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Namef']; ?>
|
|
</span>
|
|
<span> <?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Golde'] && $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Nameg']): ?><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Golde'] > 0): ?><font color=red>+<?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Golde']; ?>
|
|
</font><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Nameg']; ?>
|
|
</span>
|
|
</td>
|
|
<td align="right"><?php echo timename(array('time' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Time'],'duan' => 1), $this);?>
|
|
</td>
|
|
</tr>
|
|
<?php endfor; endif; ?>
|
|
<?php endif; ?>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
<script>
|
|
layer.closeAll();
|
|
</script>
|