답변 2개
채택된 답변
+20 포인트
/bbs/list.php 파일을 수정하면 모든 게시판에 적용됩니다.
$sql = " select * from {$write_table} where wr_is_comment = 0 and wr_reply = '' ";
Copy
if ($is_search_bbs) {
$sql = " select distinct wr_parent from {$write_table} where {$sql_search} {$sql_order} limit {$from_record}, $page_rows ";
} else {
$sql = " select * from {$write_table} where wr_is_comment = 0 and wr_reply = '' ";
if(!empty($notice_array))
$sql .= " and wr_id not in (".implode(', ', $notice_array).") ";
$sql .= " {$sql_order} limit {$from_record}, $page_rows ";
}
답변을 작성하려면 로그인이 필요합니다.
