[php5_debug] 사소한 오류들 수정
This commit is contained in:
@@ -212,7 +212,7 @@ echo "
|
||||
</tr>
|
||||
</table>";
|
||||
|
||||
$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++) {
|
||||
<font size=1>";
|
||||
$turn = getTurn($connect, $general, 1);
|
||||
|
||||
for($i=0; $i < 5; $i++) {
|
||||
for($i=0; $i < 4; $i++) {
|
||||
$k = $i+1;
|
||||
echo "
|
||||
$k : $turn[$i]<br>";
|
||||
|
||||
+1
-1
@@ -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"];
|
||||
|
||||
@@ -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) {
|
||||
|
||||
+1
-1
@@ -169,7 +169,7 @@ if($valid == 1) {
|
||||
<td align=center>
|
||||
<?php
|
||||
if($plock['plock'] == 0) { echo "<marquee scrollamount=2><font color=cyan>서버 가동중</font></marquee>"; }
|
||||
else { echo "<font color=magenta>서버 동결중{$state}</font>"; }
|
||||
else { echo "<font color=magenta>서버 동결중</font>"; }
|
||||
|
||||
echo "
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user