From c2d7e4440072c773662115a55aaa7a94631b5617 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 2 Apr 2018 02:42:38 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=EB=B3=B8=20=EB=B0=B0=EA=B2=BD=20:=20?= =?UTF-8?q?=EA=B2=80=EC=A0=95,=20=EA=B8=B0=EB=B3=B8=20=ED=8F=B0=ED=8A=B8?= =?UTF-8?q?=EC=83=89=20:=20=ED=9D=B0=EC=83=89=20=EC=84=A4=EC=A0=95.=20isCl?= =?UTF-8?q?ose=20=ED=95=A8=EC=88=98=20=EC=B0=B8=EC=A1=B0=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_currentCity.php | 2 +- hwe/css/common.css | 5 ++++- hwe/css/main.css | 5 ++++- hwe/func.php | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/hwe/b_currentCity.php b/hwe/b_currentCity.php index 2a1d29c4..8933bb63 100644 --- a/hwe/b_currentCity.php +++ b/hwe/b_currentCity.php @@ -23,7 +23,7 @@ $myNation = MYDB_fetch_array($result); 도시정보 - + diff --git a/hwe/css/common.css b/hwe/css/common.css index ee316b7f..f17bf806 100644 --- a/hwe/css/common.css +++ b/hwe/css/common.css @@ -1,6 +1,9 @@ @charset "UTF-8"; - +html, body{ + background-color:black; + color:white; +} table { font-family:'맑은 고딕'; line-height:110%; } font { font-family:'맑은 고딕'; line-height:110%; } diff --git a/hwe/css/main.css b/hwe/css/main.css index b51d58ed..07cdf780 100644 --- a/hwe/css/main.css +++ b/hwe/css/main.css @@ -1,7 +1,10 @@ @charset "UTF-8"; body { -color:white; background-color:black; border-width:1px; border-color:gray; background-image:url('/images/back.jpg'); background-position:center; background-repeat:repeat-y; +color:white; + background-color:black; + border-width:1px; + border-color:gray; background-image:url('/images/back.jpg'); background-position:center; background-repeat:repeat-y; } #container { diff --git a/hwe/func.php b/hwe/func.php index 962a0925..435f5af0 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -2599,7 +2599,9 @@ function isClose($connect, $nation1, $nation2) { for($i=0; $i < $citycount; $i++) { $city = MYDB_fetch_array($result); - + if(!key_exists($city['city'], $barrier)){ + continue; + } if($barrier[$city['city']] == 1) { $isClose = 1; }