diff --git a/bbs/group.php b/bbs/group.php index 9e1d74987..134fb93f3 100644 --- a/bbs/group.php +++ b/bbs/group.php @@ -8,6 +8,9 @@ if (G4_IS_MOBILE) { return; } +if(!$is_admin && $group['gr_device'] == 'mobile') + alert($group['gr_subject'].' 그룹은 모바일에서만 접근할 수 있습니다.'); + include_once('./_head.php'); ?> @@ -15,7 +18,7 @@ include_once('./_head.php'); 'mobile' order by bo_table "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $lt_style = ""; diff --git a/mobile/group.php b/mobile/group.php index 5eeb7e433..7ce401043 100644 --- a/mobile/group.php +++ b/mobile/group.php @@ -1,13 +1,16 @@ 'pc' order by bo_table "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { // 이 함수가 바로 최신글을 추출하는 역할을 합니다.