답변 2개
채택된 답변
+20 포인트
list.php
if ($sca || $stx) {
$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 ";
if(!empty($notice_array))
$sql .= " and wr_id not in (".implode(', ', $notice_array).") ";
$sql .= " {$sql_order} limit {$from_record}, $page_rows ";
}
이러게 되어있는데요
이부분에 아래소스를 넣으면
if($bo_table=='적용시킬 게시판 table이름')
$sql="select * from {$write_table} where wr_1!=1 and wr_is_comment = 0 order by rand() limit {$from_record}, $page_rows ";
}
아마 작동 하지 안을까 생각되네요
답변을 작성하려면 로그인이 필요합니다.