기본 배경 : 검정, 기본 폰트색 : 흰색 설정.
isClose 함수 참조 문제 해결
This commit is contained in:
@@ -23,7 +23,7 @@ $myNation = MYDB_fetch_array($result);
|
|||||||
<head>
|
<head>
|
||||||
<title>도시정보</title>
|
<title>도시정보</title>
|
||||||
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
|
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
|
||||||
<link rel=stylesheet href=css/common.css type=text/css>
|
<link rel='stylesheet' href='css/common.css' type='text/css'>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -1,6 +1,9 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
html, body{
|
||||||
|
background-color:black;
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
table { font-family:'맑은 고딕'; line-height:110%; }
|
table { font-family:'맑은 고딕'; line-height:110%; }
|
||||||
font { font-family:'맑은 고딕'; line-height:110%; }
|
font { font-family:'맑은 고딕'; line-height:110%; }
|
||||||
|
|||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
body {
|
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 {
|
#container {
|
||||||
|
|||||||
+3
-1
@@ -2599,7 +2599,9 @@ function isClose($connect, $nation1, $nation2) {
|
|||||||
|
|
||||||
for($i=0; $i < $citycount; $i++) {
|
for($i=0; $i < $citycount; $i++) {
|
||||||
$city = MYDB_fetch_array($result);
|
$city = MYDB_fetch_array($result);
|
||||||
|
if(!key_exists($city['city'], $barrier)){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if($barrier[$city['city']] == 1) {
|
if($barrier[$city['city']] == 1) {
|
||||||
$isClose = 1;
|
$isClose = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user