From 8fe3d0258a8a254519d81a49c56919ecb3330547 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 21 Apr 2018 07:57:26 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B1=B4=EA=B5=AD=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EC=95=98=EC=9D=84=20=EB=95=8C=20=EB=B2=84=ED=8A=BC=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_template.php | 3 ++- hwe/templates/commandButton.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hwe/func_template.php b/hwe/func_template.php index e712dfa7..c313a3a0 100644 --- a/hwe/func_template.php +++ b/hwe/func_template.php @@ -101,7 +101,7 @@ function commandButton() { $db = DB::db(); $me = $db->queryFirstRow("select no,nation,level,belong from general where owner=%i", $userID); - $nation = $db->queryFirstRow("select nation,color,secretlimit from nation where nation=%i",$me['nation']); + $nation = $db->queryFirstRow("select nation,level,color,secretlimit from nation where nation=%i",$me['nation']); if($nation['color'] == "") { $nation['color'] = "#000000"; } @@ -125,6 +125,7 @@ function commandButton() { 'bgColor'=>$bgColor, 'fgColor'=>$fgColor, 'meLevel'=>$me['level'], + 'nationLevel'=>$nation['level'], 'showSecret'=>$showSecret ]); } diff --git a/hwe/templates/commandButton.php b/hwe/templates/commandButton.php index 9a0c1585..583aa89c 100644 --- a/hwe/templates/commandButton.php +++ b/hwe/templates/commandButton.php @@ -2,8 +2,8 @@
- - + +