3.36 버전에서 그룹별 검색기능을...

· 21년 전 · 413
http://sir.co.kr/?doc=bbs/gnuboard.php&bo_table=tiptech&sselect=wr_subject&stext=%B1%D7%B7%EC%BA%B0+%B0%CB%BB%F6&soperator=1&page=1&wr_id=4499

여기를 참고하여 그룹별 검색 기능을 주려고 했는데... 숫자는 검색이 되는데 한글은 검색이 안되네요.

원본소스
----------------------------------------------------------------------
// 3.36
unset($gnusearch[tables]);
$sql = " select bo_table from $cfg[table_board]
where bo_use_search = '1'
and bo_list_level <= '$member[mb_level]'
and bo_read_level <= '$member[mb_level]' ";
if ($onetable) $sql .= " and bo_table = '$onetable' ";
$sql .= " order by bo_order_search ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$gnusearch[tables][] = $row[bo_table];
}
======================================================================

수정본
----------------------------------------------------------------------
// 3.36
unset($gnusearch[tables]);
$sql = " select bo_table from $cfg[table_board]
where bo_use_search = '1'
and bo_list_level <= '$member[mb_level]'
and bo_read_level <= '$member[mb_level]' ";
if ($search_gr_id) $sql .= " and gr_id = '$search_gr_id' "; // 수정된 부분
//if ($onetable) $sql .= " and bo_table = '$onetable' ";
$sql .= " order by bo_order_search ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$gnusearch[tables][] = $row[bo_table];
}
======================================================================

3.36버전 그룹검색 기능 사용하시는 분들 도움 주세요...
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누3질답

+
제목 글쓴이 날짜 조회
21년 전 조회 403
21년 전 조회 335
21년 전 조회 681
21년 전 조회 348
21년 전 조회 464
21년 전 조회 417
21년 전 조회 274
21년 전 조회 365
21년 전 조회 343
21년 전 조회 414
21년 전 조회 563
21년 전 조회 512
21년 전 조회 3,070
21년 전 조회 814
21년 전 조회 365
21년 전 조회 371
21년 전 조회 463
21년 전 조회 419
21년 전 조회 1,230
21년 전 조회 583
🐛 버그신고