From a3d7ef30dd43bc2766dd9c4210a8ef946cac8a39 Mon Sep 17 00:00:00 2001 From: sars Date: Mon, 20 May 2024 19:03:51 -0700 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EC=88=98=EB=AA=A9=EB=A1=9D=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=9E=A5=EC=88=98=EB=AA=85=EC=97=90=20=EB=A7=88?= =?UTF-8?q?=EC=9A=B0=EC=8A=A4=EB=A5=BC=20=EC=98=AC=EB=A6=AC=EB=A9=B4=20?= =?UTF-8?q?=EB=B3=B8=EB=8B=89=20=EA=B3=B5=EA=B0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_genList.php | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/hwe/a_genList.php b/hwe/a_genList.php index 68c6bcbf..b605228c 100644 --- a/hwe/a_genList.php +++ b/hwe/a_genList.php @@ -32,10 +32,8 @@ if ($type <= 0 || $type > 15) { } $ownerNameList = []; -if ($gameStor->isunited) { - foreach (RootDB::db()->queryAllLists('SELECT no, name FROM member') as [$ownerID, $ownerName]) { - $ownerNameList[$ownerID] = $ownerName; - } +foreach (RootDB::db()->queryAllLists('SELECT no, name FROM member') as [$ownerID, $ownerName]) { + $ownerNameList[$ownerID] = $ownerName; } ?> @@ -54,6 +52,15 @@ if ($gameStor->isunited) { + @@ -168,7 +175,11 @@ if ($gameStor->isunited) { $name = formatName($general['name'], $general['npc']); if (key_exists($general['owner'], $ownerNameList)) { - $name = $name . '
(' . $ownerNameList[$general['owner']] . ')'; + if ($gameStor->isunited) { + $name = $name . '
(' . $ownerNameList[$general['owner']] . ')'; + } else { + $name = $name . '
(' . $ownerNameList[$general['owner']] . ')'; + } } $general['refresh_score_total'] = Util::round($general['refresh_score_total'], -1); @@ -185,7 +196,7 @@ if ($gameStor->isunited) { data-npc-type='{$general['npc']}' > - $name + $name {$general['age']}세 " . displayCharInfo($general['personal']) . " " . displaySpecialDomesticInfo($general['special']) . " / " . displaySpecialWarInfo($general['special2']) . "