|
|
|
16년 전
|
조회 909
|
|
|
|
16년 전
|
조회 852
|
|
|
|
16년 전
|
조회 1,641
|
|
|
|
16년 전
|
조회 791
|
|
|
|
16년 전
|
조회 967
|
|
|
|
16년 전
|
조회 1,037
|
|
|
|
16년 전
|
조회 1,088
|
|
|
|
16년 전
|
조회 1,490
|
|
|
|
16년 전
|
조회 1,561
|
|
|
|
16년 전
|
조회 1,571
|
|
|
|
16년 전
|
조회 1,574
|
|
|
|
16년 전
|
조회 875
|
|
|
|
16년 전
|
조회 977
|
|
|
|
16년 전
|
조회 1,563
|
|
|
|
16년 전
|
조회 1,631
|
|
|
|
16년 전
|
조회 968
|
|
|
|
16년 전
|
조회 980
|
|
|
|
16년 전
|
조회 841
|
|
|
|
16년 전
|
조회 835
|
|
|
|
16년 전
|
조회 967
|
댓글 2개
// 그룹접근 사용
if ($group[gr_use_access])
{
if (!$member[mb_id]) {
$msg = "비회원은 이 게시판에 접근할 권한이 없습니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.";
if ($cwin)
alert_close($msg);
else
alert($msg, "./login.php?url=".urlencode("./board.php?bo_table=$bo_table"));
}
// 그룹관리자 이상이라면 통과
if ($is_admin == "super" || $is_admin == "group")
;
else
{
// 그룹접근
$sql = " select count(*) as cnt
from $g4[group_member_table]
where gr_id = '$board[gr_id]' and mb_id = '$member[mb_id]' ";
$row = sql_fetch($sql);
if (!$row[cnt])
alert("접근 권한이 없으므로 글읽기가 불가합니다.\\n\\n궁금하신 사항은 관리자에게 문의 바랍니다.", $g4[path]);
}
}