Files
wnmj/GonghuiWeb/www/m_c/%%06^06D^06DB0EA8%%jl.tpl.php
2026-02-24 09:25:17 +08:00

108 lines
7.0 KiB
PHP

<?php /* Smarty version 2.6.26, created on 2019-01-12 18:19:09
compiled from hy/jl.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'timename', 'hy/jl.tpl', 13, false),array('modifier', 'strtotime', 'hy/jl.tpl', 13, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'hy/top.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id=in>
<div style="line-height:30px;padding-left:10px;">
<span style="float:right;padding-right:10px;color:red;font-size:14px;"> <?php echo $this->_tpl_vars['zzf']; ?>
</span>
<a href="look.php">房间列表</a>
</div>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr style="margin-left:5px;">
<?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('dat', $this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']); ?>
<?php $this->assign('user', $this->_tpl_vars['data'][$this->_sections['loop']['index']]['users']); ?>
<?php $this->assign('zf', $this->_tpl_vars['data'][$this->_sections['loop']['index']]['zf']); ?>
<tr><td colspan="4" bgcolor="#C4D5DF">
<span style="float:right;padding-right:10px;"><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['dat']['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</span>
<?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'] == '6'): ?><font color="#ff00ff">炸金花</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '200'): ?><font color="#0000ff">斗地主</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '210'): ?><font color="#0000ff">跑得快</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '430'): ?><font color="#0033ff">打炸</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '502'): ?><font color="#6666FF">十三张</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['data']['KindID'] == '558'): ?><font color="#990000">麻将</font><?php endif; ?>
</td></tr>
<tr>
<td class="nr_nr"><?php echo $this->_tpl_vars['user'][0]['NickName']; ?>
</td>
<td class="nr_nr"><?php echo $this->_tpl_vars['user'][1]['NickName']; ?>
</td>
<td class="nr_nr"><?php echo $this->_tpl_vars['user'][2]['NickName']; ?>
</td>
<td class="nr_nr"><?php echo $this->_tpl_vars['user'][3]['NickName']; ?>
</td>
</tr>
<tr>
<td class="nr_nr nr_toux"><a href="jl.php?uid=<?php echo $this->_tpl_vars['user'][0]['UserID']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][0]['HeadHttp']; ?>
'></a></td>
<td class="nr_nr nr_toux"><a href="jl.php?uid=<?php echo $this->_tpl_vars['user'][1]['UserID']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][1]['HeadHttp']; ?>
'></a></td>
<td class="nr_nr nr_toux"><a href="jl.php?uid=<?php echo $this->_tpl_vars['user'][2]['UserID']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][2]['HeadHttp']; ?>
'></a></td>
<td class="nr_nr nr_toux"><a href="jl.php?uid=<?php echo $this->_tpl_vars['user'][3]['UserID']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][3]['HeadHttp']; ?>
'></a></td>
</tr>
<tr>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['zf'][0] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['zf'][0]; ?>
</font></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['zf'][1] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['zf'][1]; ?>
</font></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['zf'][2] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['zf'][2]; ?>
</font></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['zf'][3] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['zf'][3]; ?>
</font></td>
</tr>
<tr>
<td class="nr_nr nr_toux">总:<?php if ($this->_tpl_vars['user'][0]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][0]['Zjf']; ?>
</font></td>
<td class="nr_nr nr_toux">总:<?php if ($this->_tpl_vars['user'][1]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][1]['Zjf']; ?>
</font></td>
<td class="nr_nr nr_toux">总:<?php if ($this->_tpl_vars['user'][2]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][2]['Zjf']; ?>
</font></td>
<td class="nr_nr nr_toux">总:<?php if ($this->_tpl_vars['user'][3]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][3]['Zjf']; ?>
</font></td>
</tr>
<?php endfor; endif; ?>
</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>