From 604b1557e8d9400b4174c0866470665b84192d25 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 29 Aug 2021 02:16:12 +0900 Subject: [PATCH] =?UTF-8?q?legacy:=20#bg0,=20#bg1,=20#bg2=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f_install/templates/common.orig.css | 15 +++----- hwe/_admin5.php | 4 +-- hwe/_admin7.php | 18 +++++----- hwe/_admin8.php | 8 ++--- hwe/a_emperior.php | 24 ++++++------- hwe/a_emperior_detail.php | 56 ++++++++++++++--------------- hwe/a_genList.php | 30 ++++++++-------- hwe/a_history.php | 6 ++-- hwe/a_kingdomList.php | 16 ++++----- hwe/a_npcList.php | 24 ++++++------- hwe/a_traffic.php | 22 ++++++------ hwe/a_vote.php | 8 ++--- hwe/b_auction.php | 22 ++++++------ hwe/b_battleCenter.php | 12 +++---- hwe/b_betting.php | 8 ++--- hwe/b_diplomacy.php | 2 +- hwe/b_myBossInfo.php | 38 ++++++++++---------- hwe/b_myCityInfo.php | 26 +++++++------- hwe/b_myGenInfo.php | 30 ++++++++-------- hwe/b_myKingdomInfo.php | 40 ++++++++++----------- hwe/b_myPage.php | 8 ++--- hwe/b_tournament.php | 10 +++--- hwe/b_troop.php | 2 +- hwe/func_tournament.php | 18 +++++----- hwe/join.php | 16 ++++----- hwe/select_general_from_pool.php | 12 +++---- 26 files changed, 235 insertions(+), 240 deletions(-) diff --git a/f_install/templates/common.orig.css b/f_install/templates/common.orig.css index 506e4a6a..ca16ab23 100644 --- a/f_install/templates/common.orig.css +++ b/f_install/templates/common.orig.css @@ -6,38 +6,33 @@ .img_back {background-image:url('_tK_gameImagePath_/back.jpg'); } -/* 레거시. */ -#bg0 { background-image:url('_tK_gameImagePath_/back_walnut.jpg'); } -#bg1 { background-image:url('_tK_gameImagePath_/back_green.jpg'); } -#bg2 { background-image:url('_tK_gameImagePath_/back_blue.jpg'); } - .map_detail .map_title{ background: - url('_tK_gameImagePath_/ltitle.jpg') no-repeat left, + url('_tK_gameImagePath_/ltitle.jpg') no-repeat left, url('_tK_gameImagePath_/rtitle.jpg') no-repeat right; } .map_detail.map_spring .map_title_text{ background: - url('_tK_gameImagePath_/ad.gif') no-repeat left, + url('_tK_gameImagePath_/ad.gif') no-repeat left, url('_tK_gameImagePath_/spring.gif') no-repeat right; } .map_detail.map_summer .map_title_text{ background: - url('_tK_gameImagePath_/ad.gif') no-repeat left, + url('_tK_gameImagePath_/ad.gif') no-repeat left, url('_tK_gameImagePath_/summer.gif') no-repeat right; } .map_detail.map_fall .map_title_text{ background: - url('_tK_gameImagePath_/ad.gif') no-repeat left, + url('_tK_gameImagePath_/ad.gif') no-repeat left, url('_tK_gameImagePath_/fall.gif') no-repeat right; } .map_detail.map_winter .map_title_text{ background: - url('_tK_gameImagePath_/ad.gif') no-repeat left, + url('_tK_gameImagePath_/ad.gif') no-repeat left, url('_tK_gameImagePath_/winter.gif') no-repeat right; } diff --git a/hwe/_admin5.php b/hwe/_admin5.php index e0d171d6..689c6c4f 100644 --- a/hwe/_admin5.php +++ b/hwe/_admin5.php @@ -99,7 +99,7 @@ $sel2[$type2] = "selected"; - + @@ -278,7 +278,7 @@ from city where nation=%i', $nation['nation']);
국명 접률 단접
- + diff --git a/hwe/_admin7.php b/hwe/_admin7.php index c4bdb0e9..56e5528d 100644 --- a/hwe/_admin7.php +++ b/hwe/_admin7.php @@ -52,9 +52,9 @@ if ($reqArgType === 0) { $generalBasicList = $db->query('SELECT no, name, nation, npc, turntime, %b FROM general', $reqQueryType); } else if ($reqArgType === 2) { $generalBasicList = $db->query( - 'SELECT no, name, nation, npc, turntime, value as %b - FROM general LEFT JOIN rank_data - ON general.no = rank_data.general_id + 'SELECT no, name, nation, npc, turntime, value as %b + FROM general LEFT JOIN rank_data + ON general.no = rank_data.general_id WHERE rank_data.type = %s', $reqQueryType, $reqQueryType @@ -117,10 +117,10 @@ $generalObj = General::createGeneralObjFromDB($gen);
국가수
- - @@ -133,10 +133,10 @@ $generalObj = General::createGeneralObjFromDB($gen); - - @@ -149,10 +149,10 @@ $generalObj = General::createGeneralObjFromDB($gen); - - diff --git a/hwe/_admin8.php b/hwe/_admin8.php index f12456a5..a8c6bf7d 100644 --- a/hwe/_admin8.php +++ b/hwe/_admin8.php @@ -49,10 +49,10 @@ $sel[$type] = "selected";
+ 장 수 정 보 + -
+ 개인 기록 + 전투 기록
+ 장수 열전 + 전투 결과
- - - - + + + + - + - + - + - + - + - + - + - + - + - + - + - +
외 교 관 계
국 가 명국 가 명상 태기 간국 가 명국 가 명상 태기 간
국 력국 력 장 수장 수 속 령속 령 성 향성 향
황 제황 제 승 상승 상 표 기 장 군표 기 장 군 사 공사 공
거 기 장 군거 기 장 군 태 위태 위 위 장 군위 장 군 사 도사 도
diff --git a/hwe/a_emperior_detail.php b/hwe/a_emperior_detail.php index 4749b1b6..bd988a68 100644 --- a/hwe/a_emperior_detail.php +++ b/hwe/a_emperior_detail.php @@ -54,25 +54,25 @@ if($emperior): - 국 가 수
(최종 / 최대) + 국 가 수
(최종 / 최대) - 장 수 수
(최종 / 최대) + 장 수 수
(최종 / 최대) - 등 장 국 가 + 등 장 국 가 - 국가별 성향 + 국가별 성향 - 장 수 성 격 + 장 수 성 격 - 장 수 특 기 + 장 수 특 기 @@ -81,75 +81,75 @@ if($emperior): - 국 력 + 국 력 - 성 향 + 성 향 - 장 수 + 장 수 - 속 령 + 속 령 - 총 인 구 + 총 인 구 - 인 구 율 + 인 구 율 - 국 고 + 국 고 - 병 량 + 병 량 - 황 제 + 황 제   - 승 상 + 승 상   - 위 장 군 + 위 장 군   - 사 공 + 사 공   - 표 기 장 군 + 표 기 장 군   - 태 위 + 태 위   - 거 기 장 군 + 거 기 장 군   - 사 도 + 사 도   - 오 호 장 군 + 오 호 장 군 - 건 안 칠 자 + 건 안 칠 자 - 장 수 들
(공헌도 순서) + 장 수 들
(공헌도 순서) - 역 사 기 록 + 역 사 기 록 @@ -175,7 +175,7 @@ if($showServers){ $nation['levelName'] = getNationLevel($nation['level']); /** @var int[]|null $nationGenerals */ $nationGenerals = $nation['generals']; - + if($nationGenerals){ $generals = $db->query('SELECT `general_no`, `name`, `last_yearmonth` FROM ng_old_generals WHERE server_id=%s AND general_no IN %li', $serverID, $nationGenerals); @@ -200,7 +200,7 @@ if($showServers){ if(key_exists('aux', $nation) && !is_array($nation['aux'])){ $nation += Json::decode($nation['aux']); } - + echo $templates->render('oldNation', $nation); } } diff --git a/hwe/a_genList.php b/hwe/a_genList.php index f992468f..6b60b1e2 100644 --- a/hwe/a_genList.php +++ b/hwe/a_genList.php @@ -109,21 +109,21 @@ $generalList = $db->query('SELECT owner,no,picture,imgsvr,npc,age,nation,special echo" - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + "; foreach($generalList as $general){ $nation = $nationname[$general['nation']]; diff --git a/hwe/a_history.php b/hwe/a_history.php index a65baf2e..8d565eb3 100644 --- a/hwe/a_history.php +++ b/hwe/a_history.php @@ -138,7 +138,7 @@ var nations = ;
얼 굴이 름연령성격특기레 벨국 가명 성계 급관 직통솔무력지력삭턴벌점얼 굴이 름연령성격특기레 벨국 가명 성계 급관 직통솔무력지력삭턴벌점
- +
중 원 지 도
중 원 지 도
@@ -168,13 +168,13 @@ var nations = ;
- 중 원 정 세 + 중 원 정 세 - 장 수 동 향 + 장 수 동 향 diff --git a/hwe/a_kingdomList.php b/hwe/a_kingdomList.php index bfec4af3..5ee27f99 100644 --- a/hwe/a_kingdomList.php +++ b/hwe/a_kingdomList.php @@ -92,13 +92,13 @@ foreach ($nations as $nation) { 【 {$nation['name']} 】 - 성 향 + 성 향 ".getNationType($nation['type'])." - 작 위 + 작 위 ".getNationLevel($nation['level'])." - 국 력 + 국 력 {$nation['power']} - 장수 / 속령 + 장수 / 속령 {$nation['gennum']} / ".count($nation['cities']??[])." "; for($chiefLevel = 12; $chiefLevel >= 5; $chiefLevel--){ @@ -113,9 +113,9 @@ foreach ($nations as $nation) { } echo " - 외교권자"; + 외교권자"; echo join(', ', $ambassadors); - echo "조언자"; + echo "조언자"; echo count($auditors).'명'; echo " @@ -160,9 +160,9 @@ echo "   - 장 수 + 장 수 {$nations[0]['gennum']} - 속 령 + 속 령 ".count($nations[0]['cities']??[])." diff --git a/hwe/a_npcList.php b/hwe/a_npcList.php index c6044873..1beb2950 100644 --- a/hwe/a_npcList.php +++ b/hwe/a_npcList.php @@ -93,18 +93,18 @@ else{ ?> - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/hwe/a_traffic.php b/hwe/a_traffic.php index d8f9ea65..809efccc 100644 --- a/hwe/a_traffic.php +++ b/hwe/a_traffic.php @@ -92,7 +92,7 @@ span.out_bar{
희생된 장수악령 이름레벨국가성격특기종능통솔무력지력명성계급희생된 장수악령 이름레벨국가성격특기종능통솔무력지력명성계급
- + $value){ @@ -101,8 +101,8 @@ foreach($refresh as $i=>$value){ $dt = substr($date[$i], 11, 5); ?> - - + + + - + @@ -127,7 +127,7 @@ foreach($refresh as $i=>$value){
접 속 량
접 속 량
@@ -117,9 +117,9 @@ foreach($refresh as $i=>$value){ -
최고기록: 최고기록:
- + $value){ @@ -136,8 +136,8 @@ foreach($online as $i=>$value){ $dt = substr($date[$i], 11, 5); ?> - - + + + - +
접 속 자
접 속 자
@@ -152,16 +152,16 @@ foreach($online as $i=>$value){ -
최고기록: 최고기록:

- + queryFirstRow('SELECT sum(refresh) as refresh, sum(`connect`) as `connect` from general'); $max_refresh['name'] = '접속자 총합'; diff --git a/hwe/a_vote.php b/hwe/a_vote.php index e43caddd..7e2d915b 100644 --- a/hwe/a_vote.php +++ b/hwe/a_vote.php @@ -60,7 +60,7 @@ function captureKey(e) {
주 의 대 상 자 (순간과도갱신)
주 의 대 상 자 (순간과도갱신)
- + - + "; @@ -151,7 +151,7 @@ echo "
설 문 조 사 (금과 추첨으로 유니크템 증정!)
설 문 조 사 (금과 추첨으로 유니크템 증정!)
제 목제 목  {$vote_title}
- + "; for ($i=0; $i < $commentCount; $i++) { @@ -180,7 +180,7 @@ if ($me['no'] > 0) {
댓 글댓 글

-
+
전 체 통 계 - +
거 래 장
거 래 장
거 래 장
- + @@ -118,18 +118,18 @@ foreach($db->query('SELECT * from auction where type=0 order by expire') as $auc } ?> - + - + - +
팝 니 다
거래번호 선택 판매자
등록결과등록결과
입찰등록입찰등록  지불할 금액: name=btn value='구매시도' onclick='return confirm("정말 입찰하시겠습니까?");'>
거래등록거래등록  종료: 턴 후  물품: 쌀 @@ -152,7 +152,7 @@ foreach($db->query('SELECT * from auction where type=0 order by expire') as $auc - + @@ -205,18 +205,18 @@ foreach($db->query('SELECT * from auction where type=1 order by expire') as $auc } ?> - + - + - +
삽 니 다
거래번호 선택 구매자
등록결과등록결과
입찰등록입찰등록  수령할 금액: name=btn value='판매시도' onclick='return confirm("정말 입찰하시겠습니까?");'>
거래등록거래등록  종료: 턴 후  물품: 쌀 @@ -237,11 +237,11 @@ foreach($db->query('SELECT * from auction where type=1 order by expire') as $auc

- + - +
최 근 기 록
최 근 기 록
도 움 말
도 움 말
ㆍ판매거래는 거래자가 판매할 물품을 거래하면, 구입을 희망하는 사람이 현재가보다 높게 입찰하여 구입하는 방식입니다.
diff --git a/hwe/b_battleCenter.php b/hwe/b_battleCenter.php index 68298497..857dcd5c 100644 --- a/hwe/b_battleCenter.php +++ b/hwe/b_battleCenter.php @@ -153,8 +153,8 @@ $showGeneral = General::createGeneralObjFromDB($gen);
- - + + - - + + getNPCType() > 1 || $permission >= 2): ?> - - + + - + - + - + "; } $officerLevelText = getOfficerLevelText($i, $nation['level']); echo " - + - + - + - + "; $officerLevelText = getOfficerLevelText(3, $nation['level']); echo " - + "; $officerLevelText = getOfficerLevelText(2, $nation['level']); echo " - + - - - - + + + + "; @@ -495,8 +495,8 @@ foreach($db->query('SELECT city,name,level,region,officer_set from city where na $cityOfficerList = $officerList[$cityID]??[]; ?> - - + + diff --git a/hwe/b_myCityInfo.php b/hwe/b_myCityInfo.php index b3e4fd7b..6360b93d 100644 --- a/hwe/b_myCityInfo.php +++ b/hwe/b_myCityInfo.php @@ -148,41 +148,41 @@ foreach($cityList as $city){ - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - + = 7 || $admin['tournament'] == 0) { } echo " - + "; $num = array("一", "二", "三", "四", "五", "六", "七", "八"); @@ -409,7 +409,7 @@ for ($i=0; $i < 8; $i++) {
장 수 정 보장 수 열 전장 수 정 보장 수 열 전
@@ -165,8 +165,8 @@ $showGeneral = General::createGeneralObjFromDB($gen);
전투 기록전투 결과전투 기록전투 결과
@@ -178,8 +178,8 @@ $showGeneral = General::createGeneralObjFromDB($gen);
개인 기록 개인 기록 
diff --git a/hwe/b_betting.php b/hwe/b_betting.php index f706f7de..58e90185 100644 --- a/hwe/b_betting.php +++ b/hwe/b_betting.php @@ -78,7 +78,7 @@ if($str3){ - +
()
16강 상황
(전체 금액 : / 내 투자 금액 : )
16강 상황
(전체 금액 : / 내 투자 금액 : )
@@ -392,8 +392,8 @@ if ($admin['tournament'] == 6) {
- - + + [$statTypeText,$statFunc,$rankCo - + - + @@ -158,11 +158,11 @@ for($i=12; $i >= $lv; $i-=2) { ?> - + - +
토너먼트 랭킹
순위 / 장수명 / 능력치 / 경기수 / 승리 / 무승부 / 패배 / 집계점수 / 우승횟수
토너먼트 랭킹
순위 / 장수명 / 능력치 / 경기수 / 승리 / 무승부 / 패배 / 집계점수 / 우승횟수
- + - +
장수
장수
diff --git a/hwe/b_myBossInfo.php b/hwe/b_myBossInfo.php index 24188554..ff270eb2 100644 --- a/hwe/b_myBossInfo.php +++ b/hwe/b_myBossInfo.php @@ -146,10 +146,10 @@ for($i=12; $i >= $lv; $i-=2) { $imageTemp2 = GetImageURL($level[$i2]['imgsvr']??0); ?>
");background-size:64px;'> (년) ");background-size:64px;'> (년)
오호장군【승전】오호장군【승전】
건안칠자【계략】건안칠자【계략】
@@ -170,7 +170,7 @@ for($i=12; $i >= $lv; $i-=2) {
추 방
대상 장수대상 장수
수 뇌 부 임 명
".getOfficerLevelText(12, $nation['level'])."".getOfficerLevelText(12, $nation['level'])." {$level[12]['name']} 【".CityConst::byID($level[12]['city'])->name."】{$officerLevelText}{$officerLevelText} "; @@ -251,7 +251,7 @@ for($i=10; $i >= $lv; $i--) { if($i % 2 == 0) { echo "
{$officerLevelText}{$officerLevelText} "; @@ -295,13 +295,13 @@ if($meLevel == 12):
외 교 권 자 임 명
외교권자외교권자 조언자조언자 @@ -320,7 +320,7 @@ if($meLevel >= 5) { echo "
도 시 관 직 임 명
{$officerLevelText} 임명{$officerLevelText} 임명
{$officerLevelText} 임명{$officerLevelText} 임명
{$officerLevelText} 임명{$officerLevelText} 임명
도 시태 수 (사관) 【현재도시】군 사 (사관) 【현재도시】종 사 (사관) 【현재도시】도 시태 수 (사관) 【현재도시】군 사 (사관) 【현재도시】종 사 (사관) 【현재도시】
【 ".CityConst::$regionMap[$city['region']]." | ".CityConst::$levelMap[$city['level']]." 】 {$city['name']}
주민주민 {$city['pop']}/{$city['pop_max']}농업농업 {$city['agri']}/{$city['agri_max']}상업상업 {$city['comm']}/{$city['comm_max']}치안치안 {$city['secu']}/{$city['secu_max']}수비수비 {$city['def']}/{$city['def_max']}성벽성벽 {$city['wall']}/{$city['wall_max']}
민심민심 ".round($city['trust'], 1)."시세시세 {$city['trade']}%인구인구 ".round($city['pop']/$city['pop_max']*100, 2)." %태수태수 "; echo $officerName[4]; echo "군사군사 "; echo $officerName[3]; echo "종사종사 "; echo $officerName[2]; echo "
장수장수 "; $generalList = $db->query('SELECT npc, name FROM general WHERE city = %i AND nation = %i', $city['city'], $me['nation']); if (!$generalList) { diff --git a/hwe/b_myGenInfo.php b/hwe/b_myGenInfo.php index 37bb6417..01ccc426 100644 --- a/hwe/b_myGenInfo.php +++ b/hwe/b_myGenInfo.php @@ -104,21 +104,21 @@ $generalList = $db->query('SELECT owner,no,picture,imgsvr,npc,age,nation,special echo" - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + "; foreach($generalList as $general){ diff --git a/hwe/b_myKingdomInfo.php b/hwe/b_myKingdomInfo.php index ba273c3c..a25ab90f 100644 --- a/hwe/b_myKingdomInfo.php +++ b/hwe/b_myKingdomInfo.php @@ -96,57 +96,57 @@ if ($budgetricediff > 0) { - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + +
얼 굴이 름관 직계 급명 성봉 록통솔무력지력자 금군 량성 격특 기사 관벌점얼 굴이 름관 직계 급명 성봉 록통솔무력지력자 금군 량성 격특 기사 관벌점
;background-color:'>【
총주민총주민 /총병사총병사 /국 력국 력
국 고국 고 병 량병 량 세 율세 율 %
세금/단기세금/단기 + / +세곡/둔전세곡/둔전 + / +지급률지급률 %
수입/지출수입/지출 + / -수입/지출수입/지출 + / -속 령속 령 장 수장 수
국고 예산국고 예산 ()병량 예산병량 예산 ()기술력기술력 작 위작 위
속령일람 : 속령일람 :
국가열전국가열전

diff --git a/hwe/b_myPage.php b/hwe/b_myPage.php index 31718416..a028e376 100644 --- a/hwe/b_myPage.php +++ b/hwe/b_myPage.php @@ -123,8 +123,8 @@ var availableDieImmediately = ;
개인 기록전투 기록개인 기록전투 기록
@@ -141,8 +141,8 @@ var availableDieImmediately = ;
장수 열전전투 결과장수 열전전투 결과
diff --git a/hwe/b_tournament.php b/hwe/b_tournament.php index b666c31d..9fc3cfee 100644 --- a/hwe/b_tournament.php +++ b/hwe/b_tournament.php @@ -145,7 +145,7 @@ if($str3){ ?>
운영자 메세지 :
()
16강 승자전
16강 승자전
조별 본선 순위
조별 본선 순위
- "; + "; $generalList = $db->query('SELECT npc,name,leadership,strength,intel,leadership+strength+intel as total,prmt,win+draw+lose as game,win,draw,lose,gl,win*3+draw as gd from tournament where grp=%i order by gd desc, gl desc, seq',$grp); foreach($generalList as $k=>$general) { @@ -427,7 +427,7 @@ if ($admin['tournament'] == 4 || $admin['tournament'] == 5) { printFighting($admin['tournament'], $admin['phase']); } echo " - + "; for ($i=0; $i < 8; $i++) { @@ -436,7 +436,7 @@ for ($i=0; $i < 8; $i++) {
{$num[$i]}조
장수{$tp2}
장수{$tp2}
조별 예선 순위
조별 예선 순위
- "; + "; $generalList = $db->query('SELECT npc,name,leadership,strength,intel,leadership+strength+intel as total,prmt,win+draw+lose as game,win,draw,lose,gl,win*3+draw as gd from tournament where grp=%i order by gd desc, gl desc, seq',$grp); foreach($generalList as $k=>$general) { diff --git a/hwe/b_troop.php b/hwe/b_troop.php index 27c6533b..927c4973 100644 --- a/hwe/b_troop.php +++ b/hwe/b_troop.php @@ -194,7 +194,7 @@ foreach ($troops as $troopNo=>$troop) {
{$num[$i]}조
장수{$tp2}
장수{$tp2}
- + diff --git a/hwe/func_tournament.php b/hwe/func_tournament.php index 5039aa47..dad46146 100644 --- a/hwe/func_tournament.php +++ b/hwe/func_tournament.php @@ -173,7 +173,7 @@ function printRow($k, $npc, $name, $abil, $tgame, $win, $draw, $lose, $gd, $gl, if($prmt > 0) { $name = "".$name.""; } elseif($npc >= 2) { $name = "".$name.""; } elseif($npc == 1) { $name = "".$name.""; } - echo ""; + echo ""; } function printFighting($tournament, $phase) { @@ -246,7 +246,7 @@ function startTournament($auto, $type) { } $admin = $gameStor->getValues(['year', 'month']); - + $gameStor->tnmt_auto = $auto; $gameStor->tnmt_time = (new \DateTimeImmutable())->add(new \DateInterval("PT{$unit}M"))->format('Y-m-d H:i:s'); $gameStor->tournament = 1; @@ -297,7 +297,7 @@ function startTournament($auto, $type) { ][$type]; $history[] = "◆{$admin['year']}년 {$admin['month']}월:{$openerText}{$typeText} 대회가 개최됩니다! 천하의 {$genTypeText}들을 모집하고 있습니다!"; - + pushGlobalHistoryLog($history, $admin['year'], $admin['month']); } @@ -834,7 +834,7 @@ function setRefund() { $db->update('general', [ 'gold'=>$db->sqleval('gold + %i', $cost) ], 'no IN %li', $generalIDList); - + //베팅금 환수 $db->update(['general', [ 'gold'=>$db->sqleval('gold + (SELECT bet0+bet1+bet2+bet3+bet4+bet5+bet6+bet7+bet8+bet9+bet10+bet11+bet12+bet13+bet14+bet15 FROM betting WHERE general_id = general.no)') @@ -867,16 +867,16 @@ function fight($tnmt_type, $tnmt, $phs, $group, $g1, $g2, $type) { if($type == 0) { $turn = 10; } else { $turn = 100; } - + if($tnmt_type == 1) { $tp = "leadership"; $tp2 = "tl"; } elseif($tnmt_type == 2) { $tp = "strength"; $tp2 = "ts"; } elseif($tnmt_type == 3) { $tp = "intel"; $tp2 = "ti"; } - else /*$tnmt_type == 0*/{ $tp = "total"; $tp2 = "tt"; } + else /*$tnmt_type == 0*/{ $tp = "total"; $tp2 = "tt"; } $e1 = $energy1 = Util::round($gen1[$tp] * getLog($gen1['lvl'], $gen2['lvl']) * 10); $e2 = $energy2 = Util::round($gen2[$tp] * getLog($gen1['lvl'], $gen2['lvl']) * 10); - + foreach([$gen1, $gen2] as $gen){ $horse = buildItemClass($gen['h']); @@ -888,7 +888,7 @@ function fight($tnmt_type, $tnmt, $phs, $group, $g1, $g2, $type) { $itemName = $horse->getName(); $itemRawName = $horse->getRawName(); switch(rand()%4) { - case 0: + case 0: $josaYi = JosaUtil::pick($itemRawName, '이'); $log[] = "{$gen['name']}의 {$itemName}{$josaYi} 포효합니다!"; break; case 1: @@ -1090,7 +1090,7 @@ function fight($tnmt_type, $tnmt, $phs, $group, $g1, $g2, $type) { 'lose'=>$db->sqleval('lose+1'), 'gl'=>$db->sqleval('gl-%i', $gl) ], 'grp=%i AND grp_no=%i', $group, $g2); - + if($general1['gl'] > $general2['gl']) { $gl1 = 1; $gl2 = 0; } elseif($general1['gl'] == $general2['gl']) { $gl1 = 2; $gl2 = -1; } else { $gl1 = 3; $gl2 = -2; } diff --git a/hwe/join.php b/hwe/join.php index 92ecee9a..94618e7d 100644 --- a/hwe/join.php +++ b/hwe/join.php @@ -94,10 +94,10 @@ echo getInvitationList($nationList);
부 대 명부 대 명
$k$name$abil$tgame$win$draw$lose$gd$gl
$k$name$abil$tgame$win$draw$lose$gd$gl
- + - + @@ -107,7 +107,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture'] $imageTemp = GetImageURL($member['imgsvr']); echo " - + @@ -124,7 +124,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture'] - + - + - + - + - + - + @@ -130,7 +130,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture'] } ?> - + - + - + - + - +
장수 생성장수 생성
장수명장수명 (전각 9글자, 반각 18글자 이내)
전콘 사용 여부전콘 사용 여부
성격성격
통솔통솔
무력무력
지력지력
능력치 조정능력치 조정 diff --git a/hwe/select_general_from_pool.php b/hwe/select_general_from_pool.php index 7007ef06..d80299e4 100644 --- a/hwe/select_general_from_pool.php +++ b/hwe/select_general_from_pool.php @@ -118,7 +118,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture'] $imageTemp = GetImageURL($member['imgsvr']); echo "
전콘 사용 여부전콘 사용 여부
성격성격
통솔통솔
무력무력
지력지력
능력치 조정능력치 조정