diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 427f6c7c8..64c683eba 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -36,9 +36,9 @@ $sql = " select count(*) as cnt {$sql_search} {$sql_order} "; $row = sql_fetch($sql); -$total_count = $row[cnt]; +$total_count = $row['cnt']; -$rows = $config[cf_page_rows]; +$rows = $config['cf_page_rows']; $total_page = ceil($total_count / $rows); // 전체 페이지 계산 if (!$page) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지) $from_record = ($page - 1) * $rows; // 시작 열을 구함 @@ -50,6 +50,7 @@ $sql = " select * limit {$from_record}, {$rows} "; $result = sql_query($sql); +$listall = ''; if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌 $listall = '처음'; @@ -130,7 +131,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $s_upd = '수정'; $s_del = ''; if ($is_admin == 'super') { - //$s_del = '삭제'; + //$s_del = '삭제'; $s_del = '삭제'; } ?> @@ -151,9 +152,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) - - value="1" title="선택 시 접근회원 사용"> - + + value="1" title="선택 시 접근회원 사용"> + @@ -171,7 +172,7 @@ if ($i == 0)
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; }