From 5e1f7ea57162f0df2b254c521a5c16817c8e05be Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 8 Mar 2020 09:57:32 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_myKingdomInfo.php | 7 +++---- hwe/func_auction.php | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hwe/b_myKingdomInfo.php b/hwe/b_myKingdomInfo.php index bbfff70a..536dc0c5 100644 --- a/hwe/b_myKingdomInfo.php +++ b/hwe/b_myKingdomInfo.php @@ -43,7 +43,7 @@ if($nationID == 0) {
queryFirstRow('SELECT nation,gennum,power,rate,bill,type,gold,rice,color,name,level,tech,history,capital FROM nation WHERE natoin=%i', $nationID); //국가정보 +$nation = $db->queryFirstRow('SELECT nation,gennum,power,rate,bill,type,gold,rice,color,name,level,tech,history,capital FROM nation WHERE nation=%i', $nationID); //국가정보 $cityList = $db->query('SELECT * FROM city WHERE nation=%i', $nationID); $currPop = 0; @@ -91,10 +91,9 @@ if ($budgetricediff > 0) { } ?> -echo " - + @@ -117,7 +116,7 @@ echo " - + diff --git a/hwe/func_auction.php b/hwe/func_auction.php index 7812acae..59b636a2 100644 --- a/hwe/func_auction.php +++ b/hwe/func_auction.php @@ -60,7 +60,7 @@ function registerAuction() { $term = 3 + rand() % 10; $date = date("Y-m-d H:i:s", strtotime(date("Y-m-d H:i:s")) + $unit * $term); - $query = "insert into auction (type, no1, name1, amount, cost, value, topv, expire) values (1, '0', 'ⓝ상인', '0', '$cost', '$cost', '$topv', '$date')"; + $query = "insert into auction (type, no1, name1, amount, cost, value, topv, expire) values (1, '0', 'ⓝ상인', '$amount', '$cost', '$cost', '$topv', '$date')"; MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); } }
; bgcolor='>【;background-color:'>【
총주민세금/단기 + / + 세곡/둔전+ / ++ / + 지급률 %