diff --git a/adm/admin.lib.php b/adm/admin.lib.php index e9485e693..d1f1034fb 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -46,7 +46,7 @@ function member_delete($mb_id) // 회원자료는 정보만 없앤 후 아이디는 보관하여 다른 사람이 사용하지 못하도록 함 : 061025 if ($mb['mb_level'] > 1) { - $sql = " update $g4[member_table] + " update $g4[member_table] set mb_jumin = '', mb_password = '', mb_level = 1, @@ -222,10 +222,14 @@ function rm_rf($file) } } -// 삭제 대상 : 지운아빠 2012-11-01 : github issue #8 comment 추가내용의 1. 내용 참조 -// 프로그램 오류 때문에 임시로 살려둠 -function help($help='', $left=0, $top=0) +// 입력 폼 안내문 +function help($help="") { + global $g4; + + $str = ''.$help.''; + + return $str; } // 출력순서 diff --git a/adm/auth_list.php b/adm/auth_list.php index 6fb0304c5..0ce81eadb 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -14,7 +14,7 @@ if ($stx) { $sql_search .= " and ( "; switch ($sfl) { default : - $sql_search .= " ($sfl like '%$stx%') "; + $sql_search .= " ({$sfl} like '%{$stx}%') "; break; } $sql_search .= " ) "; diff --git a/adm/board_copy.php b/adm/board_copy.php index aadb16082..00721bffb 100644 --- a/adm/board_copy.php +++ b/adm/board_copy.php @@ -1,62 +1,50 @@ -$sub_menu = '300100'; -include_once('./_common.php'); +$sub_menu = "300100"; +include_once("./_common.php"); auth_check($auth[$sub_menu], 'w'); $token = get_token(); $g4[title] = '게시판 복사'; +$administrator = 1; include_once($g4['path'].'/head.sub.php'); ?> - - -