Files
wnmj-normal/GonghuiWeb/www/m_c/%%C1^C13^C13138B7%%log_pdk.tpl.php

199 lines
12 KiB
PHP
Raw Normal View History

2026-03-03 13:56:44 +08:00
<?php /* Smarty version 2.6.26, created on 2018-07-10 16:30:34
compiled from user/log_pdk.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'user/log_pdk.tpl', 33, false),array('modifier', 'default', 'user/log_pdk.tpl', 48, false),array('modifier', 'strtotime', 'user/log_pdk.tpl', 56, false),array('function', 'timename', 'user/log_pdk.tpl', 56, 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="log.php">
<tr class=gy>
<td height=25 class=nr_nr>
<input type="text" name=hfm maxLength="250" size=15 value="<?php echo $this->_tpl_vars['GG']['hfm']; ?>
" fs="<EFBFBD>ط<EFBFBD><EFBFBD><EFBFBD>">
<input type="hidden" name=pagelist value="<?php echo $this->_tpl_vars['GG']['pagelist']; ?>
">
<input type="submit" value="<EFBFBD><EFBFBD> <20><>"></a>
<a href="<?php echo $this->_tpl_vars['GG']['Config']['FileName']; ?>
?pagelist=<?php echo $this->_tpl_vars['GG']['pagelist']; ?>
"><3E><>ʾȫ<CABE><C8AB></a>
</td>
</tr>
</form>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=17 class=bt height=30><b><EFBFBD><EFBFBD>Ϸ<EFBFBD><EFBFBD>¼</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=60 class=bb><b><EFBFBD>ط<EFBFBD><EFBFBD><EFBFBD></b></td>
<td class=bb colspan=3><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></td>
<td class=bb colspan=3><b><EFBFBD>û<EFBFBD></b></td>
<td class=bb colspan=3><b><EFBFBD>û<EFBFBD></b></td>
<td class=bb><b><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD></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 align=center><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['RecordChildID']; ?>
<br><a href='log.php?rid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['RecordID']; ?>
'><font color=#ccc><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['RecordID']; ?>
</font></a></td>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['users']): ?>
<?php $_from = $this->_tpl_vars['data'][$this->_sections['loop']['index']]['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['j'] => $this->_tpl_vars['v']):
?>
<?php if ($this->_tpl_vars['j'] < 3): ?>
<td class='nr_nr nr_toux'><a href="javascript:;" onclick="openright('6','<27><><EFBFBD>Ҽ<EFBFBD>¼','user/user-log.php?gid=<?php echo $this->_tpl_vars['v']['GameID']; ?>
')"><img src='<?php echo ((is_array($_tmp=@$this->_tpl_vars['v']['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 $this->_tpl_vars['v']['NickName']; ?>
<br><font color="#ff33ff"><?php echo $this->_tpl_vars['v']['UnionName']; ?>
</font> <a href="javascript:;" onclick="openright('content<?php echo $this->_tpl_vars['v']['UserID']; ?>
','<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><?php echo $this->_tpl_vars['v']['GameID']; ?>
','user/add.php?id=<?php echo $this->_tpl_vars['v']['UserID']; ?>
')"><?php echo $this->_tpl_vars['v']['GameID']; ?>
</a></td>
<td class=nr_nr align=center style="font-size:16px;"><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['Score'][$this->_tpl_vars['j']] >= 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['Score'][$this->_tpl_vars['j']]; ?>
</font></td>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php else: ?>
<td class=nr_nr align=center colspan=15><EFBFBD><EFBFBD>Ϸ<EFBFBD><EFBFBD>...</td>
<?php endif; ?>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
<br>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '2'): ?><font color="#cc00ff">ţţ</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '200'): ?><font color="#0000ff"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '210'): ?><font color="#0000ff"><3E>ܵÿ<DCB5></font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '430'): ?><font color="#0033ff"><3E><>ը</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '558'): ?><font color="#990000"><3E>齫</font><?php endif; ?>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['Bj']): ?><font color=green><3E>ѱ<EFBFBD><D1B1><EFBFBD></font><?php endif; ?>
<?php $this->assign('sjc', ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))); ?>
<?php if ($this->_tpl_vars['sjc'] < $this->_tpl_vars['dbsjc']): ?>
<a href="?<?php echo $this->_tpl_vars['Link']; ?>
&page=<?php echo $this->_tpl_vars['Pages']['page']; ?>
&del=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['RecordChildID']; ?>
"><3E><>ɾ<EFBFBD><C9BE></a></td>
<?php endif; ?>
</tr>
<?php endfor; endif; ?>
<?php if ($this->_tpl_vars['zf']): ?>
<tr>
<td class=bb></td>
<?php $_from = $this->_tpl_vars['zf']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['va']):
?>
<td class=bb colspan=3 style="font-size:16px;"><b><?php if ($this->_tpl_vars['va'] >= 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['va']; ?>
</font></b></td>
<?php endforeach; endif; unset($_from); ?>
<td class=bb></td>
</tr>
<?php endif; ?>
<tr>
<td colspan=17 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>