All Data Structures Namespaces Files Functions Variables Pages
gamemng.php
Go to the documentation of this file.
<?php
if(!defined('IN_ADMIN')) {
exit('Access Denied');
}
$gamemng_cmd_list = Array(
'pcmng' => 5,
'npcmng' => 5,
'shopmng' => 0,
'mapmng' => 0,
'mapitemmng' => 0,
'chatmng' => 0,
'newsmng' => 0,
'wthmng' => 4,
'gameinfomng' => 5,
'antiAFKmng' => 0,
'sttimemng' => 3,
);
if($command == 'gamemng'){$command = 'menu';}
if(in_array($command,$gamemng_cmd_list) && $gamemng_cmd_list[$command] > 0 && $mygroup >= $gamemng_cmd_list[$command]){
if($command == 'pcmng') {
include_once GAME_ROOT.'./include/admin/pcmng.php';
} elseif($command == 'npcmng') {
include_once GAME_ROOT.'./include/admin/npcmng.php';
} elseif($command == 'shopmng') {
} elseif($command == 'mapmng') {
} elseif($command == 'mapitemmng') {
include_once GAME_ROOT.'./include/admin/mapitemmng.php';
} elseif($command == 'chatmng') {
} elseif($command == 'newsmng') {
} elseif($command == 'wthmng') {
include_once GAME_ROOT.'./include/admin/wthmng.php';
} elseif($command == 'gameinfomng') {
include_once GAME_ROOT.'./include/admin/gameinfomng.php';
} elseif($command == 'infomng') {
include_once GAME_ROOT.'./include/admin/infomng.php';
} elseif($command == 'antiAFKmng') {
include_once GAME_ROOT.'./include/admin/antiAFKmng.php';
} elseif($command == 'sttimemng') {
include_once GAME_ROOT.'./include/admin/sttimemng.php';
}
}elseif($mygroup < $gamemng_cmd_list[$command]){
$cmd_info = $_ERROR['no_power'];
}
include template('admin_gamemng_menu');
?>
$cmd_info
while($gm=$db->fetch_array($result)) $cmd_info
Definition: gmlist.php:10
GAME_ROOT
const GAME_ROOT
Definition: clear.php:6
$_ERROR
$_ERROR
Definition: resources_1.php:1044
$gamemng_cmd_list
if(!defined('IN_ADMIN')) $gamemng_cmd_list
Definition: gamemng.php:5
elseif
if($command== 'gamemng') if(in_array($command, $gamemng_cmd_list)&&$gamemng_cmd_list[$command] > 0 &&$mygroup >=$gamemng_cmd_list[$command]) elseif($mygroup< $gamemng_cmd_list[$command])
Definition: gamemng.php:41