Files
wnmj-normal/GonghuiWeb/www/m_c/%%77^776^776C33D1%%inout.tpl.php
2026-03-03 13:56:44 +08:00

206 lines
14 KiB
PHP

<?php /* Smarty version 2.6.26, created on 2018-06-26 08:28:29
compiled from user/inout.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'user/inout.tpl', 36, false),array('modifier', 'default', 'user/inout.tpl', 54, false),array('modifier', 'replace', 'user/inout.tpl', 55, false),array('modifier', 'strtotime', 'user/inout.tpl', 71, false),array('function', 'timename', 'user/inout.tpl', 71, false),array('function', 'convertip', 'user/inout.tpl', 73, 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);
?>
<?php $this->assign('key', $this->_tpl_vars['GG']['username']); ?>
<script>
$("document").ready(function(){
$("#gop").click(function(){
var page=$("#gopage").val();
location.href='?<?php echo $this->_tpl_vars['Link']; ?>
&page='+page;
});
});
</script>
<style>
.nr_nr {line-height:18px;}
</style>
<div id=in>
<table width="100%" align=center border="0" cellspacing="1" cellpadding="0" class=nr>
<tr class=gy>
<td height=25 class=nr_nr>
<span class="r"><a href="?dels=1">删除未开始数据</a> | <a href="?del=1">删除6个月前数据</a> </span>
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?pagelist=<?php echo $this->_tpl_vars['GG']['pagelist']; ?>
"><?php if (! $this->_tpl_vars['GG']['kid']): ?><font color=red><?php endif; ?>显示全部</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=558"><?php if ($this->_tpl_vars['GG']['kid'] == 558): ?><font color=red><?php endif; ?>麻将</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=200"><?php if ($this->_tpl_vars['GG']['kid'] == 200): ?><font color=red><?php endif; ?>斗地主</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=2"><?php if ($this->_tpl_vars['GG']['kid'] == 2): ?><font color=red><?php endif; ?>牛牛</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=430"><?php if ($this->_tpl_vars['GG']['kid'] == 430): ?><font color=red><?php endif; ?>打炸</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=502"><?php if ($this->_tpl_vars['GG']['kid'] == 502): ?><font color=red><?php endif; ?>十三张</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=6"><?php if ($this->_tpl_vars['GG']['kid'] == 6): ?><font color=red><?php endif; ?>炸金花</font></a> &nbsp;|&nbsp;
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=210"><?php if ($this->_tpl_vars['GG']['kid'] == 210): ?><font color=red><?php endif; ?>跑得快</font></a>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=15 class=bt height=30><b>用户操作记录</b>
<select onchange="FP_jumpMenu(this,'window',false)">
<?php $_from = $this->_tpl_vars['Pagenum']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['pagenum']):
?>
<option value='<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?<?php echo $this->_tpl_vars['Link']; ?>
&pagelist=<?php echo $this->_tpl_vars['pagenum']; ?>
' <?php if ($this->_tpl_vars['GG']['pagelist'] == $this->_tpl_vars['pagenum']): ?>selected<?php endif; ?>>每页<?php echo $this->_tpl_vars['pagenum']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select> (<?php echo ((is_array($_tmp=$this->_tpl_vars['Pages']['totalNum'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
)</td></tr>
<tr>
<td width=55 class=bb><b>玩家ID</b></td>
<td width=50 class=bb><b>头像</b></td>
<td class=bb><b>用户信息</b></td>
<td width=100 class=bb><b>房间信息</b></td>
<td width=60 class=bb><b>经验值</b></td>
<td width=60 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>
<form name="forms" method="post" action="">
<?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>
<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']; ?>
')"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
</a><br>
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?uid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
"><font color="#999"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
</font></a></td>
<td class='nr_nr nr_toux'><a href="javascript:;" onclick="openright('6','玩家记录','user/user-log.php?gid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameID']; ?>
')"><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")); ?>
'></a></td>
<td class=nr_nr><?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName'])) ? $this->_run_mod_handler('replace', true, $_tmp, $this->_tpl_vars['key'], "<font color=red>".($this->_tpl_vars['key'])."</font>") : smarty_modifier_replace($_tmp, $this->_tpl_vars['key'], "<font color=red>".($this->_tpl_vars['key'])."</font>")); ?>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['SpreaderID']): ?><font color=#009900>代理</font><?php endif; ?><br>
<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></td>
<td class=nr_nr align=center><a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?kid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID']; ?>
">
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">牛牛<br>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">斗地主<br>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">打炸<br>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">十三张<br>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '6'): ?><font color="#990099">炸金花<br>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000">麻将<br><?php endif; ?></font></a></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['EnterGrade']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['EnterInsure']; ?>
</td>
<td class=nr_nr>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['lDate']): ?>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['Grade']): ?><font color=green>增加经验值+<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Grade']; ?>
<?php else: ?><font color=#999>解散<?php endif; ?>
<?php else: ?><font color=red>游戏中...<?php endif; ?></font>
</br><font color=#ccc><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['OnLineTimeCount'] > 60): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['OnLineTimeCount']/60)) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
分钟<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['OnLineTimeCount'] > 0): ?><?php echo $this->_tpl_vars['data'][$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['data'][$this->_sections['loop']['index']]['eDate'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
<br>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['lDate']): ?><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['data'][$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['data'][$this->_sections['loop']['index']]['EnterClientIP']), $this);?>
<br><font color=#ccc><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['EnterClientIP']; ?>
</font></td>
</tr>
<?php endfor; endif; ?>
<tr>
<td colspan=15 class=bb>
<?php if ($this->_tpl_vars['Pages']['maxPage'] > 1): ?>
<div class="club_dh">
<?php if ($this->_tpl_vars['Pages']['page'] > $this->_tpl_vars['Pages']['linkNum']/2+2): ?><a href='?<?php echo $this->_tpl_vars['Link']; ?>
&page=1' class="club_ls">1</a> ..<?php endif; ?>
<?php unset($this->_sections['t']);
$this->_sections['t']['name'] = 't';
$this->_sections['t']['loop'] = is_array($_loop=$this->_tpl_vars['Pages']['end']-$this->_tpl_vars['Pages']['start']+1) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['t']['show'] = true;
$this->_sections['t']['max'] = $this->_sections['t']['loop'];
$this->_sections['t']['step'] = 1;
$this->_sections['t']['start'] = $this->_sections['t']['step'] > 0 ? 0 : $this->_sections['t']['loop']-1;
if ($this->_sections['t']['show']) {
$this->_sections['t']['total'] = $this->_sections['t']['loop'];
if ($this->_sections['t']['total'] == 0)
$this->_sections['t']['show'] = false;
} else
$this->_sections['t']['total'] = 0;
if ($this->_sections['t']['show']):
for ($this->_sections['t']['index'] = $this->_sections['t']['start'], $this->_sections['t']['iteration'] = 1;
$this->_sections['t']['iteration'] <= $this->_sections['t']['total'];
$this->_sections['t']['index'] += $this->_sections['t']['step'], $this->_sections['t']['iteration']++):
$this->_sections['t']['rownum'] = $this->_sections['t']['iteration'];
$this->_sections['t']['index_prev'] = $this->_sections['t']['index'] - $this->_sections['t']['step'];
$this->_sections['t']['index_next'] = $this->_sections['t']['index'] + $this->_sections['t']['step'];
$this->_sections['t']['first'] = ($this->_sections['t']['iteration'] == 1);
$this->_sections['t']['last'] = ($this->_sections['t']['iteration'] == $this->_sections['t']['total']);
?>
<?php $this->assign('t', $this->_tpl_vars['Pages']['start']+$this->_sections['t']['index']); ?>
<?php if ($this->_tpl_vars['Pages']['page'] == $this->_tpl_vars['t']): ?><span class="club_dhhs"><?php echo $this->_tpl_vars['t']; ?>
</span>
<?php else: ?><a href='?<?php echo $this->_tpl_vars['Link']; ?>
&page=<?php echo $this->_tpl_vars['t']; ?>
' class="club_ls"><?php echo $this->_tpl_vars['t']; ?>
</a><?php endif; ?>
<?php endfor; endif; ?>
<?php if ($this->_tpl_vars['Pages']['page'] < $this->_tpl_vars['Pages']['maxPage']-$this->_tpl_vars['Pages']['linkNum']/2-1): ?>.. <a href='?<?php echo $this->_tpl_vars['Link']; ?>
&page=<?php echo $this->_tpl_vars['Pages']['maxPage']; ?>
' class="club_ls"><?php echo $this->_tpl_vars['Pages']['maxPage']; ?>
</a><?php endif; ?>
<input type="text" id=gopage name="gopage"style="width:30px;" value="<?php echo $this->_tpl_vars['Pages']['page']; ?>
" onkeyup="value=value.replace(/[^0-9]/g,'')">
<input type=button value=" GO " name=go id=gop style='width:30px;'>
</div>
<?php endif; ?></td>
</tr>
</form>
</table>
</div>
<?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>