Files
wnmj/GonghuiWeb/www/m_c/%%1B^1B1^1B18EF78%%gh-data.tpl.php
2026-02-24 09:25:17 +08:00

541 lines
31 KiB
PHP

<?php /* Smarty version 2.6.26, created on 2020-04-18 16:30:17
compiled from user/gh-data.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'timename', 'user/gh-data.tpl', 105, false),array('modifier', 'strtotime', 'user/gh-data.tpl', 105, 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);
?>
<div id=in>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<?php if ($this->_tpl_vars['Edit_Ok']): ?><tr><td colspan=8 align=center class=editok><?php echo $this->_tpl_vars['Edit_Ok']; ?>
</td></tr><?php endif; ?>
<?php if ($this->_tpl_vars['Edit_Error']): ?><tr><td colspan=8 align=center class=editerror><?php echo $this->_tpl_vars['Edit_Error']; ?>
</td></tr><?php endif; ?>
<tr><td colspan=20 class=bt height=30>
<div style='float:left;padding-left:10px;'><a href="?open=open&id=<?php echo $this->_tpl_vars['union']['UnionID']; ?>
"><?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>关闭<?php else: ?>开启<?php endif; ?>欢乐场</a></div>
<div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('content<?php echo $this->_tpl_vars['union']['UserID']; ?>
','会员:<?php echo $this->_tpl_vars['union']['GameID']; ?>
','user/add.php?id=<?php echo $this->_tpl_vars['union']['UserID']; ?>
')"><?php echo $this->_tpl_vars['union']['GameID']; ?>
</a></div>
<b><?php echo $this->_tpl_vars['union']['UnionName']; ?>
- 公会数据</b></td></tr>
<tr class=gy>
<td class=nr_bt>名称</td>
<td class='nr_nr'><input type="text" name="jy" value="<?php echo $this->_tpl_vars['union']['UnionName']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt>公会人数</td>
<td class=nr_nr><?php echo $this->_tpl_vars['union']['People']; ?>
人</td>
<td class=nr_bt></td>
<td class=nr_nr></td>
</tr>
<tr class=gy>
<td class=nr_bt>公会码</td>
<td class=nr_nr><input type="text" name="remark" value="<?php echo $this->_tpl_vars['union']['UnionCode']; ?>
" style="width:100px;" maxLength="200"></td>
<td class=nr_bt>公会耗卡</td>
<td class=nr_nr><?php echo $this->_tpl_vars['union']['GameHit']; ?>
</td>
<td class=nr_bt>公会房卡</td>
<td class=nr_nr><input type="text" name="remark" value="<?php echo $this->_tpl_vars['union']['UnionCard']; ?>
" style="width:100px;" maxLength="200"></td>
</tr>
</table>
<?php if ($this->_tpl_vars['union']['UnionGoldOpen']): ?>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><b>欢乐场设置</b></td></tr>
<tr>
<td width=55 class=bb><b>游戏</b></td>
<td class=bb><b>限制入场</b></td>
<!--td class=bb><b>倍数</b></td-->
<td class=bb><b>佣金</b></td>
<td width=55 class=bb><b>游戏</b></td>
<td class=bb><b>限制入场</b></td>
<!--td class=bb><b>倍数</b></td-->
<td class=bb><b>佣金</b></td>
</tr>
<form action="" method="post" name="frmedit">
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['kind']) ? 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('kid', $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['KindID']); ?>
<?php $this->assign('i', $this->_sections['loop']['rownum']); ?>
<?php if ($this->_tpl_vars['i']%2 == 1): ?><tr class=gy><?php endif; ?>
<td class=nr_nr><?php echo $this->_tpl_vars['kind_arr'][$this->_tpl_vars['kid']]; ?>
</td>
<td class=nr_nr><input type="text" name="limit[<?php echo $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['id']; ?>
]" value="<?php echo $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['UnionGoldLimit']; ?>
" style="width:60px;" maxLength="200"></td>
<!--td class=nr_nr><input type="text" name="score[<?php echo $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['id']; ?>
]" value="<?php echo $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['ScoreMultiple']; ?>
" style="width:60px;" maxLength="200"></td-->
<td class=nr_nr><input type="text" name="gold[<?php echo $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['id']; ?>
]" value="<?php echo $this->_tpl_vars['kind'][$this->_sections['loop']['index']]['GameGold']; ?>
" style="width:60px;" maxLength="200"></td>
<?php if ($this->_tpl_vars['i']%2 == 0): ?></tr><?php endif; ?>
<?php endfor; endif; ?>
<input name="id" id=id type="hidden" value="<?php echo $this->_tpl_vars['GG']['id']; ?>
">
<tr><td colspan=8 class=tj id=remind_info><input type="submit" name=submit value="提 交">
<input name="pass" id=pass type="password" value="" maxLength="50" style="width:70px;" fs="pass">
<input type="reset" value="重 置"></td></tr>
</form>
</table>
<?php endif; ?>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><b>公会直充</b></td></tr>
<form action="" method="post" name="frmedit">
<tr class=gy>
<td class=nr_bt>充值金额</td>
<td class='nr_nr' colspan=3><input type="text" name="je" id="jem" value="" style="width:100px;" maxLength="200" onkeyup="rec();"> 元</td>
</tr>
<tr class=gy>
<td class=nr_bt>充值房卡</td>
<td class='nr_nr' colspan=3><input type="text" name="fk" id="fks" value="" style="width:100px;" maxLength="200" onkeyup="rec();"> 张</td>
</tr>
<tr class=gy>
<td class=nr_bt>房卡基数</td>
<td class='nr_nr' colspan=3 id=js></td>
</tr>
<input name="agent" type="hidden" value="recharge">
<input name="id" id=id type="hidden" value="<?php echo $this->_tpl_vars['GG']['id']; ?>
">
<tr><td colspan=4 class=tj id=remind_info><input name="pass" id=pass type="password" value="" maxLength="50" style="width:70px;" fs="pass"> <input type="submit" name=submit value="充 值"></td></tr>
</form>
</table>
<script>
rec();
function rec(){
var jem = $("#jem").val();
var fks = $("#fks").val();
var js = (jem/fks).toFixed(3);
$("#js").text(js+"元/张");
}
</script>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('71','公会充卡','user/gh-rec.php?gid=<?php echo $this->_tpl_vars['union']['GameID']; ?>
')">更多>></a></div><b>公会充值明细</b></td></tr>
<tr>
<td width=100 class=bb><b>类型</b></td>
<td width=100 class=bb><b>用户房卡</b></td>
<td width=100 class=bb><b>公会房卡</b></td>
<td width=100 class=bb><b>转卡数量</b></td>
<td class=bb><b>充值时间</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['rec']) ? 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 if ($this->_tpl_vars['rec'][$this->_sections['loop']['index']]['TypeCard'] == 1): ?><font color=red>直充<?php elseif ($this->_tpl_vars['rec'][$this->_sections['loop']['index']]['TypeCard'] == 2): ?><font color=#cc0000>活动赠送<?php else: ?><font color=green>用户转卡<?php endif; ?></font></td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['Fang']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['LeftCard']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['rec'][$this->_sections['loop']['index']]['OperCard']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['rec'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('75','欢乐分操作记录','user/gh-gold.php?uid=<?php echo $this->_tpl_vars['union']['UnionID']; ?>
')">更多>></a></div><b>欢乐分操作记录</b></td></tr>
<tr>
<td width=100 class=bb><b>操作用户</b></td>
<td width=100 class=bb><b>操作欢乐分</b></td>
<td width=100 class=bb><b>操作后欢乐分</b></td>
<td class=bb><b>操作时间</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['gold']) ? 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=right><?php echo $this->_tpl_vars['gold'][$this->_sections['loop']['index']]['NickName']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['gold'][$this->_sections['loop']['index']]['UnionGold']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['gold'][$this->_sections['loop']['index']]['UnionGoldAfter']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['gold'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<br>
<?php if ($this->_tpl_vars['auto']): ?>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style="float:right;padding-right:10px;"><a href="?qk=all&id=<?php echo $this->_tpl_vars['GG']['id']; ?>
">清空自动开房</a></div><b>自动开房配置</b></td></tr>
<tr>
<td width=200 class=bb><b>游戏类型</b></td>
<td class=bb><b>耗卡</b></td>
<td class=bb><b>底分</b></td>
<td class=bb><b>配置时间</b></td>
<td width=100 class=bb><b></b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['auto']) ? 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 if ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">牛牛</font>
<?php elseif ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '6'): ?><font color="#ff00ff">炸金花</font>
<?php elseif ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">斗地主</font>
<?php elseif ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">跑得快</font>
<?php elseif ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">打炸</font>
<?php elseif ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">十三张</font>
<?php elseif ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000">麻将</font><?php endif; ?>
<?php $this->assign('gk', $this->_tpl_vars['auto'][$this->_sections['loop']['index']]['KindID']); ?>
<?php $this->assign('gz', $this->_tpl_vars['auto'][$this->_sections['loop']['index']]['GameRuleIdex']-1073741824); ?>
<?php echo $this->_tpl_vars['rule'][$this->_tpl_vars['gk']][$this->_tpl_vars['gz']]; ?>
</td>
<td class=nr_nr>
<?php if ($this->_tpl_vars['auto'][$this->_sections['loop']['index']]['PlayCoutIdex']): ?>2<?php else: ?>1<?php endif; ?>张卡
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['auto'][$this->_sections['loop']['index']]['BaseScore']; ?>
分</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['auto'][$this->_sections['loop']['index']]['Date'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
<td class=nr_nr><a href="?delauto=<?php echo $this->_tpl_vars['auto'][$this->_sections['loop']['index']]['id']; ?>
&id=<?php echo $this->_tpl_vars['GG']['id']; ?>
">删除</a></td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=6>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<br>
<?php endif; ?>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('72','公会开房记录','user/gh-kf.php?uid=<?php echo $this->_tpl_vars['union']['UnionID']; ?>
')">更多>></a></div><b>公会开房记录</b></td></tr>
<tr>
<td width=100 class=bb><b>房号</b></td>
<td width=100 class=bb><b>游戏</b></td>
<td width=100 class=bb><b>状态</b></td>
<td width=100 class=bb><b>耗卡</b></td>
<td width=100 class=bb><b>手续分</b></td>
<td width=100 class=bb><b>开房会员</b></td>
<td class=bb><b>游戏会员</b></td>
<td class=bb><b>游戏时间</b></td>
</tr>
<?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']]['RoomID']; ?>
</td>
<td class=nr_nr align=center><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '2'): ?><font color="#cc00ff">牛牛</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '6'): ?><font color="#ff00ff">炸金花</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '200'): ?><font color="#0000ff">斗地主</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '210'): ?><font color="#00ccff">跑得快</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '430'): ?><font color="#0033ff">打炸</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '502'): ?><font color="#6666FF">十三张</font>
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID'] == '558'): ?><font color="#990000">麻将</font><?php endif; ?>
<?php $this->assign('k', $this->_tpl_vars['data'][$this->_sections['loop']['index']]['KindID']); ?>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameRule'] > '1000000000'): ?>
<?php $this->assign('i', $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameRule']-1073741824); ?>
<?php else: ?>
<?php $this->assign('i', $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameRule']); ?>
<?php endif; ?>
<?php echo $this->_tpl_vars['rule'][$this->_tpl_vars['k']][$this->_tpl_vars['i']]; ?>
</td>
<td class=nr_nr align=center><?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameOK'] == 8): ?><font color=#090>完成
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameOK'] == 2): ?><font color=#0066ff>游戏中
<?php elseif ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameOK'] == 1): ?>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameRule'] > 100000000): ?><font color=#ff6600>自动开房<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameRule']; ?>
<?php else: ?><font color=red>开房中<?php endif; ?>
<?php else: ?><font color=#000>失败<?php endif; ?></font>
<?php if ($this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameOK'] == 1 && $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameRule'] > 100000000): ?>
<br><a href="?ucid=<?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['UnionConsumerID']; ?>
&id=<?php echo $this->_tpl_vars['GG']['id']; ?>
">删除</a>
<?php endif; ?> </td>
<td class=nr_nr align=center><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['ConsumerCode']; ?>
</td>
<td class=nr_nr align=center><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['GameGold']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['NickName']; ?>
</td>
<td class=nr_nr><?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Named']; ?>
&nbsp; <?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Namee']; ?>
&nbsp; <?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Namef']; ?>
&nbsp; <?php echo $this->_tpl_vars['data'][$this->_sections['loop']['index']]['Nameg']; ?>
</td>
<td class=nr_nr><?php echo timename(array('time' => ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['loop']['index']]['addTime'])) ? $this->_run_mod_handler('strtotime', true, $_tmp) : strtotime($_tmp))), $this);?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=8>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('73','公会日报','user/gh-day.php?uid=<?php echo $this->_tpl_vars['union']['UnionID']; ?>
')">更多>></a></div><b>公会耗卡日报</b></td></tr>
<tr>
<td width=100 class=bb><b>日期</b></td>
<td class=bb><b>总耗卡</b></td>
<td class=bb><b>手续分</b></td>
<td class=bb><b>麻将</b></td>
<td class=bb><b>斗地主</b></td>
<td class=bb><b>牛牛</b></td>
<td class=bb><b>跑得快</b></td>
<td class=bb><b>打炸</b></td>
<td class=bb><b>十三张</b></td>
<td class=bb><b>炸金花</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['day']) ? 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['day'][$this->_sections['loop']['index']]['UnionDay']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FCount']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FGold']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FMj']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FDdz']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FNiu']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FPdk']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FDz']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FSs']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['day'][$this->_sections['loop']['index']]['FZjh']; ?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=10>暂无记录!</td>
</tr>
<?php endif; ?>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class=nr>
<tr><td colspan=20 class=bt height=30><div style='float:right;padding-right:10px;'><a href="javascript:;" onclick="openright('74','公会月报','user/gh-month.php?uid=<?php echo $this->_tpl_vars['union']['UnionID']; ?>
')">更多>></a></div><b>公会耗卡月报</b></td></tr>
<tr>
<td width=100 class=bb><b>日期</b></td>
<td class=bb><b>总耗卡</b></td>
<td class=bb><b>手续分</b></td>
<td class=bb><b>麻将</b></td>
<td class=bb><b>斗地主</b></td>
<td class=bb><b>牛牛</b></td>
<td class=bb><b>跑得快</b></td>
<td class=bb><b>打炸</b></td>
<td class=bb><b>十三张</b></td>
<td class=bb><b>炸金花</b></td>
</tr>
<?php unset($this->_sections['loop']);
$this->_sections['loop']['name'] = 'loop';
$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['month']) ? 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['month'][$this->_sections['loop']['index']]['UnionMonth']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FCount']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FGold']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FMj']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FDdz']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FNiu']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FPdk']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FDz']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FSs']; ?>
</td>
<td class=nr_nr align=right><?php echo $this->_tpl_vars['month'][$this->_sections['loop']['index']]['FZjh']; ?>
</td>
</tr>
<?php endfor; else: ?>
<tr class=gy>
<td class=nr_nr align=center colspan=10>暂无记录!</td>
</tr>
<?php 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>