extractMissingPostToGlobals 호환을 위해 server_id 인자명 변경
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ if ($select == 0) {
|
|||||||
<input type=hidden name=select value='<?=$emperior['no']?>'>
|
<input type=hidden name=select value='<?=$emperior['no']?>'>
|
||||||
|
|
||||||
<?php if($emperior['server_id']): ?>
|
<?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 ?>
|
<?php endif ?>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ include "lib.php";
|
|||||||
include "func.php";
|
include "func.php";
|
||||||
$btn = Util::getReq('btn');
|
$btn = Util::getReq('btn');
|
||||||
$yearmonth = Util::getReq('yearmonth', 'int');
|
$yearmonth = Util::getReq('yearmonth', 'int');
|
||||||
$serverID = Util::getReq('server_id', 'string', null);
|
$serverID = Util::getReq('serverID', 'string', null);
|
||||||
|
|
||||||
extractMissingPostToGlobals();
|
extractMissingPostToGlobals();
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ $history = $db->queryFirstRow('SELECT log,genlog,nation,power,gen,city FROM hist
|
|||||||
</table>
|
</table>
|
||||||
<script>
|
<script>
|
||||||
reloadWorldMap({
|
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,
|
showMe:false,
|
||||||
neutralView:true
|
neutralView:true
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ include "func.php";
|
|||||||
|
|
||||||
$year = Util::getReq('year', 'int');
|
$year = Util::getReq('year', 'int');
|
||||||
$month = Util::getReq('month', 'int');
|
$month = Util::getReq('month', 'int');
|
||||||
$serverID = Util::getReq('server_id', 'string', null);
|
$serverID = Util::getReq('serverID', 'string', null);
|
||||||
|
|
||||||
extractMissingPostToGlobals();
|
extractMissingPostToGlobals();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user