From 2804cede99020403cdb13a4f7f485edb0011584b Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 11 Apr 2013 14:35:08 +0900 Subject: [PATCH] =?UTF-8?q?device=20=EC=84=A4=EC=A0=95=EC=97=90=20?= =?UTF-8?q?=EB=94=B0=EB=9D=BC=20=EC=A0=91=EA=B7=BC=20=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/group.php | 5 ++++- mobile/group.php | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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++) { // 이 함수가 바로 최신글을 추출하는 역할을 합니다.