1 <?php
if(!defined(
'IN_GAME')) exit(
'Access Denied');
if($urcmd ==
'list') { ?>
2 <form method=
"post" name=
"urpage" onsubmit=
"admin.php">
3 <input type=
"hidden" name=
"mode" value=
"urlist">
4 <input type=
"hidden" id=
"urcmd" name=
"urcmd" value=
"list">
5 <?php
if($pagecmd==
'check') { ?>
6 <input type=
"hidden" name=
"pagecmd" value=
"check">
7 <input type=
"hidden" name=
"urorder" value=
"<?php echo $urorder?>">
8 <input type=
"hidden" name=
"urorder2" value=
"<?php echo $urorder2?>">
9 <?php }
elseif($pagecmd==
'find') { ?>
10 <input type=
"hidden" name=
"pagecmd" value=
"find">
11 <input type=
"hidden" name=
"checkinfo" value=
"<?php echo $checkinfo?>">
12 <input type=
"hidden" name=
"checkmode" value=
"<?php echo $checkmode?>">
14 <input type=
"hidden" name=
"start" value=
"<?php echo $start?>">
15 <input type=
"hidden" id=
"pagemode" name=
"pagemode" value=
"">
16 <input type=
"submit" value=
"上一页" onclick=
"$('pagemode').value='up';">
17 <span
class=
"yellow"><?php echo
$resultinfo?></span>
18 <input type=
"submit" value=
"下一页" onclick=
"$('pagemode').value='down';">
19 <?php
if($urdata) { ?>
40 <?php
if($urdata) {
if(is_array($urdata)) {
foreach($urdata as
$n => $ur) { ?>
42 <?php
if($ur[
'groupid']>$mygroup) { ?>
43 <td><input type=
"checkbox" id=
"user_<?php echo $n?>" name=
"user_<?php echo $n?>" value=
"<?php echo $ur['uid']?>" disabled=
"true"></td>
44 <td><?php echo $ur[
'username']?></td>
45 <td><input type=
"text" name=
"pass_<?php echo $n?>" size=
"20" maxlength=
"20" value=
"无法修改" disabled=
"true"></td>
46 <td><?php echo
$urgroup[$ur[
'groupid']]?></td>
47 <td>第<?php echo $ur['lastgame']?>局</td>
48 <td><?php echo $ur[
'ip']?></td>
49 <td><input type=
"text" name=
"credits_<?php echo $n?>" size=
"6" maxlength=
"10" value=
"<?php echo $ur['credits']?>" disabled=
"true"></td>
50 <td><input type=
"text" name=
"credits2_<?php echo $n?>" size=
"6" maxlength=
"10" value=
"<?php echo $ur['credits2']?>" disabled=
"true"></td>
52 <select name=
"gender_<?php echo $n?>" disabled=
"true">
54 <?php
if($ur[
'gender']==0) { ?>
59 <?php
if($ur[
'gender']==
'm') { ?>
64 <?php
if($ur[
'gender']==
'f') { ?>
70 <td><input type=
"text" name=
"icon_<?php echo $n?>" size=
"2" maxlength=
"2" value=
"<?php echo $ur['icon']?>" disabled=
"true"></td>
71 <td><?php echo
$clubinfo[$ur[
'club']]?></td>
72 <td><input type=
"text" name=
"achievement_<?php echo $n?>" size=
"20" maxlength=
"400" value=
"<?php echo $ur['achievement']?>" disabled=
"true"></td>
73 <td><input type=
"text" name=
"nicks_<?php echo $n?>" size=
"20" maxlength=
"300" value=
"<?php echo $ur['nicks']?>" disabled=
"true"></td>
74 <td><input type=
"text" name=
"motto_<?php echo $n?>" size=
"20" maxlength=
"60" value=
"<?php echo $ur['motto']?>" disabled=
"true"></td>
75 <td><input type=
"text" name=
"killmsg_<?php echo $n?>" size=
"20" maxlength=
"20" value=
"<?php echo $ur['killmsg']?>" disabled=
"true"></td>
76 <td><input type=
"text" name=
"lastword_<?php echo $n?>" size=
"20" maxlength=
"20" value=
"<?php echo $ur['lastword']?>" disabled=
"true"></td>
78 <input type=
"submit" value=
"修改" disabled=
"true">
81 <td><input type=
"checkbox" id=
"user_<?php echo $n?>" name=
"user_<?php echo $n?>" value=
"<?php echo $ur['uid']?>"></td>
82 <td><?php echo $ur[
'username']?></td>
83 <td><input type=
"text" name=
"pass_<?php echo $n?>" size=
"20" maxlength=
"20" value=
""></td>
84 <td><?php echo
$urgroup[$ur[
'groupid']]?></td>
85 <td>第<?php echo $ur['lastgame']?>局</td>
86 <td><?php echo $ur[
'ip']?></td>
87 <td><input type=
"text" name=
"credits_<?php echo $n?>" size=
"6" maxlength=
"10" value=
"<?php echo $ur['credits']?>"></td>
88 <td><input type=
"text" name=
"credits2_<?php echo $n?>" size=
"6" maxlength=
"10" value=
"<?php echo $ur['credits2']?>"></td>
90 <select name=
"gender_<?php echo $n?>">
92 <?php
if($ur[
'gender']==0) { ?>
97 <?php
if($ur[
'gender']==
'm') { ?>
102 <?php
if($ur[
'gender']==
'f') { ?>
108 <td><input type=
"text" name=
"icon_<?php echo $n?>" size=
"2" maxlength=
"2" value=
"<?php echo $ur['icon']?>"></td>
109 <td><?php echo
$clubinfo[$ur[
'club']]?></td>
110 <td><input type=
"text" name=
"achievement_<?php echo $n?>" size=
"20" maxlength=
"400" value=
"<?php echo $ur['achievement']?>"></td>
111 <td><input type=
"text" name=
"nicks_<?php echo $n?>" size=
"20" maxlength=
"300" value=
"<?php echo $ur['nicks']?>"></td>
112 <td><input type=
"text" name=
"motto_<?php echo $n?>" size=
"20" maxlength=
"60" value=
"<?php echo $ur['motto']?>"></td>
113 <td><input type=
"text" name=
"killmsg_<?php echo $n?>" size=
"20" maxlength=
"60" value=
"<?php echo $ur['killmsg']?>"></td>
114 <td><input type=
"text" name=
"lastword_<?php echo $n?>" size=
"20" maxlength=
"60" value=
"<?php echo $ur['lastword']?>"></td>
116 <input type=
"submit" value=
"修改" onclick=
"$('urcmd').value='edit_<?php echo $n?>_<?php echo $ur['uid']?>'">
122 <td colspan=2><input type=
"checkbox" name=
"user_all" onchange=
"for(i=0; i<=<?php echo $n?>;i++){if(! $('user_'+i).disabled){if(this.checked==true){$('user_'+i).checked=true}else{$('user_'+i).checked=false}}}">全选</td>
123 <td colspan=12 style=
"text-align:center;">
124 <input type=
"submit" name=
"submit" value=
"封停选中玩家" onclick=
"$('urcmd').value='ban'">
125 <input type=
"submit" name=
"submit" value=
"解封选中玩家" onclick=
"$('urcmd').value='unban'">
126 <input type=
"submit" name=
"submit" value=
"删除选中玩家" onclick=
"$('urcmd').value='del'">
133 <form method=
"post" name=
"backtolist" onsubmit=
"admin.php">
134 <input type=
"hidden" name=
"mode" value=
"urlist">
135 <input type=
"hidden" name=
"command" value=
"">
136 <input type=
"submit" name=
"submit" value=
"返回玩家帐户管理">
139 <form method=
"post" name=
"urlist" onsubmit=
"admin.php">
140 <input type=
"hidden" name=
"mode" value=
"urlist">
141 <input type=
"hidden" name=
"pagecmd" id=
"pagecmd" value=
"">
142 <input type=
"hidden" name=
"urcmd" value=
"list">
143 <table
class=
"admin">
151 <select name=
"checkmode">
152 <option value=
"username" selected>用户名
153 <option value=
"ip">用户IP
156 <input size=
"30" type=
"text" name=
"checkinfo" id=
"checkinfo" maxlength=
"30" />
160 <select name=
"urorder">
161 <option value=
"groupid" selected>用户所属组
162 <option value=
"lastgame">最新游戏
163 <option value=
"uid">用户编号
165 <select name=
"urorder2">
166 <option value=
"DESC" selected>降序排列
167 <option value=
"ASC">升序排列
172 <td style=
"text-align:center;"><input style=
"width:100px;height:30px;" type=
"submit" value=
"搜索" onclick=
"$('pagecmd').value='find';"></td>
173 <td style=
"text-align:center;"><input style=
"width:100px;height:30px;" type=
"submit" value=
"查看" onclick=
"$('pagecmd').value='check';"></td>
【生存者数:<?php echo $alivenum?> 人】< input type="button"value="显示全部幸存者"onClick="$('alivemode').value='all';$('gbmode').value='none';postCmd('alive','alive.php');"></p > if($gamblingon &&$gamestate >=20) elseif($gamblingon &&$gamestate<=10)