|
|
|
17년 전
|
조회 711
|
|
|
|
17년 전
|
조회 882
|
|
|
|
17년 전
|
조회 1,569
|
|
|
|
17년 전
|
조회 1,541
|
|
|
|
17년 전
|
조회 1,011
|
|
|
|
17년 전
|
조회 801
|
|
|
|
17년 전
|
조회 779
|
|
|
|
17년 전
|
조회 682
|
|
|
|
17년 전
|
조회 735
|
|
|
|
17년 전
|
조회 732
|
|
|
|
17년 전
|
조회 925
|
|
|
|
17년 전
|
조회 734
|
|
|
|
17년 전
|
조회 720
|
|
|
|
17년 전
|
조회 756
|
|
|
|
17년 전
|
조회 756
|
|
|
|
17년 전
|
조회 1,519
|
|
|
|
17년 전
|
조회 4,511
|
|
|
|
17년 전
|
조회 783
|
|
|
|
17년 전
|
조회 737
|
|
|
|
17년 전
|
조회 744
|
댓글 2개
latest.lib.php 안에 latest 함수를 하나 더 만들어서
global $member; 와 global $board; 를 꼭 추가해주고
$member[mb_level] 와 $board[목록권한필드]로 조건주면 될듯합니다..
수정했어요~
new.php
$sql_common = " from $g4[board_new_table] a, $g4[board_table] b, $g4[group_table] c
where a.bo_table = b.bo_table and b.gr_id = c.gr_id and b.bo_use_search = '1' and bo_list_level <= '$member[mb_level]'";
group.php
$sql = " select bo_table, bo_subject from $g4[board_table]
where gr_id = '$gr_id'
and bo_use_search = '1'
and bo_list_level <= '$member[mb_level]'
order by bo_table ";
index.php
$sql = " select bo_table, bo_subject from $g4[board_table]
where bo_list_level <= '$member[mb_level]' order by gr_id, bo_table ";