工会web
This commit is contained in:
67
GonghuiWeb/www/m_c/%%1A^1A4^1A4ED4A8%%jf.tpl.php
Normal file
67
GonghuiWeb/www/m_c/%%1A^1A4^1A4ED4A8%%jf.tpl.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php /* Smarty version 2.6.26, created on 2018-01-14 21:42:07
|
||||
compiled from dh/jf.tpl */ ?>
|
||||
<style>
|
||||
.nr {background:#eee;}
|
||||
.nr_nr {background:#fff;}
|
||||
.nr_r {text-align:right;padding-right:5px;}
|
||||
</style>
|
||||
<div class="" style="color:red;">请自行截图保存,再次访问需要扣除元宝!</div>
|
||||
<div class="xfs-14 xlh-25">
|
||||
<span class="xfr" style="color:<?php if ($this->_tpl_vars['zjf'] > 0): ?>red<?php else: ?>green<?php endif; ?>;"><?php if ($this->_tpl_vars['GG']['look']): ?>全部<?php else: ?>30天<?php endif; ?>:<?php echo $this->_tpl_vars['zjf']; ?>
|
||||
分</span>
|
||||
<?php echo $this->_tpl_vars['user']['NickName']; ?>
|
||||
<font color="#999"><?php if ($this->_tpl_vars['GG']['look']): ?>全部<?php else: ?>30天<?php endif; ?>游戏积分记录</font>
|
||||
</div>
|
||||
<table width="100%">
|
||||
<tr class="xlh-30">
|
||||
<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 $this->assign('zjf', 0); ?>
|
||||
<?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']);
|
||||
?>
|
||||
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
|
||||
<tr class="xlh-25 <?php if ($this->_tpl_vars['i']%2 == 1): ?> xb-ef<?php endif; ?>">
|
||||
<td> <?php if ($this->_tpl_vars['GG']['look']): ?><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['Month']; ?>
|
||||
<?php else: ?><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['Days']; ?>
|
||||
<?php endif; ?></td>
|
||||
<td align=right><?php if ($this->_tpl_vars['log'][$this->_sections['loop']['index']]['Jf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['Jf']; ?>
|
||||
</font> </td>
|
||||
<td align="right"><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['Jfz']; ?>
|
||||
</td>
|
||||
<td align="right"><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['Jfs']; ?>
|
||||
</td>
|
||||
<td align="right"><?php echo $this->_tpl_vars['log'][$this->_sections['loop']['index']]['Hit']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endfor; endif; ?>
|
||||
</table>
|
||||
<div class="clear"></div>
|
||||
<script>
|
||||
layer.closeAll();
|
||||
</script>
|
||||
Reference in New Issue
Block a user