PHAN 설정. sizeof 대신 count 사용
This commit is contained in:
+2
-1
@@ -39,7 +39,8 @@ return [
|
||||
'hwe/func_time_event.php',
|
||||
'hwe/func_tournament.php',
|
||||
'hwe/process_war.php',
|
||||
'hwe/func.php'
|
||||
'hwe/func.php',
|
||||
'vendor/sergeytsalkov/meekrodb/db.class.php'
|
||||
],
|
||||
|
||||
// A list of directories that should be parsed for class and
|
||||
|
||||
+33
-33
@@ -66,12 +66,12 @@ switch($btn) {
|
||||
case "특기 부여":
|
||||
$admin = DB::db()->queryFirstRow('select `year`, `month` from `game` where `no`=1');
|
||||
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = "특기 부여!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "select no,leader,power,intel from general where no='$genlist[$i]'";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$general = MYDB_fetch_array($result);
|
||||
@@ -87,90 +87,90 @@ switch($btn) {
|
||||
}
|
||||
break;
|
||||
case "경험치1000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = $btn." 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set experience=experience+1000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "공헌치1000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = $btn." 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set dedication=dedication+1000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "보숙10000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = "보병숙련도+10000 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set dex0=dex0+10000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "궁숙10000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = "궁병숙련도+10000 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set dex10=dex10+10000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "기숙10000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = "기병숙련도+10000 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set dex20=dex20+10000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "귀숙10000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = "귀병숙련도+10000 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set dex30=dex30+10000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "차숙10000":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
$msg = "차병숙련도+10000 지급!";
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set dex40=dex40+10000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "접속 허용":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set con=0 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "접속 제한":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set con=1000 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
@@ -178,20 +178,20 @@ switch($btn) {
|
||||
case "메세지 전달":
|
||||
//TODO:새 갠메 시스템으로 변경
|
||||
$date = date('Y-m-d H:i:s');
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
break;
|
||||
case "무기지급":
|
||||
$date = date('Y-m-d H:i:s');
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
if($weap == 0) { $msg = "무기 회수!"; }
|
||||
else { $msg = getWeapName($weap)." 지급!"; }
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
if($weap == 0) {
|
||||
$query = "update general set weap='0' where no='$genlist[$i]'";
|
||||
} else {
|
||||
@@ -202,14 +202,14 @@ switch($btn) {
|
||||
break;
|
||||
case "책지급":
|
||||
$date = date('Y-m-d H:i:s');
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
if($weap == 0) { $msg = "서적 회수!"; }
|
||||
else { $msg = getBookName($weap)." 지급!"; }
|
||||
// 상대에게 발송
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
if($weap == 0) {
|
||||
$query = "update general set book='0' where no='$genlist[$i]'";
|
||||
} else {
|
||||
@@ -220,14 +220,14 @@ switch($btn) {
|
||||
break;
|
||||
case "말지급":
|
||||
$date = date('Y-m-d H:i:s');
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
if($weap == 0) { $msg = "말 회수!"; }
|
||||
else { $msg = getHorseName($weap)." 지급!"; }
|
||||
// 상대에게 발송
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
if($weap == 0) {
|
||||
$query = "update general set horse='0' where no='$genlist[$i]'";
|
||||
} else {
|
||||
@@ -238,14 +238,14 @@ switch($btn) {
|
||||
break;
|
||||
case "도구지급":
|
||||
$date = date('Y-m-d H:i:s');
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$you = DB::db()->queryFirstRow('select `no`, `nation` from `general` where `no` = %i', $genlist[$i]);
|
||||
if($weap == 0) { $msg = "특수도구 회수!"; }
|
||||
else { $msg = getItemName($weap)." 지급!"; }
|
||||
// 상대에게 발송
|
||||
sendMessage('private', ['id'=>$generalID, 'nation_id'=>0], ['id'=>$you['no'], 'nation_id'=>$you['nation']], $msg);
|
||||
}
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
if($weap == 0) {
|
||||
$query = "update general set item='0' where no='$genlist[$i]'";
|
||||
} else {
|
||||
@@ -255,25 +255,25 @@ switch($btn) {
|
||||
}
|
||||
break;
|
||||
case "NPC해제":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set npc=1 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "하야입력":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set turn0='00000000000045' where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "방랑해산":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set turn0='00000000000047',turn1='00000000000056' where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
break;
|
||||
case "NPC설정":
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$query = "update general set npc=2 where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
@@ -283,7 +283,7 @@ switch($btn) {
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$turntime = getRandTurn($admin['turnterm']);
|
||||
$cutTurn = cutTurn($turntime, $admin['turnterm']);
|
||||
$query = "update general set turntime='$cutTurn' where no='$genlist[$i]'";
|
||||
@@ -295,7 +295,7 @@ switch($btn) {
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
$turntime = getRandTurn($admin['turnterm']);
|
||||
$query = "update general set turntime='$turntime' where no='$genlist[$i]'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
|
||||
@@ -53,7 +53,7 @@ switch($btn) {
|
||||
//TODO:새 갠메 시스템으로 변경
|
||||
$date = date('Y-m-d H:i:s');
|
||||
$msg;
|
||||
for($i=0; $i < sizeof($genlist); $i++) {
|
||||
for($i=0; $i < count($genlist); $i++) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@ if($command == 46) {
|
||||
'makenation'=>$name
|
||||
], 'owner=%i', $userID);
|
||||
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$query = ['con'=>$db->eval('con')];
|
||||
foreach($turn as $turnIdx){
|
||||
$query['turn'.$turnIdx] = $comStr;
|
||||
@@ -63,7 +63,7 @@ if($command == 46) {
|
||||
$query = "update general set makenation='{$nationname}' where level>=5 and nation='{$me['nation']}'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$str = "type=type";
|
||||
for($i=0; $i < $count; $i++) {
|
||||
$str .= ",l{$me['level']}turn{$turn[$i]}='{$comStr}'";
|
||||
@@ -89,7 +89,7 @@ if($command == 46) {
|
||||
$query = "update diplomacy set reserved='{$note}' where me='{$me['nation']}' and you='$double'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$str = "type=type";
|
||||
for($i=0; $i < $count; $i++) {
|
||||
$str .= ",l{$me['level']}turn{$turn[$i]}='{$comStr}'";
|
||||
@@ -111,7 +111,7 @@ if($command == 46) {
|
||||
if(($command == 23 || $command == 24 || $command == 27) && $me['no'] == $third) {
|
||||
// 자기자신에게 악용 금지
|
||||
} elseif($me['level'] >= 5) {
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$str = "type=type";
|
||||
for($i=0; $i < $count; $i++) {
|
||||
$str .= ",l{$me['level']}turn{$turn[$i]}='{$comStr}'";
|
||||
@@ -122,7 +122,7 @@ if($command == 46) {
|
||||
//echo "<script>location.replace('b_chiefcenter.php');</script>";
|
||||
echo 'b_chiefcenter.php';//TODO:debug all and replace
|
||||
} else {
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$str = "con=con";
|
||||
for($i=0; $i < $count; $i++) {
|
||||
$str .= ",turn{$turn[$i]}='{$comStr}'";
|
||||
|
||||
@@ -687,7 +687,7 @@ function command_Single($turn, $command) {
|
||||
|
||||
$command = EncodeCommand(0, 0, 0, $command);
|
||||
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$str = "con=con";
|
||||
for($i=0; $i < $count; $i++) {
|
||||
$str .= ",turn{$turn[$i]}='{$command}'";
|
||||
@@ -711,7 +711,7 @@ function command_Chief($turn, $command) {
|
||||
$me = MYDB_fetch_array($result);
|
||||
|
||||
if($me['level'] >= 5) {
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
$str = "type=type";
|
||||
for($i=0; $i < $count; $i++) {
|
||||
$str .= ",l{$me['level']}turn{$turn[$i]}='{$command}'";
|
||||
@@ -728,7 +728,7 @@ function command_Other($turn, $commandtype) {
|
||||
$connect=$db->get();
|
||||
|
||||
echo "<form name=form1 action=processing.php method=post target=_parent>";
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
for($i=0; $i < $count; $i++) {
|
||||
echo "<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
|
||||
@@ -148,8 +148,14 @@ function sendRawMessage($msgType, $isSender, $mailbox, $src, $dest, $msg, $date,
|
||||
], Json::DELETE_NULL)
|
||||
]);
|
||||
}
|
||||
|
||||
function sendMessage($msgType, $src, $dest, $msg, $date = null, $validUntil = null, $msgOption = null){
|
||||
/**
|
||||
* @param string $msgType
|
||||
* @param mixed[] $src
|
||||
* @param mixed[] $dest
|
||||
* @param null|string $date
|
||||
* @param null|string $validUntil
|
||||
*/
|
||||
function sendMessage($msgType, array $src, array $dest, $msg, $date = null, $validUntil = null, $msgOption = null){
|
||||
if($date === null){
|
||||
$date = (new \Datetime())->format('Y-m-d H:i:s');
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ if($con >= 2) {
|
||||
exit();
|
||||
}
|
||||
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
for($i=0; $i < $count; $i++) {
|
||||
if($turn[$i] == 100 || $turn[$i] == 99 || $turn[$i] == 98) {
|
||||
} elseif($turn[$i] >= 0 && $turn[$i] <= 23) {
|
||||
|
||||
+43
-43
@@ -9,7 +9,7 @@ $session = Session::requireGameLogin()->setReadOnly();
|
||||
$db = DB::db();
|
||||
$connect=$db->get();
|
||||
|
||||
$count = sizeof($turn);
|
||||
$count = count($turn);
|
||||
for($i=0; $i < $count; $i++) {
|
||||
if($turn[$i] == 100 || $turn[$i] == 99 || $turn[$i] == 98) {
|
||||
} elseif($turn[$i] >= 0 || $turn[$i] <= 23) {
|
||||
@@ -184,7 +184,7 @@ function command_99($turn) {
|
||||
if($me['level'] >= 5) {
|
||||
$command = EncodeCommand(0, 0, 0, 99);
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
$query = "update nation set l{$me['level']}turn{$turn[$i]}='{$command}' where nation='{$me['nation']}'";
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
@@ -426,7 +426,7 @@ function calc(cost, formnum) {
|
||||
<input type=hidden name=third value={$i}>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($j=0; $j < sizeof($turn); $j++) {
|
||||
for($j=0; $j < count($turn); $j++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$j]>";
|
||||
}
|
||||
@@ -637,7 +637,7 @@ function calc(cost, formnum) {
|
||||
<input type=hidden name=third value={$i}>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($j=0; $j < sizeof($turn); $j++) {
|
||||
for($j=0; $j < count($turn); $j++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$j]>";
|
||||
}
|
||||
@@ -687,7 +687,7 @@ function command_15($turn, $command) {
|
||||
<input type=text name=double size=3 maxlength=3 style=text-align:right;color:white;background-color:black>00명
|
||||
<input type=submit value=재편성>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -728,7 +728,7 @@ function command_16($turn, $command) {
|
||||
<input type=submit value=출병>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -771,7 +771,7 @@ function command_21($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=이동>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -839,7 +839,7 @@ function command_22($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=등용>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -912,7 +912,7 @@ function command_23($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=포상>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -987,7 +987,7 @@ function command_24($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=몰수>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1064,7 +1064,7 @@ function command_25($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=임관>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1127,7 +1127,7 @@ function command_27($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=발령>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1168,7 +1168,7 @@ function command_30($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=강행>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1211,7 +1211,7 @@ function command_31($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=첩보>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1257,7 +1257,7 @@ function command_32($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=화계>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1299,7 +1299,7 @@ function command_33($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=탈취>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1341,7 +1341,7 @@ function command_34($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=파괴>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1383,7 +1383,7 @@ function command_35($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=선동>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1425,7 +1425,7 @@ function command_36($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=기습>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1502,7 +1502,7 @@ function command_43($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=증여>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1550,7 +1550,7 @@ function command_44($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=헌납>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1645,7 +1645,7 @@ function command_46($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=건국>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1716,7 +1716,7 @@ function command_48($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=거래>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1764,7 +1764,7 @@ function command_49($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=거래>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1816,7 +1816,7 @@ function command_51($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=항복권고>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1898,7 +1898,7 @@ function command_52($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=원조>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -1962,7 +1962,7 @@ function command_53($turn, $command) {
|
||||
통합국명 : <input type=text name=nationname size=12 maxlength=6 style=text-align:right;color:white;background-color:black>
|
||||
<input type=submit value=통합제의>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2013,7 +2013,7 @@ function command_54($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=선양>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2098,7 +2098,7 @@ function command_61($turn, $command) {
|
||||
비고 : <input type=text name=note size=45 maxlength=45 style=text-align:left;color:white;background-color:black>
|
||||
<input type=submit value=불가침>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2165,7 +2165,7 @@ function command_62($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=선전포고>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2224,7 +2224,7 @@ function command_63($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=종전제의>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2283,7 +2283,7 @@ function command_64($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=파기제의>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2322,7 +2322,7 @@ echo "<br>
|
||||
<input type=submit value=초토화>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2363,7 +2363,7 @@ echo "<br>
|
||||
<input type=submit value=천도>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2404,7 +2404,7 @@ echo "<br>
|
||||
<input type=submit value=증축>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2445,7 +2445,7 @@ echo "<br>
|
||||
<input type=submit value=감축>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2486,7 +2486,7 @@ echo "<br>
|
||||
<input type=submit value=백성동원>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2527,7 +2527,7 @@ echo "<br>
|
||||
<input type=submit value=수몰>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2568,7 +2568,7 @@ echo "<br>
|
||||
<input type=submit value=허보>
|
||||
<input type=hidden name=command value=$command>";
|
||||
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2629,7 +2629,7 @@ function command_75($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=피장파장>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2689,7 +2689,7 @@ function command_77($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=이호경식>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2749,7 +2749,7 @@ function command_78($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=급습>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
@@ -2807,7 +2807,7 @@ function command_81($turn, $command) {
|
||||
</select>
|
||||
<input type=submit value=국기변경>
|
||||
<input type=hidden name=command value=$command>";
|
||||
for($i=0; $i < sizeof($turn); $i++) {
|
||||
for($i=0; $i < count($turn); $i++) {
|
||||
echo "
|
||||
<input type=hidden name=turn[] value=$turn[$i]>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user