[php5_debug] 사소한 오류들 수정

This commit is contained in:
2018-01-17 23:17:03 +09:00
parent d99707c3d7
commit fb84886f94
4 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -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 "
&nbsp;&nbsp;$k : $turn[$i]<br>";
+1 -1
View File
@@ -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"];
+3 -1
View File
@@ -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
View File
@@ -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>