diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index de79ae505..94b910f28 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -50,6 +50,7 @@ $sql = " select * limit {$from_record}, {$rows} "; $result = sql_query($sql); +$listall = ''; if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌 $listall = '처음'; diff --git a/bbs/write.php b/bbs/write.php index 2dd9b7e5b..769f5ec2f 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -233,7 +233,7 @@ if ($board['bo_use_category']) { $ca_name = ""; if (isset($write['ca_name'])) $ca_name = $write['ca_name']; - $category_option = get_category_option($bo_table); + $category_option = get_category_option($bo_table, $ca_name); $is_category = true; } diff --git a/lib/common.lib.php b/lib/common.lib.php index c8096c574..18d9b8277 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -728,15 +728,22 @@ function is_admin($mb_id) // 분류 옵션을 얻음 // 4.00 에서는 카테고리 테이블을 없애고 보드테이블에 있는 내용으로 대체 -function get_category_option($bo_table='') +function get_category_option($bo_table='', $ca_name='') { global $g4, $board; $arr = explode("|", $board['bo_category_list']); // 구분자가 , 로 되어 있음 $str = ""; - for ($i=0; $i - + + diff --git a/skin/member/neo/login.skin.php b/skin/member/neo/login.skin.php index dfb081170..7c77074c0 100644 --- a/skin/member/neo/login.skin.php +++ b/skin/member/neo/login.skin.php @@ -23,11 +23,16 @@ if ($g4['https_url']) { else { $login_url = $urlencode; } + +if ($g4['https_url']) + $action_url = "{$g4['https_url']}/$g4[bbs]/login_check.php"; +else + $action_url = "{$g4['bbs_path']}/login_check.php"; ?> -
+
@@ -58,13 +63,6 @@ document.flogin.mb_id.focus(); function flogin_submit(f) { - - return true; }