loginGame()->setReadOnly(); $userID = Session::getUserID(); increaseRefresh("메인", 1); $db = DB::db(); $connect=$db->get(); if (!$userID) { header('Location:..'); die(); } $me = $db->queryFirstRow( 'SELECT no,con,turntime,newmsg,newvote,map from general where owner = %i', $userID ); //턴 실행. checkTurn(); //그새 사망이면 if ($me === null) { $session->logoutGame(); header('Location: ../'); die(); } if ($me['newmsg'] == 1 || $me['newvote'] == 1) { $db->update('general', [ 'newmsg'=>0, 'newvote'=>0 ], 'owner=%i', $userID); } $query = "select develcost,online,conlimit,tournament,tnmt_type,turnterm,scenario,scenario_text,extended_general,fiction,npcmode,vote from game limit 1"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), ""); $admin = MYDB_fetch_array($result); $query = "select plock from plock limit 1"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), ""); $plock = MYDB_fetch_array($result); $con = checkLimit($me['con'], $admin['conlimit']); if ($con >= 2) { printLimitMsg($me['turntime']); exit(); } $scenario = $admin['scenario_text']; ?> 메인
"; } ?> "; ?> userGrade >= 5) { echo " "; } else if($session->userGrade == 4){ echo " "; } ?>
삼국지 모의전투 HiDCHe ()
{$scenario} NPC수 : {$extend} NPC상성 : {$fiction} NPC선택 : {$npcmode}
전체 접속자 수 : 턴당 갱신횟수 :
서버 가동중"; } else { echo "서버 동결중"; } echo " "; switch ($admin['tnmt_type']) { case 0: $str = "전력전"; break; case 1: $str = "통솔전"; break; case 2: $str = "일기토"; break; case 3: $str = "설전"; break; } $str2 = getTournament($admin['tournament']); $str3 = getTournamentTime(); if ($admin['tournament'] == 0) { echo "현재 토너먼트 경기 없음"; } else { echo "{$str} {$str2} {$str3}↑"; } echo " "; $query = "select no from auction"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), ""); $auctionCount = MYDB_num_rows($result); if ($auctionCount > 0) { echo "{$auctionCount}건 거래 진행중"; } else { echo "진행중 거래 없음"; } echo " "; $vote = explode("|", $admin['vote']); $vote[0] = Tag2Code($vote[0]); if ($vote[0] == "") { echo "진행중 설문 없음"; } else { echo "설문 진행중 : $vote[0]"; } echo "
접속중인 국가:
【 국가방침 】
【 접속자 】
Ctrl, Shift, 드래그로 복수선택 가능     반복&수정 ;color:white;width:50px;font-size:13px; value='반복' onclick='refreshing(this, 2,0)'>;color:white;width:80px;font-size:13px; value='▼미루기' onclick='refreshing(this, 2,1)'>;color:white;width:80px;font-size:13px; value='▲당기기' onclick='refreshing(this, 2,2)'>
;color:white;width:110px;font-size:13px; value='실 행' onclick='refreshing(this, 3,form2)'>;color:white;width:110px;font-size:13px; value='갱 신' onclick='refreshing(this, 0,0)'>;color:white;width:160px;font-size:13px; value='로비로' onclick=location.replace('../')>
장수 동향 개인 기록
중원 정세

내용 없이 '서신전달&갱신'을 누르면 메세지창이 갱신됩니다.
전체 메시지(최고99자)
개인 메시지(최고99자)
국가 메시지(최고99자)