extractMissingPostToGlobals 호환을 위해 server_id 인자명 변경

This commit is contained in:
2018-06-29 16:23:48 +09:00
parent 02fb84a312
commit 93dd7a8478
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ if ($select == 0) {
<input type=hidden name=select value='<?=$emperior['no']?>'>
<?php if($emperior['server_id']): ?>
<a href="a_history.php?server_id=<?=$emperior['server_id']?>"><button type="button">역사 보기</button></a>
<a href="a_history.php?serverID=<?=$emperior['server_id']?>"><button type="button">역사 보기</button></a>
<?php endif ?>
</form>
</td>
+2 -2
View File
@@ -5,7 +5,7 @@ include "lib.php";
include "func.php";
$btn = Util::getReq('btn');
$yearmonth = Util::getReq('yearmonth', 'int');
$serverID = Util::getReq('server_id', 'string', null);
$serverID = Util::getReq('serverID', 'string', null);
extractMissingPostToGlobals();
@@ -159,7 +159,7 @@ $history = $db->queryFirstRow('SELECT log,genlog,nation,power,gen,city FROM hist
</table>
<script>
reloadWorldMap({
targetJson:'j_map_history.php?year=<?=$year?>&month=<?=$month?>&server_id=<?=$serverID?>',
targetJson:'j_map_history.php?year=<?=$year?>&month=<?=$month?>&serverID=<?=$serverID?>',
showMe:false,
neutralView:true
});
+1 -1
View File
@@ -6,7 +6,7 @@ include "func.php";
$year = Util::getReq('year', 'int');
$month = Util::getReq('month', 'int');
$serverID = Util::getReq('server_id', 'string', null);
$serverID = Util::getReq('serverID', 'string', null);
extractMissingPostToGlobals();