로그인 form draw 예시

This commit is contained in:
2020-06-26 23:31:45 +09:00
parent f74a7b31c3
commit cfc897055b
5 changed files with 1219 additions and 1108 deletions
+6 -1
View File
@@ -54,7 +54,7 @@ $defaultPost = [
'showMe' => false,
];
$history = getGlobalHistoryLogRecent(15);
$history = formatHistoryToHTML(getGlobalHistoryLogRecent(10));
$rawMap = getWorldMap([
'year' => null,
'month' => null,
@@ -63,7 +63,12 @@ $rawMap = getWorldMap([
'showMe' => false,
]);
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
$mapTheme = $gameStor->map_theme ?? 'che';
$rawMap['history'] = $history;
$rawMap['theme'] = $mapTheme;
$etag = hash('sha256', $serverID.$now);
$map = [