diff --git a/adm/index.php b/adm/index.php index 2ca6feacc..cd6eeebff 100644 --- a/adm/index.php +++ b/adm/index.php @@ -3,8 +3,10 @@ $sub_menu = '100000'; require_once './_common.php'; @require_once './safe_check.php'; + if (function_exists('social_log_file_delete')) { - social_log_file_delete(86400); //소셜로그인 디버그 파일 24시간 지난것은 삭제 + //소셜로그인 디버그 파일 24시간 지난것은 삭제 + social_log_file_delete(86400); } $g5['title'] = '관리자메인'; @@ -14,8 +16,12 @@ $new_member_rows = 5; $new_point_rows = 5; $new_write_rows = 5; -if (! auth_check_menu($auth, '200100', 'r', true)) { +$addtional_content_before = run_replace('adm_index_addtional_content_before', '', $is_admin, $auth, $member); +if ($addtional_content_before) { + echo $addtional_content_before; +} +if (!auth_check_menu($auth, '200100', 'r', true)) { $sql_common = " from {$g5['member_table']} "; $sql_search = " where (1) "; @@ -31,7 +37,7 @@ if (! auth_check_menu($auth, '200100', 'r', true)) { $sql_order = " order by {$sst} {$sod} "; - $sql = " select count(*) as cnt {$sql_common} {$sql_search} {$sql_order} "; + $sql = " SELECT count(*) as cnt {$sql_common} {$sql_search} {$sql_order} "; $row = sql_fetch($sql); $total_count = $row['cnt']; @@ -41,11 +47,11 @@ if (! auth_check_menu($auth, '200100', 'r', true)) { $leave_count = $row['cnt']; // 차단회원수 - $sql = " select count(*) as cnt {$sql_common} {$sql_search} and mb_intercept_date <> '' {$sql_order} "; + $sql = " SELECT count(*) as cnt {$sql_common} {$sql_search} and mb_intercept_date <> '' {$sql_order} "; $row = sql_fetch($sql); $intercept_count = $row['cnt']; - $sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$new_member_rows} "; + $sql = " SELECT * {$sql_common} {$sql_search} {$sql_order} limit {$new_member_rows} "; $result = sql_query($sql); $colspan = 12; @@ -78,7 +84,7 @@ if (! auth_check_menu($auth, '200100', 'r', true)) { + ?> @@ -115,7 +121,7 @@ if (! auth_check_menu($auth, '200100', 'r', true)) { - 자료가 없습니다.'; @@ -128,18 +134,17 @@ if (! auth_check_menu($auth, '200100', 'r', true)) {
회원 전체보기
- - + ?> @@ -223,7 +228,7 @@ if (! auth_check_menu($auth, '300100', 'r', true)) { - 자료가 없습니다.'; @@ -239,19 +244,19 @@ if (! auth_check_menu($auth, '300100', 'r', true)) { '; $link2 = ''; } - ?> + ?> @@ -307,7 +312,7 @@ if (! auth_check_menu($auth, '200200', 'r', true)) { - -