2 if(!defined(
'IN_ADMIN')) {
9 if($command ==
'wthedit'){
10 $iweather = (int)$_POST[
'iweather'];
12 $cmd_info =
'当前天气已经为'.$wthinfo[$iweather].
',无需修改天气!';
16 $cmd_info =
'当前天气修改为:'.$wthinfo[$iweather];
22 }
elseif($command ==
'hackedit'){
23 $ihack = $_POST[
'ihack'] != 0 ? 1 : 0;
27 $cmd_info =
'当前禁区状态修改为:'.($ihack ?
'解除' :
'未解除');
32 include_once
GAME_ROOT.
'./include/system.func.php';
35 }
elseif(strpos($command,
'gsedit')===0){
36 $igamestate = explode(
'_',$command);
37 $igamestate = $igamestate[1];
39 if(!isset(
$gstate[$igamestate])){
50 $cmd_info =
'当前游戏状态修改为:'.$gstate[$igamestate];
55 }
elseif($igamestate == 20){
61 }
elseif($igamestate == 10){
62 $cmd_info =
'游戏立即进入准备状态!请访问任意游戏页面以刷新游戏状态。';
68 include_once
GAME_ROOT.
'./include/system.func.php';
73 }
elseif($command ==
'sttimeedit'){
77 $settime = mktime((
int)$_POST[
'sethour'],(
int)$_POST[
'setmin'],0,(
int)$_POST[
'setmonth'],(
int)$_POST[
'setday'],(
int)$_POST[
'setyear']);
86 }
elseif($command ==
'areaadd'){
95 $cmd_info =
'下一次禁区时间提前到来。请访问任意游戏页面以刷新游戏状态。';
127 $nextarealiststr .=
$plsinfo[$val].
'<br>';
130 $nextarealiststr .=
$plsinfo[$val].
' ';
137 include
template(
'admin_gameinfomng');
while($gm=$db->fetch_array($result)) $cmd_info
gameover($time=0, $mode= '', $winname= '')
addnews($t=0, $n= '', $a='', $b='', $c= '', $d= '', $e= '')
【生存者数:<?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)
adminlog($op, $an1='', $an2='', $an3='')