diff --git a/twe/b_currentCity.php b/twe/b_currentCity.php index adcf8368..97a06673 100644 --- a/twe/b_currentCity.php +++ b/twe/b_currentCity.php @@ -212,7 +212,7 @@ echo " "; -$query = "select npc,mode,no,picture,imgsvr,name,injury,leader,power,intel,level,nation,crewtype,crew,train,atmos,term,turn0,turn1,turn2,turn3,turn4 from general where city='{$city['city']}' order by dedication desc"; // 장수 목록 +$query = "select npc,mode,no,picture,imgsvr,name,injury,leader,power,intel,level,nation,crewtype,crew,train,atmos,term,turn0,turn1,turn2,turn3,turn4,turn5 from general where city='{$city['city']}' order by dedication desc"; // 장수 목록 $genresult = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $gencount = MYDB_num_rows($genresult); @@ -309,7 +309,7 @@ for($j=0; $j < $gencount; $j++) { "; $turn = getTurn($connect, $general, 1); - for($i=0; $i < 5; $i++) { + for($i=0; $i < 4; $i++) { $k = $i+1; echo "   $k : $turn[$i]
"; diff --git a/twe/func.php b/twe/func.php index 642d8ff1..c85bb7ed 100644 --- a/twe/func.php +++ b/twe/func.php @@ -1344,7 +1344,7 @@ function getTurn($connect, $general, $type, $font=1) { $turn[2] = $general["turn2"]; $turn[3] = $general["turn3"]; $turn[4] = $general["turn4"]; - //$turn[5] = $general["turn5"]; + $turn[5] = $general["turn5"]; } if($type >= 2) { $turn[6] = $general["turn6"]; diff --git a/twe/func_process.php b/twe/func_process.php index 1b496b61..1d7ba253 100644 --- a/twe/func_process.php +++ b/twe/func_process.php @@ -1825,6 +1825,8 @@ function process_27($connect, &$general) { function process_28($connect, &$general) { $log = array(); $alllog = array(); + $youlog = array(); + $date = substr($general['turntime'],11,5); $query = "select year,month from game where no='1'"; @@ -1881,7 +1883,7 @@ function process_28($connect, &$general) { } pushGenLog($general, $log); - pushGenLog($you, $youlog); + //pushGenLog($you, $youlog); } function process_29($connect, &$general) { diff --git a/twe/main.php b/twe/main.php index b6b51ec3..9971a2bf 100644 --- a/twe/main.php +++ b/twe/main.php @@ -169,7 +169,7 @@ if($valid == 1) { 서버 가동중"; } -else { echo "서버 동결중{$state}"; } +else { echo "서버 동결중"; } echo "