";
}
function CoreTurnTable() {
return "
";
}
function allButton() {
global $_basecolor2;
$npcmode = getDB()->queryFirstField("select npcmode from game where no='1'");
if($npcmode == 1) {
$site = "a_npcList.php";
$call = "빙의일람";
} else {
$site = "a_vote.php";
$call = "설문조사";
}
$templates = new League\Plates\Engine('templates');
return $templates->render('allButton', [
'call' => $call,
'site' => $site
]);
}
function commandButton() {
global $_basecolor, $_basecolor2;
$generalID = getGeneralID();
if($generalID === NULL){
return '';
}
$db = getDB();
$me = $db->queryFirstRow("select skin,no,nation,level,belong from general where user_id=%i", $generalID);
$nation = $db->queryFirstRow("select nation,color,secretlimit from nation where nation=%i",$me['nation']);
if($nation['color'] == "") { $nation['color'] = "000000"; }
$result = '';
$result .= "
";
$result .= "
";
return $result;
}
function getMapHtml(){
//NOTE: 필요한가?
$templates = new League\Plates\Engine('templates');
return $templates->render('map');
}