From 3fca0aa38c246d87e96ca19b1849a35638ed279b Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 1 Feb 2013 16:16:46 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=84=EB=A5=98=EB=A5=BC=20select>option=20?= =?UTF-8?q?=EC=97=90=EC=84=9C=20ul>li=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/list.php | 8 +++++++- skin/board/neo/list.skin.php | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bbs/list.php b/bbs/list.php index 5fd3973bb..c8d3add00 100644 --- a/bbs/list.php +++ b/bbs/list.php @@ -3,10 +3,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // 분류 사용 여부 $is_category = false; +$category_option = ''; if ($board['bo_use_category']) { $is_category = true; $category_location = './board.php?bo_table='.$bo_table.'&sca='; - $category_option = get_category_option($bo_table); // SELECT OPTION 태그로 넘겨받음 + + $categorys = explode('|', $board['bo_category_list']); // 구분자가 , 로 되어 있음 + for ($i=0; $i'; + } } $sop = strtolower($sop); diff --git a/skin/board/neo/list.skin.php b/skin/board/neo/list.skin.php index 2548cbc10..0a8fda556 100644 --- a/skin/board/neo/list.skin.php +++ b/skin/board/neo/list.skin.php @@ -15,10 +15,10 @@ if ($is_nogood) $colspan++;
- +