1 <?php
if(!defined(
'IN_GAME')) exit(
'Access Denied'); ?>
2 <input type=
"hidden" id=
"mode" name=
"mode" value=
"command">
3 <input type=
"hidden" id=
"command" name=
"command" value=
"menu">
4 <input type=
"hidden" id=
"subcmd" name=
"subcmd" value=
"">
7 <input type=
"button" class=
"cmdbutton" id=
"search" name=
"search" value=
"搜寻" onclick=
"$('command').value='search';postCmd('gamecmd','command.php');this.disabled=true;"
12 <select
id=
"moveto" name=
"moveto" onchange=
"$('command').value='move';postCmd('gamecmd','command.php');this.disabled=true;">
13 <?php include
template(
'move'); ?>
18 <input type=
"button" class=
"cmdbutton"
19 <?php
if(strpos($itmk1,
'W')===0 || strpos($itmk1,
'D')===0 || strpos($itmk1,
'A')===0) { ?>
24 onclick=
"$('mode').value='command';$('command').value='itm1';postCmd('gamecmd','command.php');this.disabled=true;"><span
class=
"yellow"><?php echo $itm1?></span>/<?php echo $itme1?>/<?php echo $itms1?><br>
25 <?php }
if($itms2) { ?>
26 <input type=
"button" class=
"cmdbutton"
27 <?php
if(strpos($itmk2,
'W')===0 || strpos($itmk2,
'D')===0 || strpos($itmk2,
'A')===0) { ?>
32 onclick=
"$('mode').value='command';$('command').value='itm2';postCmd('gamecmd','command.php');this.disabled=true;"><span
class=
"yellow"><?php echo $itm2?></span>/<?php echo $itme2?>/<?php echo $itms2?><br>
33 <?php }
if($itms3) { ?>
34 <input type=
"button" class=
"cmdbutton"
35 <?php
if(strpos($itmk3,
'W')===0 || strpos($itmk3,
'D')===0 || strpos($itmk3,
'A')===0) { ?>
40 onclick=
"$('mode').value='command';$('command').value='itm3';postCmd('gamecmd','command.php');this.disabled=true;"><span
class=
"yellow"><?php echo $itm3?></span>/<?php echo $itme3?>/<?php echo $itms3?><br>
41 <?php }
if($itms4) { ?>
42 <input type=
"button" class=
"cmdbutton"
43 <?php
if(strpos($itmk4,
'W')===0 || strpos($itmk4,
'D')===0 || strpos($itmk4,
'A')===0) { ?>
48 onclick=
"$('mode').value='command';$('command').value='itm4';postCmd('gamecmd','command.php');this.disabled=true;"><span
class=
"yellow"><?php echo $itm4?></span>/<?php echo $itme4?>/<?php echo $itms4?><br>
49 <?php }
if($itms5) { ?>
50 <input type=
"button" class=
"cmdbutton"
51 <?php
if(strpos($itmk5,
'W')===0 || strpos($itmk5,
'D')===0 || strpos($itmk5,
'A')===0) { ?>
56 onclick=
"$('mode').value='command';$('command').value='itm5';postCmd('gamecmd','command.php');this.disabled=true;"><span
class=
"yellow"><?php echo $itm5?></span>/<?php echo $itme5?>/<?php echo $itms5?><br>
57 <?php }
if($itms6) { ?>
58 <input type=
"button" class=
"cmdbutton"
59 <?php
if(strpos($itmk6,
'W')===0 || strpos($itmk6,
'D')===0 || strpos($itmk6,
'A')===0) { ?>
64 onclick=
"$('mode').value='command';$('command').value='itm6';postCmd('gamecmd','command.php');this.disabled=true;"><span
class=
"yellow"><?php echo $itm6?></span>/<?php echo $itme6?>/<?php echo $itms6?><br>
67 <input type=
"button" class=
"cmdbutton" id=
"itemmix" name=
"itemmix" value=
"道具合成" onclick=
"$('command').value='itemmain';$('subcmd').name='itemcmd';$('subcmd').value='itemmix';postCmd('gamecmd','command.php');this.disabled=true;">
68 <input type=
"button" class=
"cmdbutton" id=
"itemmerge" name=
"itemmerge" value=
"整理包裹" onclick=
"$('command').value='itemmain';$('subcmd').name='itemcmd';$('subcmd').value='itemmerge';postCmd('gamecmd','command.php');this.disabled=true;">
69 <?php
if(strpos($artk,
'ss')!==
false) { ?>
70 <input type=
"button" class=
"cmdbutton" id=
"sp_weapon" name=
"sp_weapon" value=
"歌唱" onclick=
"$('command').value='song';$('subcmd').name='song';postCmd('gamecmd','command.php');this.disabled=true;">
73 <input type=
"button" class=
"cmdbutton" id=
"itemdrop" name=
"itemdrop" value=
"道具移动" onclick=
"$('command').value='itemmain';$('subcmd').name='itemcmd';$('subcmd').value='itemmove';postCmd('gamecmd','command.php');this.disabled=true;">
74 <input type=
"button" class=
"cmdbutton" id=
"itemdrop" name=
"itemdrop" value=
"道具丢弃" onclick=
"$('command').value='itemmain';$('subcmd').name='itemcmd';$('subcmd').value='itemdrop';postCmd('gamecmd','command.php');this.disabled=true;">
75 <input type=
"button" class=
"cmdbutton" id=
"sp_weapon" name=
"sp_weapon" value=
"武器模式" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_weapon';postCmd('gamecmd','command.php');this.disabled=true;">
78 <input type=
"button" class=
"cmdbutton" id=
"rest1" name=
"rest1" value=
"睡眠" onclick=
"$('command').value='rest1';postCmd('gamecmd','command.php');this.disabled=true;">
79 <input type=
"button" class=
"cmdbutton" id=
"rest2" name=
"rest2" value=
"治疗" onclick=
"$('command').value='rest2';postCmd('gamecmd','command.php');this.disabled=true;">
81 <input type=
"button" class=
"cmdbutton" id=
"rest3" name=
"rest3" value=
"静养" onclick=
"$('command').value='rest3';postCmd('gamecmd','command.php');this.disabled=true;">
85 <input type=
"button" class=
"cmdbutton" id=
"teammake" name=
"teammake" value=
"组建队伍" onclick=
"$('command').value='team';$('subcmd').name='teamcmd';$('subcmd').value='teammake';postCmd('gamecmd','command.php');this.disabled=true;">
86 <input type=
"button" class=
"cmdbutton" id=
"teammake" name=
"teamjoin" value=
"加入队伍" onclick=
"$('command').value='team';$('subcmd').name='teamcmd';$('subcmd').value='teamjoin';postCmd('gamecmd','command.php');this.disabled=true;">
88 <input type=
"button" class=
"cmdbutton" id=
"teammake" name=
"teamquit" value=
"脱离队伍" onclick=
"$('command').value='team';$('subcmd').name='teamcmd';$('subcmd').value='teamquit';postCmd('gamecmd','command.php');this.disabled=true;">
91 <?php
if(in_array($pls,
$shops)) { ?>
92 <input type=
"button" class=
"cmdbutton" id=
"sp_shop" name=
"sp_shop" value=
"商店" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_shop';postCmd('gamecmd','command.php');this.disabled=true;">
94 <input type=
"button" class=
"cmdbutton" id=
"sp_skpts" name=
"sp_skpts" value=
"升级技能" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_skpts';postCmd('gamecmd','command.php');this.disabled=true;">
96 <?php
if($club == 7) { ?>
97 <input type=
"button" class=
"cmdbutton" id=
"sp_adtsk" name=
"sp_adtsk" value=
"武器带电" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_adtsk';postCmd('gamecmd','command.php');this.disabled=true;">
98 <input type=
"button" class=
"cmdbutton" id=
"sp_trapadtsk" name=
"sp_trapadtsk" value=
"陷阱带电" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_trapadtsk';postCmd('gamecmd','command.php');this.disabled=true;">
99 <?php }
elseif($club == 8) { ?>
100 <input type=
"button" class=
"cmdbutton" id=
"sp_adtsk" name=
"sp_adtsk" value=
"武器淬毒" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_adtsk';postCmd('gamecmd','command.php');this.disabled=true;">
101 <input type=
"button" class=
"cmdbutton" id=
"sp_trapadtsk" name=
"sp_trapadtsk" value=
"陷阱淬毒" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_trapadtsk';postCmd('gamecmd','command.php');this.disabled=true;">
102 <input type=
"button" class=
"cmdbutton" id=
"sp_poison" name=
"sp_poison" value=
"检查毒物" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_poison';postCmd('gamecmd','command.php');this.disabled=true;">
103 <?php }
elseif($club == 99) { ?>
104 <input type=
"button" class=
"cmdbutton" id=
"sp_pbomb" name=
"sp_pbomb" value=
"X 按钮" onclick=
"$('command').value='special';$('subcmd').name='sp_cmd';$('subcmd').value='sp_pbomb';postCmd('gamecmd','command.php');this.disabled=true;">
【生存者数:<?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)