- v_front.php - API 추가 - General/GetFrontInfo - Global/GetGlobalMenu - DTO 추가 - MenuItem, MenuMulti, MenuSplit - 글로벌 메뉴 출력 방식 변경 - d_setting/GlobalMenu.php Reviewed-on: https://storage.hided.net/gitea/devsam/core/pulls/229
44 lines
1.2 KiB
PHP
44 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace sammo;
|
|
|
|
include "lib.php";
|
|
include "func.php";
|
|
DummySession::getInstance();
|
|
|
|
$mapName = GameConst::$mapName;
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=500" />
|
|
<title><?= UniqueConst::$serverName ?>: 메인</title>
|
|
<?= WebUtil::printStaticValues([
|
|
'staticValues' => [
|
|
'serverName' => UniqueConst::$serverName,
|
|
'serverNick' => DB::prefix(),
|
|
'serverID' => UniqueConst::$serverID,
|
|
'mapName' => GameConst::$mapName,
|
|
'unitSet' => GameConst::$unitSet,
|
|
|
|
'maxTurn' => GameConst::$maxTurn,
|
|
'maxPushTurn' => 12,
|
|
'serverNow' => TimeUtil::now(false),
|
|
]
|
|
], false) ?>
|
|
<?= WebUtil::printJS('../d_shared/common_path.js') ?>
|
|
<?= WebUtil::printJS("js/map/theme_{$mapName}.js") ?>
|
|
<?= WebUtil::printCSS('../d_shared/common.css') ?>
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css" />
|
|
<?= WebUtil::printDist('vue', 'v_front', true) ?>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
|
|
</html>
|