diff --git a/hwe/b_myBossInfo.php b/hwe/b_myBossInfo.php index 3336c9da..f2f3b725 100644 --- a/hwe/b_myBossInfo.php +++ b/hwe/b_myBossInfo.php @@ -25,6 +25,17 @@ if ($meLevel == 0) { $nation = $db->queryFirstRow('SELECT nation,name,level,color,chief_set from nation where nation=%i', $nationID); //국가정보 +if ($meLevel >= 5) { + $candidateStrength = $db->query('SELECT no,name,officer_level,city,npc from general where nation=%i and officer_level!=12 and strength>=%i order by npc,binary(name)', $nationID, GameConst::$chiefStatMin); + $candidateIntel = $db->query('SELECT no,name,officer_level,city,npc from general where nation=%i and officer_level!=12 and intel>=%i order by npc,binary(name)', $nationID, GameConst::$chiefStatMin); + $candidateAny = $db->query('SELECT no,name,officer_level,city,npc,leadership,strength,intel,killturn from general where nation=%i and officer_level!=12 order by npc,binary(name)', $nationID); //추방 때문에 조금 더 김 +} else { + $candidateStrength = []; + $candidateIntel = []; + $candidateAny = []; +} + + ?> @@ -180,61 +191,21 @@ $nation = $db->queryFirstRow('SELECT nation,name,level,color,chief_set from nati + - + - + - - + + + - -
추 방수 뇌 부 임 명
대상 장수 + + name ?>】 = 5) { - $candidateStrength = $db->query('SELECT no,name,officer_level,city,npc from general where nation=%i and officer_level!=12 and strength>=%i order by npc,binary(name)', $nationID, GameConst::$chiefStatMin); - $candidateIntel = $db->query('SELECT no,name,officer_level,city,npc from general where nation=%i and officer_level!=12 and intel>=%i order by npc,binary(name)', $nationID, GameConst::$chiefStatMin); - $candidateAny = $db->query('SELECT no,name,officer_level,city,npc,leadership,strength,intel,killturn from general where nation=%i and officer_level!=12 order by npc,binary(name)', $nationID); //추방 때문에 조금 더 김 - } else { - $candidateStrength = []; - $candidateIntel = []; - $candidateAny = []; - } - - - if ($meLevel >= 5 && !isOfficerSet($nation['chief_set'], $meLevel)) { - echo " - - "; - } - - $officerLevelText = getOfficerLevelText(11, $nation['level']); - echo " -
- - - - - - - -
수 뇌 부 임 명
" . getOfficerLevelText(12, $nation['level']) . "{$level[12]['name']} 【" . CityConst::byID($level[12]['city'])->name . "】{$officerLevelText} -"; - if ($meLevel >= 5 && !isOfficerSet($nation['chief_set'], 11)) { echo " 노란색은 변경 불가능, 하얀색은 변경 가능 관직입니다.
+ + + + + + + + + + + +
추 방
대상 장수 + = 5 && !isOfficerSet($nation['chief_set'], $meLevel)) : ?> + + + id='btn_kick' value=추방> + +