diff --git a/hwe/_admin8.php b/hwe/_admin8.php index 2627df51..ef50ec47 100644 --- a/hwe/_admin8.php +++ b/hwe/_admin8.php @@ -6,7 +6,7 @@ include "func.php"; //로그인 검사 $session = Session::requireGameLogin()->setReadOnly(); -if($session->userGrade < 5) { +if ($session->userGrade < 5) { echo "
@@ -28,11 +28,11 @@ if($session->userGrade < 5) { $db = DB::db(); $connect=$db->get(); -if($btn == '정렬하기') { +if ($btn == '정렬하기') { $gen = 0; } -if($type == 0) { +if ($type == 0) { $type = 0; } $sel[$type] = "selected"; @@ -51,7 +51,7 @@ $sel[$type] = "selected"; @@ -68,31 +68,31 @@ $sel[$type] = "selected"; 교 전"; break; case 1: $state = "선포중"; break; case 2: $state = "통 상"; break; @@ -105,34 +105,36 @@ for($i=0; $i < $dipcount; $i++) { $date = date('Y-m-d H:i:s'); $note = ""; - if($dip['fixed'] != "") { - if($dip['state'] == 7) { + if ($dip['fixed'] != "") { + if ($dip['state'] == 7) { $note .= $dip['fixed']; } else { $note .= "{$dip['fixed']}"; } - if($dip['reserved'] != "" || $dip2['reserved'] != "") { + if ($dip['reserved'] != "" || $dip2['reserved'] != "") { $note .= "| "; - switch($admin['tnmt_trig']) { + switch ($admin['tnmt_trig']) { case 0: $sel[0] = "selected"; break; case 1: $sel[1] = "selected"; break; case 2: $sel[2] = "selected"; break; @@ -75,7 +80,7 @@ if($session->userGrade >= 5) { case 7: $sel[7] = "selected"; break; } - if($admin['tournament'] == 0) { + if ($admin['tournament'] == 0) { echo " - "; } - else { + "; + } else { echo ""; } - switch($admin['tournament']) { + switch ($admin['tournament']) { case 1: echo " | |||||||||||||||
| 운영자 메세지 : =$admin['tnmt_msg'];?> | |||||||||||||||
| =$tnmt_type;?> (=$str1.", ".$str2.", ".$str3;?>) | |||||||||||||||
| 운영자 메세지 : =$admin['tnmt_msg']?> | |||||||||||||||
| =$tnmt_type?> (=$str1.", ".$str2.", ".$str3?>) | |||||||||||||||
| 16강 승자전 | |||||||||||||||
| {$general['name']} | "; } @@ -192,18 +207,29 @@ echo "|||||||||||||||
| {$gen[$i]} | "; } @@ -222,18 +248,29 @@ echo "|||||||||||||||
| {$gen[$i]} | "; } @@ -252,18 +289,29 @@ echo "|||||||||||||||
| {$gen[$i]} | "; } @@ -282,18 +330,29 @@ echo "|||||||||||||||
| {$gen[$i]} | "; } @@ -311,17 +370,19 @@ echo"|||||||||||||||
| {$bet[$i]} | "; } @@ -333,15 +394,17 @@ echo "|||||||||||||||
| 조별 본선 순위 | |||||||||||||||
| @@ -350,8 +413,8 @@ for($i=0; $i < 8; $i++) { | |||||||||||||||
| 순 | 장수 | {$tp2} | 경 | 승 | 무 | 패 | 점 | 득 | |||||||
| 조별 예선 순위 | |||||||||||||||
| @@ -374,8 +439,8 @@ for($i=0; $i < 8; $i++) { | |||||||||||||||
| 순 | 장수 | {$tp2} | 경 | 승 | 무 | 패 | 점 | 득 | |||||||
| =allButton()?> | |||||||||
| 삼국지 모의전투 PHP 유기체서버 (=$scenario;?>) | +삼국지 모의전투 PHP 유기체서버 (=$scenario?>) | {$scenario} | @@ -113,22 +128,25 @@ if($valid == 1) {|||||||
| - | 전체 접속자 수 : =$admin['online'];?> 명 | -턴당 갱신횟수 : =$admin['conlimit'];?>회 | +전체 접속자 수 : =$admin['online']?> 명 | +턴당 갱신횟수 : =$admin['conlimit']?>회 | |||||
| 서버 가동중"; } -else { echo "서버 동결중"; } +if ($plock['plock'] == 0) { + echo ""; +} else { + echo "서버 동결중"; +} echo " | "; -switch($admin['tnmt_type']) { +switch ($admin['tnmt_type']) { case 0: $str = "전력전"; break; case 1: $str = "통솔전"; break; case 2: $str = "일기토"; break; @@ -136,8 +154,11 @@ case 3: $str = "설전"; break; } $str2 = getTournament($admin['tournament']); $str3 = getTournamentTime(); -if($admin['tournament'] == 0) { echo "현재 토너먼트 경기 없음"; } -else { echo ""; } +if ($admin['tournament'] == 0) { + echo "현재 토너먼트 경기 없음"; +} else { + echo ""; +} echo " | @@ -145,10 +166,13 @@ echo " "; $query = "select no from auction"; -$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); +$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), ""); $auctionCount = MYDB_num_rows($result); -if($auctionCount > 0) { echo ""; } -else { echo "진행중 거래 없음"; } +if ($auctionCount > 0) { + echo ""; +} else { + echo "진행중 거래 없음"; +} echo " @@ -157,20 +181,23 @@ echo " $vote = explode("|", $admin['vote']); $vote[0] = Tag2Code($vote[0]); -if($vote[0] == "") { echo "진행중 설문 없음"; } -else { echo ""; } +if ($vote[0] == "") { + echo "진행중 설문 없음"; +} else { + echo ""; +} echo "||||||||
| 접속중인 국가: =onlinenation();?> | |||||||||
| 접속중인 국가: =onlinenation()?> | |||||||||
| 【 국가방침 】 | |||||||||
| 【 접속자 】=onlinegen();?> | |||||||||
| 【 접속자 】=onlinegen()?> | |||||||||
| @@ -217,13 +244,13 @@ if($session->userGrade >= 5) { - ;color:white;width:50;font-size:13px; value='반복' onclick='refreshing(this, 2,0)'>;color:white;width:80;font-size:13px; value='▼미루기' onclick='refreshing(this, 2,1)'>;color:white;width:80;font-size:13px; value='▲당기기' onclick='refreshing(this, 2,2)'> + ;color:white;width:50;font-size:13px; value='반복' onclick='refreshing(this, 2,0)'>;color:white;width:80;font-size:13px; value='▼미루기' onclick='refreshing(this, 2,1)'>;color:white;width:80;font-size:13px; value='▲당기기' onclick='refreshing(this, 2,2)'> | |||||||||
|
- ;color:white;width:110;font-size:13px; value='실 행' onclick='refreshing(this, 3,form2)'>;color:white;width:110;font-size:13px; value='갱 신' onclick='refreshing(this, 0,0)'>;color:white;width:160;font-size:13px; value='로그아웃' onclick=location.replace('logout_process.php')> + ;color:white;width:110;font-size:13px; value='실 행' onclick='refreshing(this, 3,form2)'>;color:white;width:110;font-size:13px; value='갱 신' onclick='refreshing(this, 0,0)'>;color:white;width:160;font-size:13px; value='로그아웃' onclick=location.replace('logout_process.php')> |
|||||||||
| 임관 권유 메세지 | {$nation['name']} | - | "; } else { @@ -232,7 +232,7 @@ for($i=0; $i < $nationcount; $i++) { = 1 && $member['grade'] >= 1 && $member['picture'] != "") { +if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture'] != "") { $imageTemp = GetImageURL($member['imgsvr']); echo "|||||||
| 통솔 | -+ | ||||||||
| 무력 | -+ | ||||||||
| 지력 | -+ | ||||||||
| 능력치 조정 | diff --git a/hwe/select_npc.php b/hwe/select_npc.php index b36c03b8..0e7ec033 100644 --- a/hwe/select_npc.php +++ b/hwe/select_npc.php @@ -88,7 +88,7 @@ if($admin['show_img_level'] >= 3) { ?>|||||||||
| 장수 | -|||||||||
| ;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='시작하기' onclick=location.replace('help.php?category=0')> | -;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='회원가입' onclick=location.replace('help.php?category=1')> | -;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='접속관리' onclick=location.replace('help.php?category=2')> | -;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='캐릭터생성' onclick=location.replace('help.php?category=3')> | -;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='명령입력' onclick=location.replace('help.php?category=4')> | -;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='인터페이스' onclick=location.replace('help.php?category=5')> | -;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='일반장수' onclick=location.replace('help.php?category=6')> | -;color:white;width:123px;height:50px;font-weight:bold;font-size:13px; value='FAQ' onclick=location.replace('help.php?category=7')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='시작하기' onclick=location.replace('help.php?category=0')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='회원가입' onclick=location.replace('help.php?category=1')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='접속관리' onclick=location.replace('help.php?category=2')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='캐릭터생성' onclick=location.replace('help.php?category=3')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='명령입력' onclick=location.replace('help.php?category=4')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='인터페이스' onclick=location.replace('help.php?category=5')> | +;color:white;width:125px;height:50px;font-weight:bold;font-size:13px; value='일반장수' onclick=location.replace('help.php?category=6')> | +;color:white;width:123px;height:50px;font-weight:bold;font-size:13px; value='FAQ' onclick=location.replace('help.php?category=7')> |
| 시 작 하 기 |
| 회 원 가 입 |
◈ 회원 가입을 해봅시다! - ☞ 원하는 ID를 입력합니다. @@ -146,7 +146,7 @@ if($category == 0) { ☞ 확인을 위해 다시한번 PW를 입력합니다. - ☞ 주민등록번호를 입력합니다. @@ -171,8 +171,8 @@ if($category == 0) { + } elseif ($category == 2) { + ?>
|