From 4b61d3dc9c117afcbe0e4d2eeb0780e0f45280be Mon Sep 17 00:00:00 2001 From: sars Date: Mon, 14 Mar 2022 03:42:04 -0700 Subject: [PATCH] =?UTF-8?q?=EB=8F=99=EA=B2=B0=EC=83=81=ED=83=9C=EB=A5=BC?= =?UTF-8?q?=20isLocked=EB=A1=9C=20printStaticValue=EC=97=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hwe/index.php b/hwe/index.php index d61ae394..c0ad1834 100644 --- a/hwe/index.php +++ b/hwe/index.php @@ -47,7 +47,7 @@ if ($me['newmsg'] == 1 || $me['newvote'] == 1) { ], 'owner=%i', $userID); } -$plock = $db->queryFirstField('SELECT plock FROM plock LIMIT 1'); +$plock = boolval($db->queryFirstField('SELECT plock FROM plock LIMIT 1')); $con = checkLimit($me['con']); if ($con >= 2) { @@ -131,6 +131,7 @@ if (!$otherTextInfo) { 'serverNow' => TimeUtil::now(false), 'baseColor2' => GameConst::$basecolor2, 'lastExecuted' => $gameStor->turntime, + 'isLocked' => $plock, ]) ?> @@ -178,7 +179,7 @@ if (!$otherTextInfo) {
-
동작 시각: " . substr($gameStor->turntime, 5, 14) . "") : ("동작 시각: " . substr($gameStor->turntime, 5, 14) . "") ?>
+
동작 시각: " . substr($gameStor->turntime, 5, 14) . "") : ("동작 시각: " . substr($gameStor->turntime, 5, 14) . "") ?>
0) : ?>