From a4dad4d2826649fdd55aa43b91ae5e834be11197 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 11 Apr 2013 17:34:15 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=A3=B9=EC=88=9C=EC=84=9C=EC=99=80?= =?UTF-8?q?=20=EA=B2=8C=EC=8B=9C=ED=8C=90=EC=88=9C=EC=84=9C=EC=97=90=20?= =?UTF-8?q?=EB=94=B0=EB=9D=BC=20=EC=B6=9C=EB=A0=A5=EC=9D=B4=20=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/group.php | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/group.php b/bbs/group.php index 134fb93f3..40fbd6b67 100644 --- a/bbs/group.php +++ b/bbs/group.php @@ -18,7 +18,7 @@ include_once('./_head.php'); 'mobile' order by bo_table "; +$sql = " select bo_table, bo_subject from {$g4[board_table]} where gr_id = '{$gr_id}' and bo_list_level <= '{$member[mb_level]}' and bo_device <> 'mobile' order by bo_order "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $lt_style = ""; diff --git a/index.php b/index.php index 35341a743..d2d03f757 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ include_once('./_head.php'); 'mobile' order by gr_id, bo_table "; +$sql = " select bo_table from `{$g4['board_table']}` a left join `{$g4['group_table']}` b on (a.gr_id=b.gr_id) where a.bo_device <> 'mobile' order by b.gr_order, a.bo_order "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $lt_style = "";