Files
wnmj/GonghuiWeb/www/m_c/%%43^435^43501B9E%%look.tpl.php
2026-02-24 09:25:17 +08:00

129 lines
9.7 KiB
PHP

<?php /* Smarty version 2.6.26, created on 2019-09-14 21:50:06
compiled from hy/look.tpl */ ?>
<?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;">
<a href="jl.php">开房记录</a>
<?php echo $this->_tpl_vars['wq']; ?>
<a href="?jia=jia">加</a>
<span style="float:right;padding-right:10px;">
<?php if ($this->_tpl_vars['gl']): ?>
<a href="?gl=close">关闭</a>
<?php else: ?>
<a href="?gl=open">开启</a>
<?php endif; ?>
</span>
</div>
<div style="line-height:30px;padding-left:10px;">
<a href="?uid=<?php echo $this->_tpl_vars['j']; ?>
">全部</a> &nbsp;&nbsp;
<?php $_from = $this->_tpl_vars['union']; 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['GG']['uid'] == $this->_tpl_vars['j']): ?><font color=red><?php else: ?><a href="?uid=<?php echo $this->_tpl_vars['j']; ?>
"><?php endif; ?><?php echo $this->_tpl_vars['v']; ?>
</font></a> &nbsp;&nbsp;
<?php endforeach; endif; unset($_from); ?>
</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['fang']) ? 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('usera', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDa']); ?>
<?php $this->assign('userb', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDb']); ?>
<?php $this->assign('userc', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDc']); ?>
<?php $this->assign('userd', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDd']); ?>
<?php $this->assign('unionid', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UnionID']); ?>
<?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['GameRule'] > '1000000000'): ?>
<?php $this->assign('i', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['GameRule']-1073741824); ?>
<?php else: ?>
<?php $this->assign('i', $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['GameRule']); ?>
<?php endif; ?>
<tr><td colspan="4" bgcolor="#C4D5DF">
<span style="float:right;padding-right:10px;">
<?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['GameOK'] == 2): ?><font color=blue>游戏中<?php else: ?><font color=red>开房中<?php endif; ?></font>
</span>
<?php echo $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['RoomID']; ?>
<?php echo $this->_tpl_vars['union'][$this->_tpl_vars['unionid']]; ?>
<?php echo $this->_tpl_vars['rule'][558][$this->_tpl_vars['i']]; ?>
</td></tr>
<tr>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDa']): ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['usera']]['NickName']; ?>
<?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDb']): ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userb']]['NickName']; ?>
<?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDc']): ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userc']]['NickName']; ?>
<?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDd']): ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userd']]['NickName']; ?>
<?php endif; ?></td>
</tr>
<tr>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDa']): ?><a href="jl.php?uid=<?php echo $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDa']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][$this->_tpl_vars['usera']]['HeadHttp']; ?>
'></a><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDb']): ?><a href="jl.php?uid=<?php echo $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDb']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userb']]['HeadHttp']; ?>
'></a><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDc']): ?><a href="jl.php?uid=<?php echo $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDc']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userc']]['HeadHttp']; ?>
'></a><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDd']): ?><a href="jl.php?uid=<?php echo $this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDd']; ?>
"><img src='<?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userd']]['HeadHttp']; ?>
'></a><?php endif; ?></td>
</tr>
<tr>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDa']): ?>三:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['usera']]['Jf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['usera']]['Jf']; ?>
</font><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDb']): ?>三:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['userb']]['Jf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userb']]['Jf']; ?>
</font><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDc']): ?>三:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['userc']]['Jf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userc']]['Jf']; ?>
</font><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDd']): ?>三:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['userd']]['Jf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userd']]['Jf']; ?>
</font><?php endif; ?></td>
</tr>
<tr>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDa']): ?>总:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['usera']]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['usera']]['Zjf']; ?>
</font><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDb']): ?>总:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['userb']]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userb']]['Zjf']; ?>
</font><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDc']): ?>总:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['userc']]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userc']]['Zjf']; ?>
</font><?php endif; ?></td>
<td class="nr_nr nr_toux"><?php if ($this->_tpl_vars['fang'][$this->_sections['loop']['index']]['UserIDd']): ?>总:<?php if ($this->_tpl_vars['user'][$this->_tpl_vars['userd']]['Zjf'] > 0): ?><font color=red><?php else: ?><font color=green><?php endif; ?><?php echo $this->_tpl_vars['user'][$this->_tpl_vars['userd']]['Zjf']; ?>
</font><?php endif; ?></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>