Files
wnmj/GonghuiWeb/www/m_c/%%C3^C30^C309C770%%add.tpl.php
2026-02-24 09:25:17 +08:00

626 lines
39 KiB
PHP

<?php /* Smarty version 2.6.26, created on 2024-05-21 21:49:24
compiled from user/add.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'timename', 'user/add.tpl', 33, false),array('function', 'convertip', 'user/add.tpl', 41, false),array('modifier', 'strtotime', 'user/add.tpl', 33, false),array('modifier', 'string_format', 'user/add.tpl', 69, false),array('modifier', 'default', 'user/add.tpl', 69, false),array('modifier', 'number_format', 'user/add.tpl', 110, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'top.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id=in>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<?php if ($this->_tpl_vars['Edit_Ok']): ?><tr><td colspan=6 align=center class=editok><?php echo $this->_tpl_vars['Edit_Ok']; ?>
</td></tr><?php endif; ?>
<?php if ($this->_tpl_vars['Edit_Error']): ?><tr><td colspan=6 align=center class=editerror><?php echo $this->_tpl_vars['Edit_Error']; ?>
</td></tr><?php endif; ?>
<tr><td colspan=20 class=bt height=30><div style="float:right;padding-right:10px;"> <a href="http://qy.ppxq.net/gh/index.php?gameid=<?php echo $this->_tpl_vars['info']['GameID']; ?>
&md5=<?php echo $this->_tpl_vars['md5']; ?>
" target="_bank">查看</a> </div><b>会员信息查看</b> <a href="javascript:;" onclick="openright('gh<?php echo $this->_tpl_vars['info']['UnionID']; ?>
','公会:<?php echo $this->_tpl_vars['info']['UnionName']; ?>
','user/gh-add.php?id=<?php echo $this->_tpl_vars['info']['UnionID']; ?>
')"><font color="ff33ff"><?php echo $this->_tpl_vars['info']['UnionName']; ?>
</font></a></td></tr>
<form action="" method="post" name="frmedit">
<tr class=gy>
<td class=nr_bt>头像</td>
<td class='nr_nr nr_toux'><a href="javascript:;" onclick="openright('6','玩家记录','user/user-log.php?gid=<?php echo $this->_tpl_vars['info']['GameID']; ?>
')"><img src='<?php echo $this->_tpl_vars['toux']; ?>
'></a></td>
<td class=nr_bt>消费</td>
<td class=nr_nr><?php echo $this->_tpl_vars['info']['ConsumeScore']; ?>
</td>
<td class=nr_bt>备注</td>
<td class=nr_nr><input type="text" name="remark" value="<?php echo $this->_tpl_vars['info']['Remark']; ?>
" style="width:100px;" maxLength="200"></td>
</tr>
<tr class=gy>
<td class=nr_bt>用户名</td>
<td class='nr_nr'><?php if ($this->_tpl_vars['info']['Gender'] == 1): ?>男<?php else: ?><font color=#996600>女<?php endif; ?></font> <?php echo $this->_tpl_vars['info']['NickName']; ?>
<select name="unionid">
<option value='0' <?php if (! $this->_tpl_vars['info']['UnionID']): ?>selected<?php endif; ?>>未加入公会</option>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['union']) ? 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']);
?>
<option value='<?php echo $this->_tpl_vars['union'][$this->_sections['loop']['index']]['UnionID']; ?>
' <?php if ($this->_tpl_vars['union'][$this->_sections['loop']['index']]['UnionID'] == $this->_tpl_vars['info']['UnionID']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['union'][$this->_sections['loop']['index']]['UnionName']; ?>
</option>
<?php endfor; endif; ?>
</select>
</td>
<td class=nr_bt>剩余</td>
<td class=nr_nr><input type="text" name="sy" value="<?php echo $this->_tpl_vars['info']['InsureScore']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt><a href="javascript:;" onclick="openright('50','会员积分月记录','user/jfm.php?gid=<?php echo $this->_tpl_vars['info']['GameID']; ?>
')">总积分</a></td>
<td class=nr_nr><a href="javascript:;" onclick="openright('11','会员积分记录','user/jf.php?gid=<?php echo $this->_tpl_vars['info']['GameID']; ?>
')"><?php echo $this->_tpl_vars['info']['Zjf']; ?>
</a></td>
</tr>
<tr class=gy>
<td class=nr_bt>时间</td>
<td class='nr_nr'><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['info']['LastDate'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
<br><font color=#ccc><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['info']['RegDate'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</font></td>
<td class=nr_bt>游戏</td>
<td class=nr_nr><input type="text" name="yx" value="<?php echo $this->_tpl_vars['info']['PlayCount']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt>抽奖次数</td>
<td class=nr_nr><?php echo $this->_tpl_vars['info']['LotteryHit']; ?>
</td>
</tr>
<tr class=gy>
<td class=nr_bt>IP</td>
<td class='nr_nr'><?php echo convertip(array('ip' => $this->_tpl_vars['info']['LastLogonIP']), $this);?>
<?php echo $this->_tpl_vars['info']['LastLogonIP']; ?>
<br><font color=#ccc><?php echo convertip(array('ip' => $this->_tpl_vars['info']['RegisterIP']), $this);?>
<?php echo $this->_tpl_vars['info']['RegisterIP']; ?>
</font></td>
<td class=nr_bt>经验</td>
<td class=nr_nr><input type="text" name="jy" value="<?php echo $this->_tpl_vars['info']['Grade']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt>抽奖局数</td>
<td class=nr_nr><input type="text" name="cjjs" value="<?php echo $this->_tpl_vars['info']['LotteryGame']; ?>
" style="width:100px;" maxLength="200"></td>
</tr>
<tr class=gy>
<td class=nr_bt>代理冻结</td>
<td class='nr_nr'>
<input type="checkbox" name="dl" value="1" <?php if ($this->_tpl_vars['info']['SpreaderID']): ?>checked<?php endif; ?>> 代理
<input type="checkbox" name="dj" value="1" <?php if ($this->_tpl_vars['info']['Nullity']): ?>checked<?php endif; ?>> 冻结</td>
<td class=nr_bt>总充值</td>
<td class=nr_nr><input type="text" name="czje" value="<?php echo $this->_tpl_vars['info']['AgentMoney']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt><a href="javascript:;" onclick="openright('60','抽奖活动记录','user/lottery.php?gid=<?php echo $this->_tpl_vars['info']['GameID']; ?>
')">元宝</a></td>
<td class=nr_nr><input type="text" name="yuanbao" value="<?php echo $this->_tpl_vars['info']['YuanBao']; ?>
" style="width:100px;" maxLength="200"></td>
</tr>
<input name="id" id=id type="hidden" value="<?php echo $this->_tpl_vars['GG']['id']; ?>
">
<tr><td colspan=6 class=tj id=remind_info><input type="submit" name=submit value="提 交">
<input name="pass" id=pass type="password" value="" maxLength="50" style="width:70px;" fs="pass">
<input type="reset" value="重 置"></td></tr>
</form>
</table>
<!--if $info.SpreaderID-->
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<form action="" method="post" name="frmedit">
<tr class=gy>
<td class=nr_bt>充值金额</td>
<td class='nr_nr' colspan=3><input type="text" name="je" id="jem" value="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rec'][0]['PayMoney'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")))) ? $this->_run_mod_handler('default', true, $_tmp, 300) : smarty_modifier_default($_tmp, 300)); ?>
" style="width:100px;" maxLength="200" onkeyup="rec();"> 元</td>
</tr>
<tr class=gy>
<td class=nr_bt>充值房卡</td>
<td class='nr_nr' colspan=3><input type="text" name="fk" id="fks" value="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rec'][0]['OperCount'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")))) ? $this->_run_mod_handler('default', true, $_tmp, 300) : smarty_modifier_default($_tmp, 300)); ?>
" style="width:100px;" maxLength="200" onkeyup="rec();"> 张</td>
</tr>
<tr class=gy>
<td class=nr_bt>房卡基数</td>
<td class='nr_nr' colspan=3 id=js></td>
</tr>
<input name="agent" type="hidden" value="recharge">
<input name="id" id=id type="hidden" value="<?php echo $this->_tpl_vars['GG']['id']; ?>
">
<tr><td colspan=4 class=tj id=remind_info><input name="pass" id=pass type="password" value="" maxLength="50" style="width:70px;" fs="pass"> <input type="submit" name=submit value="充 值"></td></tr>
</form>
</table>
<script>
rec();
function rec(){
var jem = $("#jem").val();
var fks = $("#fks").val();
var js = (jem/fks).toFixed(3);
$("#js").text(js+"元/张");
}
</script>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='agent-log.php?key=<?php echo $this->_tpl_vars['info']['UserID']; ?>
'>更多>></a></div><b>代理充值明细</b></td></tr>
<tr>
<td width=100 class=bb><b>类型</b></td>
<td width=100 class=bb><b>充值前数量</b></td>
<td width=100 class=bb><b>充值房卡</b></td>
<td width=100 class=bb><b>充值金额</b></td>
<td width=100 class=bb><b>充值基数</b></td>
<td class=bb><b>充值时间</b></td>
<td class=bb><b>充值IP</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['rec']) ? 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']);
?>
<tr class=gy>
<td class=nr_nr align=center><?php if ($this->_tpl_vars['rec'][$this->_sections['loop']['index']]['UnionID']): ?><font color=red>公会充值<?php else: ?><font color=green>用户充值<?php endif; ?></font></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['LeftCount']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['OperCount']; ?>
张</td>
<td class=nr_nr align=right><?php echo ((is_array($_tmp=$this->_tpl_vars['rec'][$this->_sections['loop']['index']]['PayMoney'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
元</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['Price']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['rec'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
<td class=nr_nr><?php echo convertip(array('ip' => $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['AddIP']), $this);?>
<font color=#999><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['AddIP']; ?>
</font></td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=7>暂无充值记录!</td>
</tr>
<?php endif; ?>
</table>
<?php if ($this->_tpl_vars['info']['UnionID']): ?>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='gh-rec.php?gid=<?php echo $this->_tpl_vars['info']['GameID']; ?>
'>更多>></a></div><b>公会充值明细</b></td></tr>
<tr>
<td width=100 class=bb><b>类型</b></td>
<td width=100 class=bb><b>用户房卡</b></td>
<td width=100 class=bb><b>公会房卡</b></td>
<td width=100 class=bb><b>转卡数量</b></td>
<td class=bb><b>充值时间</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['ghrec']) ? 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']);
?>
<tr class=gy>
<td class=nr_nr align=center><?php if ($this->_tpl_vars['ghrec'][$this->_sections['loop']['index']]['TypeCard'] == 1): ?><font color=red>直充<?php elseif ($this->_tpl_vars['ghrec'][$this->_sections['loop']['index']]['TypeCard'] == 2): ?><font color=#cc0000>活动赠送<?php else: ?><font color=green>用户转卡<?php endif; ?></font></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['ghrec'][$this->_sections['loop']['index']]['Fang']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['ghrec'][$this->_sections['loop']['index']]['LeftCard']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['ghrec'][$this->_sections['loop']['index']]['OperCard']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['ghrec'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无充值记录!</td>
</tr>
<?php endif; ?>
</table>
<?php endif; ?>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='bug.php?key=<?php echo $this->_tpl_vars['info']['UserID']; ?>
'>更多>></a></div><b>代理销售明细</b></td></tr>
<tr>
<td class=bb><b>玩家</b></td>
<td width=100 class=bb><b>代理卡数量</b></td>
<td width=100 class=bb><b>玩家前数量</b></td>
<td width=100 class=bb><b>玩家充值数量</b></td>
<td class=bb><b>操作时间</b></td>
<td class=bb><b>操作IP</b></td>
</tr>
<?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']);
?>
<tr class=gy>
<td class=nr_nr><font color=#999><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['ID']; ?>
.</font>
<a href="javascript:;" onclick="openright('gh<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UnionID']; ?>
','公会:<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UnionName']; ?>
','user/gh-add.php?id=<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UnionID']; ?>
')"><font color="ff33ff"><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UnionName']; ?>
</font></a>
<a href="javascript:;" onclick="openright('112','普通开房记录','user/slog.php?uid=<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UserID']; ?>
')"><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['NickName']; ?>
</a>
<a href="javascript:;" onclick="openright('content<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UserID']; ?>
','会员:<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['GameID']; ?>
','user/add.php?id=<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['UserID']; ?>
')"><font color=#999>(<?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['GameID']; ?>
)</font></a></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['CurNum']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['ToCurNum']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['OperNum']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['log'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
<td class=nr_nr><?php echo convertip(array('ip' => $this->_tpl_vars['log'][$this->_sections['loop']['index']]['ClientIP']), $this);?>
<font color=#999><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['ClientIP']; ?>
</font></td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无销售记录!</td>
</tr>
<?php endif; ?>
</table>
<!--/if-->
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='bug.php?key=<?php echo $this->_tpl_vars['info']['UserID']; ?>
'>更多>></a></div><b>会员购卡明细</b></td></tr>
<tr>
<td class=bb><b>售卡代理</b></td>
<td width=100 class=bb><b>代理卡数量</b></td>
<td width=100 class=bb><b>购卡前数量</b></td>
<td width=100 class=bb><b>购卡数量</b></td>
<td class=bb><b>操作时间</b></td>
<td class=bb><b>操作IP</b></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']);
?>
<tr class=gy>
<td class=nr_nr><font color=#999><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ID']; ?>
.</font>
<a href="javascript:;" onclick="openright('gh<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionID']; ?>
','公会:<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionName']; ?>
','user/gh-add.php?id=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionID']; ?>
')"><font color="ff33ff"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionName']; ?>
</font></a>
<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName']; ?>
<a href="javascript:;" onclick="openright('content<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
','会员:<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
','user/add.php?id=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
')"><font color=#999>(<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
)</font></a></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['CurNum']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ToCurNum']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['OperNum']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
<td class=nr_nr><?php echo convertip(array('ip' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ClientIP']), $this);?>
<font color=#999><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ClientIP']; ?>
</font></td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='slog.php?uid=<?php echo $this->_tpl_vars['info']['UserID']; ?>
'>更多>></a></div><b>普通开房记录</b></td></tr>
<tr>
<td width=100 class=bb><b>房间号</b></td>
<td class=bb><b>开房规则</b></td>
<td width=100 class=bb><b>房卡信息</b></td>
<td class=bb><b>操作时间</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['ptkf']) ? 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']);
?>
<tr class=gy>
<td class=nr_nr align=center><?php echo $this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['RoomID']; ?>
</td>
<td class=nr_nr><?php if ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">牛牛</font>
<?php elseif ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">斗地主</font>
<?php elseif ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">跑得快</font>
<?php elseif ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">打炸</font>
<?php elseif ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">十三张</font>
<?php elseif ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000">麻将</font><?php endif; ?></a>
<?php if ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['KindID'] == '430'): ?>
<?php if ($this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['GameRule']): ?>不带王<?php else: ?>带王<?php endif; ?>
<?php else: ?>
<?php $this->assign('i', $this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['GameRule']); ?>
<?php echo $this->_tpl_vars['rule'][$this->_tpl_vars['i']]; ?>
<?php endif; ?></td>
<td class='nr_nr' align=center><?php echo $this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['CostScore']; ?>
/ <?php echo $this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['InsureScore']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['ptkf'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<?php if ($this->_tpl_vars['info']['UnionID']): ?>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='gh-kf.php?uid=<?php echo $this->_tpl_vars['info']['UnionID']; ?>
'>更多>></a></div><b>公会开房记录</b></td></tr>
<tr>
<td width=100 class=bb><b>房间号</b></td>
<td class=bb><b>公会名称</b></td>
<td class=bb><b>公会码</b></td>
<td class=bb><b>开房规则</b></td>
<td width=100 class=bb><b>房卡信息</b></td>
<td class=bb><b>操作时间</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['ghkf']) ? 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']);
?>
<tr class=gy>
<td class=nr_nr align=center><?php echo $this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['RoomID']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['UnionName']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['UnionCode']; ?>
</td>
<td class=nr_nr><?php if ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">牛牛</font>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">斗地主</font>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">跑得快</font>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">打炸</font>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">十三张</font>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '6'): ?><font color="#990099">炸金花</font>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000">麻将</font><?php endif; ?>
<?php $this->assign('k', $this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['KindID']); ?>
<?php $this->assign('i', $this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['GameRule']); ?>
<?php echo $this->_tpl_vars['rule'][$this->_tpl_vars['k']][$this->_tpl_vars['i']]; ?>
</td>
<td class='nr_nr' align=center><?php if ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['GameOK'] == 2): ?>-<?php echo $this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['ConsumerCode']; ?>
<?php elseif ($this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['GameOK'] == 1): ?><font color=red>开房中
<?php else: ?><font color=#000>开房失败<?php endif; ?></font></td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['ghkf'][$this->_sections['loop']['index']]['addTime'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<?php endif; ?>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href='inout.php?uid=<?php echo $this->_tpl_vars['info']['UserID']; ?>
'>更多>></a></div><b>操作记录</b></td></tr>
<tr>
<td width=100 class=bb><b>房卡信息</b></td>
<td width=50 class=bb><b>经验值</b></td>
<td width=50 class=bb><b>房卡</b></td>
<td class=bb><b>在线时间</b></td>
<td class=bb><b>进房时间</b></td>
<td class=bb><b>离开时间</b></td>
<td class=bb><b>操作IP</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['czjl']) ? 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']);
?>
<tr class=gy>
<td class=nr_nr align=center><?php if ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">
<?php elseif ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">
<?php elseif ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">
<?php elseif ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">
<?php elseif ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">
<?php elseif ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000"><?php endif; ?><?php echo $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['ServerName']; ?>
</font></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['EnterGrade']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['EnterInsure']; ?>
</td>
<td class=nr_nr>
<?php if ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['lDate']): ?>
<?php if ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['Grade']): ?><font color=green>增加经验值+<?php echo $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['Grade']; ?>
<?php else: ?><font color=#999>解散<?php endif; ?>
<?php else: ?><font color=red>游戏中...<?php endif; ?></font>
<font color=#ccc><?php if ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['OnLineTimeCount'] > 60): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['OnLineTimeCount']/60)) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
分钟<?php elseif ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['OnLineTimeCount'] > 0): ?><?php echo $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['OnLineTimeCount']; ?>
秒<?php else: ?><?php endif; ?></font></td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['eDate'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
<td class=nr_nr><?php if ($this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['lDate']): ?><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['lDate'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
<?php endif; ?></td>
<td class=nr_nr><?php echo convertip(array('ip' => $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['EnterClientIP']), $this);?>
<font color=#ccc><?php echo $this->_tpl_vars['czjl'][$this->_sections['loop']['index']]['EnterClientIP']; ?>
</font></td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=7>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
</div>
<script src="jc_star.php?uid=<?php echo $this->_tpl_vars['GG']['id']; ?>
"></script>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'bottom.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</body>
</html>