익명 게시판과 전체검색2
페이지 정보
본문
댓글목록
연후아빠님의 댓글
연후아빠쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
include/mainmenu/mainmenu.php
26라인수정
//board
echo "<div id='$row[gr_id]' class='board' onmouseover=\"show('$row[gr_id]')\" onmouseout=\"hide('$row[gr_id]')\">\n";
//게시판 권한 설정 적용, 전체 검색사용에 체크된 게시판만 검색순서에 따라 추출
//$sql1 = " select bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') and bo_use_search = '1' order by bo_order_search";
$sql1 = " select bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_order_search";
//제외보드설정
//$sql1 = " select * from $g4[board_table]
//where gr_id = '$row[gr_id]'
//and bo_table <> '제외보드1'
//and bo_table <> '제외보드2'
//order by bo_order_search ";
$result1 = sql_query($sql1);
for ($i1=0; $row1=sql_fetch_array($result1); $i1++) {
//해당 게시판일때 스타일 적용
******************************************
include/leftmenu/leftmenu.php
38라인수정
// 게시판 목록보기 권한설정순 정렬
//$sql2 = " SELECT bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_subject ";//참고하세요.
//$sql2 = " select bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') and bo_use_search = '1' order by bo_order_search";
$sql2 = " select bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_order_search";
//제외보드설정
//$sql2 = " select * from $g4[board_table]
//where gr_id = '$row[gr_id]'
//and bo_table <> '제외보드1'
//and bo_table <> '제외보드2'
//order by bo_order_search ";
$result2 = sql_query($sql2);
$bar = "";
***************************************************
관리자에서 검색사용에서 제외할 게시판 검색사용체크해제