Tokiwa Battle Royale
GE777
A PHP Battle Royale inspired game
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
1_admin_gmlist.tpl.php
Go to the documentation of this file.
1
<?php
if
(!defined(
'IN_GAME'
)) exit(
'Access Denied'
); ?>
2
<form method=
"post"
name=
"gmlist"
onsubmit=
"admin.php"
>
3
<input type=
"hidden"
id
=
"mode"
name=
"mode"
value
=
"gmlist"
>
4
<input type=
"hidden"
id
=
"command"
name=
"command"
value
=
""
>
5
<input type=
"hidden"
id
=
"adminuid"
name=
"adminuid"
value
=
""
>
6
<table
class
=
"admin"
>
7
<tr>
8
<th>UID</th>
9
<th width=
"250px"
>账号</th>
10
<th>权限</th>
11
<th>操作</th>
12
</tr>
13
<?php
if
(is_array($gmdata)) {
foreach
($gmdata as
$n
=> $gm) { ?>
14
<tr>
15
<td><?php echo $gm[
'uid'
]?></td>
16
<td><?php echo $gm[
'username'
]?></td>
17
<td>
18
<?php
if
($gm[
'groupid'
] >= $mygroup) { ?>
19
<span
class
=
"red"
><?php echo $gm[
'groupid'
]?></span>
20
<?php }
else
{ ?>
21
<select name=
"<?php echo $gm['uid']?>_group"
>
22
<?php
if
(is_array(Array(2,3,4,5,6,7,8,9))) {
foreach
(Array(2,3,4,5,6,7,8,9) as
$i
) { ?>
23
<option
value
=
"<?php echo $i?>"
24
<?php
if
($gm[
'groupid'
] == $i) { ?>
25
selected=
"true"
26
<?php } ?>
27
><?php echo $i?></option>
28
<?php } } ?>
29
</select>
30
<?php } ?>
31
</td>
32
<td>
33
<input type=
"submit"
value
=
"编辑"
34
<?php
if
($gm[
'groupid'
] >= $mygroup) { ?>
35
disabled
=
"true"
36
<?php } ?>
37
onclick=
"$('command').value='edit';$('adminuid').value='<?php echo $gm['uid']?>';"
>
38
<input type=
"submit"
value
=
"删除"
39
<?php
if
($gm[
'groupid'
] >= $mygroup) { ?>
40
disabled
=
"true"
41
<?php } ?>
42
onclick=
"$('command').value='del';$('adminuid').value='<?php echo $gm['uid']?>';"
>
43
</td>
44
</tr>
45
<?php } } ?>
46
<tr>
47
<td>新增</td>
48
<td><input type=
"text"
name=
"addname"
value
=
""
size=
"30"
maxlength=
"15"
></td>
49
<td>
50
<select name=
"addgroup"
>
51
<option
value
=
"2"
selected=
"true"
>2</option>
52
<?php
if
(is_array(Array(3,4,5,6,7,8,9))) {
foreach
(Array(3,4,5,6,7,8,9) as
$i
) { ?>
53
<option value=
"<?php echo $i?>"
><?php echo $i?></option>
54
<?php } } ?>
55
</select>
56
</td>
57
<td><input type=
"submit"
value=
"新增"
onclick=
"$('command').value='add'"
></td>
58
</tr>
59
</table>
60
</form>
disabled
this disabled
Definition:
1_battlecmd.tpl.php:6
$n
$n
Definition:
rank.php:51
$i
$i
Definition:
botservice.php:267
value
value
Definition:
1_alive.tpl.php:10
gamedata
templates
1_admin_gmlist.tpl.php
Generated on Thu Nov 20 2014 11:38:02 for Tokiwa Battle Royale by
1.8.8