From 1668ed095b6110d2316f404f08b0e34f7d228ab4 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 7 Oct 2013 11:17:30 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=EC=A7=80=EA=B8=80=EC=9D=B8=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=EB=8A=94=20=ED=95=B4=EB=8B=B9=EA=B8=80?= =?UTF-8?q?=EC=9D=84=20=EA=B0=99=EC=9D=80=20=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=8B=A4=EC=8B=9C=20=EB=85=B8=EC=B6=9C?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/list.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bbs/list.php b/bbs/list.php index 25ee72198..b173899c9 100644 --- a/bbs/list.php +++ b/bbs/list.php @@ -130,6 +130,9 @@ $k = 0; while ($row = sql_fetch_array($result)) { + // 공지글인 경우는 해당글을 같은 페이지에서 다시 노출하지 않는다. + if (in_array($row['wr_id'], $arr_notice)) continue; + // 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다 if ($sca || $stx) $row = sql_fetch(" select * from {$write_table} where wr_id = '{$row['wr_parent']}' ");