145 lines
8.9 KiB
PHP
145 lines
8.9 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2018-06-26 08:21:50
|
|
compiled from user/locker.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'user/locker.tpl', 33, false),array('modifier', 'number_format', 'user/locker.tpl', 33, false),array('modifier', 'default', 'user/locker.tpl', 46, false),array('modifier', 'replace', 'user/locker.tpl', 47, false),array('function', 'convertip', 'user/locker.tpl', 59, 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>
|
|
<form name="for" method="get" action="gh-sq.php">
|
|
<tr class=gy>
|
|
<td height=25 class=nr_nr>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
">全部</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=558">麻将(<?php echo $this->_tpl_vars['info']['mj']; ?>
|
|
人)</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=200">斗地主(<?php echo $this->_tpl_vars['info']['ddz']; ?>
|
|
人)</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=2">牛牛(<?php echo $this->_tpl_vars['info']['niu']; ?>
|
|
人)</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=430">打炸(<?php echo $this->_tpl_vars['info']['dz']; ?>
|
|
人)</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=502">十三张(<?php echo $this->_tpl_vars['info']['ss']; ?>
|
|
人)</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=6">炸金花(<?php echo $this->_tpl_vars['info']['zjh']; ?>
|
|
人)</a>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?kid=210">跑得快(<?php echo $this->_tpl_vars['info']['pdk']; ?>
|
|
人)</a>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
|
|
<tr><td colspan=13 class=bt height=30><b><?php echo $this->_tpl_vars['GG']['province']; ?>
|
|
<?php echo $this->_tpl_vars['GG']['city']; ?>
|
|
<?php echo $this->_tpl_vars['GG']['county']; ?>
|
|
会员游戏在线</b>
|
|
(<?php echo ((is_array($_tmp=count($this->_tpl_vars['data']))) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
|
|
人)</td></tr>
|
|
<tr>
|
|
<td class=bb colspan=4><b>在线用户</b></td>
|
|
<td class=bb colspan=4><b>在线用户</b></td>
|
|
<td class=bb colspan=4><b>在线用户</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']);
|
|
?>
|
|
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
|
|
<?php if ($this->_tpl_vars['i']%3 == 1): ?><tr class=gy><?php endif; ?>
|
|
<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>
|
|
<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>
|
|
<a href="javascript:;" onclick="openright('ghdata<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionID']; ?>
|
|
','<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionName']; ?>
|
|
:数据','user/gh-data.php?id=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionID']; ?>
|
|
')"><font color="#cc0000"><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionCode']; ?>
|
|
</font></a></td>
|
|
<td class=nr_nr>
|
|
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
|
|
?sid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ServerID']; ?>
|
|
">
|
|
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">
|
|
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000"><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ServerName']; ?>
|
|
</font></a>
|
|
<a href="?sid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ServerID']; ?>
|
|
&del=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UserID']; ?>
|
|
">d</a>
|
|
<br><font color=#999><?php echo convertip(array('ip' => $this->_tpl_vars['data'][$this->_sections['loop']['index']]['EnterIP']), $this);?>
|
|
</font></td>
|
|
|
|
<?php if ($this->_tpl_vars['i']%3 == 0): ?></tr><?php endif; ?>
|
|
<?php endfor; endif; ?>
|
|
</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>
|