setReadOnly(); if ($session->userGrade < 5) { die(requireAdminPermissionHTML()); } $db = DB::db(); $gameStor = KVStorage::getStorage($db, 'game_env'); $conlimit = $gameStor->conlimit; $ipGroupList = Util::arrayGroupBy( $db->query( 'SELECT name,ip,lastconnect,owner,block,substring_index(ip,".",3) as ip_c from general WHERE ip!="" and npc<2' ), 'ip_c' ); function colorBlockedName($general){ if(!$general['blocked']){ return $general['name']; } return "{$general['name']}"; } ?> 멀티관리
멀 티 관 리
회원선택

NPC
NPC유저
접속제한
블럭회원
"; foreach ($db->query('SELECT no,name,npc,block,con from general where ip!=\'\' order by npc,ip') as $general) { $style = "style=;"; if ($general['block'] > 0) { $style .= "background-color:red;"; } if ($general['npc'] >= 2) { $style .= "color:cyan;"; } elseif ($general['npc'] == 1) { $style .= "color:skyblue;"; } if ($general['con'] > $conlimit) { $style .= "color:red;"; } echo " "; } echo " "; ?> 블럭
1단계:발언권, 2단계:턴블럭
강제 사망
메세지 전달
$users): ?>
장수명 최근로그인 IP ID
',array_map('\sammo\colorBlockedName', $users))?> ',array_column($users, 'lastconnect'))?> ',array_column($users, 'ip'))?> ',array_column($users, 'owner'))?>