diff --git a/hwe/b_currentCity.php b/hwe/b_currentCity.php index 0a7a4d93..12cc78b8 100644 --- a/hwe/b_currentCity.php +++ b/hwe/b_currentCity.php @@ -13,9 +13,11 @@ $userID = Session::getUserID(); $userGrade = Session::getUserGrade(); $db = DB::db(); - +$gameStor = KVStorage::getStorage($db, 'game_env'); increaseRefresh("현재도시", 1); +$lastExecute = substr($gameStor->turntime, 5, 14); + $me = $db->queryFirstRow('SELECT no,nation,officer_level,city from general where owner=%i', $userID); $myNation = $db->queryFirstRow('SELECT nation,level,spy FROM nation WHERE nation=%i', $me['nation']) ?? [ 'nation' => 0, @@ -446,7 +448,7 @@ $templates = new \League\Plates\Engine('templates');
| ; background:= $cityNation['color'] ?>'>【 = CityConst::$regionMap[$city['region']] ?> | = CityConst::$levelMap[$city['level']] ?> 】 = $city['name'] ?> | -; background:= $cityNation['color'] ?>' class='center'>= date('m-d H:i:s') ?> | +; background:= $cityNation['color'] ?>' class='center'>= $lastExecute ?> | ||||||||||
| 주민 | ||||||||||||