diff --git a/hwe/_119.php b/hwe/_119.php index 9ac164fc..82875fef 100644 --- a/hwe/_119.php +++ b/hwe/_119.php @@ -13,7 +13,7 @@ if($session->userGrade < 4) { 관리메뉴 - + 관리자가 아닙니다.
@@ -41,7 +41,7 @@ $plock = MYDB_fetch_array($result); 삼국지 모의전투 HiDCHe - +
diff --git a/hwe/_admin1.php b/hwe/_admin1.php index 1855a5a4..3adebcba 100644 --- a/hwe/_admin1.php +++ b/hwe/_admin1.php @@ -13,7 +13,7 @@ if($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -37,14 +37,14 @@ $admin = getAdmin(); 게임관리 - + - +
게 임 관 리
- +
@@ -81,7 +81,7 @@ $admin = getAdmin();
운영자메세지 '>
- +
diff --git a/hwe/_admin2.php b/hwe/_admin2.php index ee68de3e..d0f2602b 100644 --- a/hwe/_admin2.php +++ b/hwe/_admin2.php @@ -13,7 +13,7 @@ if($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -39,20 +39,20 @@ $admin = MYDB_fetch_array($result); 회원관리 - + - +
회 원 관 리
- +
접속제한
- +
회원선택

NPC
NPC유저
접속제한
블럭회원
@@ -131,7 +131,7 @@ for($i=0; $i < 27; $i++) {
- +
diff --git a/hwe/_admin4.php b/hwe/_admin4.php index d000476a..8c07ac13 100644 --- a/hwe/_admin4.php +++ b/hwe/_admin4.php @@ -13,7 +13,7 @@ if($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -39,14 +39,14 @@ $admin = MYDB_fetch_array($result); 멀티관리 - + - +
멀 티 관 리
- +
회원선택

NPC
NPC유저
접속제한
블럭회원
@@ -90,7 +90,7 @@ echo "
- +
@@ -137,7 +137,7 @@ echo " //NOTE: password의 md5 해시가 같은지 확인하는 방식으로는 앞으로 잡아낼 수 없다. 폐기 ?> -
장수명 최근로그인
+
diff --git a/hwe/_admin5.php b/hwe/_admin5.php index e460fbc4..7ccaa8c9 100644 --- a/hwe/_admin5.php +++ b/hwe/_admin5.php @@ -26,7 +26,7 @@ if($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -57,10 +57,10 @@ $admin = MYDB_fetch_array($result); 일제정보 - + - +
일 제 정 보
정렬순서 : @@ -115,7 +115,7 @@ for($i=1; $i <= $count; $i++) {
- +
@@ -262,11 +262,11 @@ for($i=0; $i < $nationCount; $i++) { ?>
국명 접률
- +
- +
@@ -317,7 +317,7 @@ for($i=0; $i < $count; $i++) { ?>
- +
diff --git a/hwe/_admin6.php b/hwe/_admin6.php index 8ad66ef1..3a1226f8 100644 --- a/hwe/_admin6.php +++ b/hwe/_admin6.php @@ -20,7 +20,7 @@ if($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -45,10 +45,10 @@ $sel[$type] = "selected"; 접속정보 - + - +
접 속 정 보
정렬순서 :
- +
@@ -100,7 +100,7 @@ for($i=0; $i < $gencount; $i++) { ?>
장수명 접속률
- +
diff --git a/hwe/_admin7.php b/hwe/_admin7.php index 8be7c7ff..f7049853 100644 --- a/hwe/_admin7.php +++ b/hwe/_admin7.php @@ -24,7 +24,7 @@ if($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -52,10 +52,10 @@ $sel[$type] = "selected"; 로그정보 - + - +
로 그 정 보
@@ -99,7 +99,7 @@ for($i=0; $i < $gencount; $i++) {
- +
@@ -136,7 +136,7 @@ for($i=0; $i < $gencount; $i++) {
장 수 정 보 -
- +
diff --git a/hwe/_admin8.php b/hwe/_admin8.php index cff5f832..c9bfcfef 100644 --- a/hwe/_admin8.php +++ b/hwe/_admin8.php @@ -20,7 +20,7 @@ if ($session->userGrade < 5) { 관리메뉴 - + 관리자가 아닙니다.
@@ -48,10 +48,10 @@ $sel[$type] = "selected"; 외교정보 - + - +
외 교 정 보
@@ -63,7 +63,7 @@ $sel[$type] = "selected";
- +
@@ -155,7 +155,7 @@ for ($i=0; $i < $dipcount; $i++) { } ?>
외 교 관 계
국 가 명
- +
diff --git a/hwe/_simul.php b/hwe/_simul.php index fe992f6f..034cf629 100644 --- a/hwe/_simul.php +++ b/hwe/_simul.php @@ -1141,7 +1141,7 @@ switch($dex240) { 전투시뮬레이션 - + - +
트 래 픽 정 보

- +
- +
$value){ - $w = round($refresh[$i] / $game['maxrefresh'] * 100, 1); - if ($w >= 100) { - $w -= 0.1; - } - if ($refresh[$i] < 10 && $w < 3) { - $w = 3; - } elseif ($refresh[$i] < 100 && $w < 6) { - $w = 6; - } elseif ($refresh[$i] < 1000 && $w < 9) { - $w = 9; - } - $w2 = round(100 - $w, 1); +$refresh[] = $game['refresh']; +foreach($refresh as $i=>$value){ + $w = round($value / $game['maxrefresh'] * 100, 1); $color = getTrafficColor($w); $dt = substr($date[$i], 11, 5); ?> - = 100) { - $w -= 0.1; -} -if ($game['refresh'] < 10 && $w < 3) { - $w = 3; -} elseif ($game['refresh'] < 100 && $w < 6) { - $w = 6; -} elseif ($game['refresh'] < 1000 && $w < 9) { - $w = 9; -} -$w2 = round(100 - $w, 1); -$color = getTrafficColor($w); -$dt = date('H:i'); ?> - - - - - - @@ -130,137 +122,71 @@ $dt = date('H:i');
접 속 량
- - - - - -
% bgcolor= align=right> % id=bg0> 
+
+ + + +
+ +
+ +
- - - - - -
% bgcolor= align=right> % id=bg0> 
-
최고기록:
- +
$value){ - $w = round($online[$i] / $game['maxonline'] * 100, 1); - if ($w >= 100) { - $w -= 0.1; - } - if ($online[$i] < 10 && $w < 3) { - $w = 3; - } elseif ($online[$i] < 100 && $w < 6) { - $w = 6; - } elseif ($online[$i] < 1000 && $w < 9) { - $w = 9; - } - $w2 = round(100 - $w, 1); +$online[] = $curonline; +foreach($online as $i=>$value){ + $w = round($value / $game['maxonline'] * 100, 1); $color = getTrafficColor($w); $dt = substr($date[$i], 11, 5); ?> - = 100) { - $w -= 0.1; -} -if ($curonline < 10 && $w < 3) { - $w = 3; -} elseif ($curonline < 100 && $w < 6) { - $w = 6; -} elseif ($curonline < 1000 && $w < 9) { - $w = 9; -} -$w2 = round(100 - $w, 1); -$color = getTrafficColor($w); -$dt = date('H:i'); -echo " - - - - - - +?> - + -"; -?>
접 속 자
- - - - - -
% bgcolor= align=right> % id=bg0> 
+
+ + + +
+ +
+ +
{$game['year']}년 {$game['month']}월{$dt} - - - - - -
{$curonline}  
-
최고기록: {$game['maxonline']}최고기록:

- +
queryFirstRow('SELECT sum(refresh) as refresh, sum(`connect`) as `connect` from general'); +$max_refresh['name'] = '접속자 총합'; -$w = round($maxrefresh / $maxrefresh * 100, 1); -$w2 = round(100 - $w, 1); -$color = getTrafficColor($w); -echo " - - - - - - - - - - -"; +$refresh_result = array_merge([$max_refresh], $db->query('SELECT `name`,refresh,`connect` FROM general ORDER BY refresh DESC LIMIT 5')); -$query = "select name,refresh,connect from general order by refresh desc limit 0,5"; -$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect), ""); -$count = MYDB_num_rows($result); -for ($i=0; $i < $count; $i++) { - $user = MYDB_fetch_array($result); - - $w = round($user['refresh'] / $maxrefresh * 100, 1); +foreach ($refresh_result as $i=>$user) { + $w = round($user['refresh'] / $max_refresh['refresh'] * 100, 1); $w2 = round(100 - $w, 1); $color = getTrafficColor($w); - echo " +?> - - - + + - "; +
주 의 대 상 자 (순간과도갱신)
주의대상자벌점(순간갱신)전체 대비
접속자 총합{$user['connect']}({$maxrefresh}) - - - - - -
  
-
{$user['name']}{$user['connect']}({$user['refresh']}) - - - - - -
  
+
() + + +
+ +
+

- +
@@ -273,7 +199,7 @@ function getTrafficColor($per) $r = getHex($per); $b = getHex(100 - $per); $color = $r . "00" . $b; - return $color; + return '#'.$color; } function getHex($dec) diff --git a/hwe/a_vote.php b/hwe/a_vote.php index 4b6c08d3..771cdc42 100644 --- a/hwe/a_vote.php +++ b/hwe/a_vote.php @@ -31,7 +31,16 @@ if ($vote[0] == "") { <?=UniqueConst::$serverName?>: 설문조사 - + + - + - +
중 원 정 보

- +

-
align=center bgcolor=blue>외 교 현 황
+
분 쟁 현 황
- +

- +
@@ -244,7 +226,7 @@ for($i=0; $i < $nationcount; $i++) {
중 원 지 도

- +
diff --git a/hwe/b_genList.php b/hwe/b_genList.php index a38ba92d..3dc2f811 100644 --- a/hwe/b_genList.php +++ b/hwe/b_genList.php @@ -56,12 +56,12 @@ $sel[$type] = "selected"; <?=UniqueConst::$serverName?>: 암행부 - + - +
암 행 부
정렬순서 : +
@@ -206,7 +206,7 @@ echo " ?> -
이 름 통무지
+
diff --git a/hwe/b_myBossInfo.php b/hwe/b_myBossInfo.php index 89ecd255..c0b30db2 100644 --- a/hwe/b_myBossInfo.php +++ b/hwe/b_myBossInfo.php @@ -32,7 +32,7 @@ if($meLevel == 0) { <?=UniqueConst::$serverName?>: 인사부 - + - - + + - + @@ -93,50 +115,27 @@ $(function(){
- +
- - - - - - "; -} -?> + + + + + + - - - - + + + + - "; ?> - - - - + + + + userGrade >= 5) { echo " @@ -227,7 +226,7 @@ else if($session->userGrade == 4){ ?>
삼국지 모의전투 HiDCHe ()
{$scenario}NPC수 : {$extend}NPC상성 : {$fiction}NPC선택 : {$npcmode}
>>NPC수 : >NPC상성 : >NPC선택 :
전체 접속자 수 : 턴당 갱신횟수 : 전체 접속자 수 : 턴당 갱신횟수 :
+ 서버 가동중"; @@ -195,10 +194,10 @@ echo "
접속중인 국가:
【 국가방침 】
【 접속자 】
접속중인 국가:
【 국가방침 】
【 접속자 】
- +
- + -
@@ -237,7 +236,7 @@ else if($session->userGrade == 4){
@@ -259,31 +258,31 @@ else if($session->userGrade == 4){
+ ;color:white;width:110px;font-size:13px; value='실 행' onclick='refreshing(this, 3,form2)'>;color:white;width:110px;font-size:13px; value='갱 신' onclick='refreshing(this, 0,0)'>;color:white;width:160px;font-size:13px; value='로비로' onclick=location.replace('../')>
- +
- - + +
- +
- - + + - - + + - - + +
장수 동향개인 기록장수 동향개인 기록
중원 정세
중원 정세
+
장 수 생 성
- +
= $admin['maxgeneral']) { } ?> - +
-
임관 권유 메세지
+
@@ -98,7 +98,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture']
장수 생성
전콘 사용 여부 - + 사용 @@ -172,7 +172,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture']
- +
diff --git a/hwe/processing.php b/hwe/processing.php index c2ed4bc1..f085741f 100644 --- a/hwe/processing.php +++ b/hwe/processing.php @@ -145,14 +145,14 @@ $(function(){ - + '; echo ' - +
'.$name.'
'; @@ -279,7 +279,7 @@ function calc(cost, formnum) { form.cost.value = Math.round(crew * cost); } - +
현재 기술력 : @@ -487,7 +487,7 @@ function calc(cost, formnum) { form.cost.value = Math.round(crew * cost * 2); } - +
모병은 가격 2배의 자금이 소요됩니다.
@@ -1031,7 +1031,7 @@ function command_25($turn, $command) { echo " - +
{$scoutStr}
임관 권유 메세지
"; diff --git a/hwe/select_npc.php b/hwe/select_npc.php index 6de57857..8e5a32f2 100644 --- a/hwe/select_npc.php +++ b/hwe/select_npc.php @@ -27,7 +27,7 @@ $nations = $db->queryAllLists('SELECT `name`, scoutmsg, color FROM nation'); - + diff --git a/hwe/templates/msg_plate.php b/hwe/templates/msg_plate.php deleted file mode 100644 index a2272296..00000000 --- a/hwe/templates/msg_plate.php +++ /dev/null @@ -1,53 +0,0 @@ - - - bgcolor="#CC6600" - - bgcolor="#336600" - - bgcolor="#000055" - - style="font-size:13px;table-layout:fixed;word-break:break-all;" - data-id="" -> - - - - -
- - - - - - - - [ - e($src['name'])?>:e($src['nation'])?> - ▶ - e($dest['name'])?>:e($dest['nation'])?> - ] - - [ - e($src['name'])?>:e($src['nation'])?> - ▶ - e($dest['nation'])?> - ] - - [ - e($src['name'])?>:e($src['nation'])?> - ] - - <> -
- e($message)?> -
\ No newline at end of file diff --git a/i_other/help.php b/i_other/help.php index 68ca000e..1245a04a 100644 --- a/i_other/help.php +++ b/i_other/help.php @@ -13,16 +13,10 @@ $category = Util::getReq('category', 'int', 0); 튜토리얼 - + +