From b281362c98c2364bca37d1128fa5efaf668ad831 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 7 Oct 2019 02:06:02 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=20=EC=BD=94=EB=93=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/commandlist.php | 131 -------------------------------------------- 1 file changed, 131 deletions(-) delete mode 100644 hwe/commandlist.php diff --git a/hwe/commandlist.php b/hwe/commandlist.php deleted file mode 100644 index 1e7f0779..00000000 --- a/hwe/commandlist.php +++ /dev/null @@ -1,131 +0,0 @@ -setReadOnly(); - -$db = DB::db(); - -?> - - - -커맨드리스트 - - - - - - - - - - - - - -getValues(['year','month','turnterm','turntime','opentime']); - - $me = $db->queryFirstRow("SELECT `no`,name,city,nation,level,turntime,last_turn FROM general WHERE `owner`=%s", $userID); - if(!$me){ - echo "로그인 되어있지 않습니다."; - return; - } - $generalObj = new General($me, null, null, null, false); - $turnList = $db->query('SELECT turn_idx, action, arg FROM general_turn WHERE general_id = %i ORDER BY turn_idx ASC', $generalObj->getID()); - $turnBrief = getGeneralTurnBrief($generalObj, $turnList); - - echo " - - - - "; - - $year = $admin['year']; - $month = $admin['month']; - $date = TimeUtil::now(true); - // 실행된 턴시간이면 +1 - $cutTurn = cutTurn($me['turntime'], $admin['turnterm']); - if($date <= $cutTurn && $date >= $admin['opentime']) { $month++; } - - $totaldate = $me['turntime']; - - foreach($turnBrief as $rawTurnIdx => $turn) { - if($month == 13) { - $month = 1; - $year++; - } - $turnIdx = $rawTurnIdx + 1; - $turndate = substr($totaldate,11, 5); - echo " - - - - - - "; - $month++; - $totaldate = addTurn($totaldate, $admin['turnterm']); - } - - echo " - -
- 명령 목록 -
$turnIdx{$year}年 {$month}月$turndate{$turn}
-"; -} -?> - - -