From fa63e4c47cd935deaa95ccdfd15e0d0fa4fe2f5b Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 20 Nov 2012 11:15:32 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20#47=EC=9D=98=205?= =?UTF-8?q?=20=EC=B2=98=EB=A6=AC=20:=20config=5Ftable=20=EA=B9=8C=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.lib.php | 2 +- adm/auth_list.php | 2 +- adm/board_copy_update.php | 12 ++-- adm/board_form.php | 8 +-- adm/board_form_update.php | 4 +- adm/board_list.php | 2 +- adm/boardgroup_list.php | 2 +- adm/boardgroupmember_list.php | 2 +- adm/config_form.php | 104 ++++++++++++++++---------------- adm/config_form_update.php | 110 +++++++++++++++++----------------- adm/index.php | 16 ++--- adm/mail_select_form.php | 2 +- adm/mail_test.php | 2 +- adm/member_form.php | 4 +- adm/member_list.php | 2 +- adm/point_list.php | 2 +- adm/poll_list.php | 2 +- adm/popular_list.php | 2 +- adm/popular_rank.php | 2 +- adm/sendmail_test.php | 2 +- 20 files changed, 142 insertions(+), 142 deletions(-) diff --git a/adm/admin.lib.php b/adm/admin.lib.php index 1c32eb9b6..da095efd9 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -41,7 +41,7 @@ function member_delete($mb_id) if ($mb['mb_recommend']) { $row = sql_fetch(" select count(*) as cnt from {$g4['member_table']} where mb_id = '".addslashes($mb['mb_recommend'])."' "); if ($row[cnt]) - insert_point($mb['mb_recommend'], $config['cf_recommend_point'] * (-1), $mb_id.'님의 회원자료 삭제로 인한 추천인 포인트 반환', "@member", $mb['mb_recommend'], $mb_id.' 추천인 삭제'); + insert_point($mb['mb_recommend'], $config[cf_recommend_point] * (-1), $mb_id.'님의 회원자료 삭제로 인한 추천인 포인트 반환', "@member", $mb['mb_recommend'], $mb_id.' 추천인 삭제'); } // 회원자료는 정보만 없앤 후 아이디는 보관하여 다른 사람이 사용하지 못하도록 함 : 061025 diff --git a/adm/auth_list.php b/adm/auth_list.php index 3554f3e4c..6f2b7553f 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -132,7 +132,7 @@ if ($i==0)
diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 2bd9fbf07..cbeacc3f8 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -181,16 +181,16 @@ if (count($file_copy)) { $sql = " insert into $g4[board_file_table] set bo_table = '$target_table', - wr_id = '{$file_copy[$i]['wr_id']}', - bf_no = '{$file_copy[$i]['bf_no']}', + wr_id = '{$file_copy[$i][wr_id]}', + bf_no = '{$file_copy[$i][bf_no]}', bf_source = '{$file_copy[$i]['bf_source']}', bf_file = '{$file_copy[$i]['bf_file']}', bf_download = '{$file_copy[$i]['bf_download']}', bf_content = '{$file_copy[$i]['bf_content']}', - bf_filesize = '{$file_copy[$i]['bf_filesize']}', - bf_width = '{$file_copy[$i]['bf_width']}', - bf_height = '{$file_copy[$i]['bf_height']}', - bf_type = '{$file_copy[$i]['bf_type']}', + bf_filesize = '{$file_copy[$i][bf_filesize]}', + bf_width = '{$file_copy[$i][bf_width]}', + bf_height = '{$file_copy[$i][bf_height]}', + bf_type = '{$file_copy[$i][bf_type]}', bf_datetime = '{$file_copy[$i]['bf_datetime']}' "; sql_query($sql, FALSE); } diff --git a/adm/board_form.php b/adm/board_form.php index a17a53793..826f5ea62 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -861,10 +861,10 @@ function board_copy(bo_table) { function set_point(f) { if (f.chk_point.checked) { - f.bo_read_point.value = ""; - f.bo_write_point.value = ""; - f.bo_comment_point.value = ""; - f.bo_download_point.value = ""; + f.bo_read_point.value = ""; + f.bo_write_point.value = ""; + f.bo_comment_point.value = ""; + f.bo_download_point.value = ""; } else { f.bo_read_point.value = f.bo_read_point.defaultValue; f.bo_write_point.value = f.bo_write_point.defaultValue; diff --git a/adm/board_form_update.php b/adm/board_form_update.php index e9f76e536..26e6c134c 100644 --- a/adm/board_form_update.php +++ b/adm/board_form_update.php @@ -204,10 +204,10 @@ if ($w == '') { $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { // 코멘트수를 얻습니다. - $sql2 = " select count(*) as cnt from {$g4['write_prefix']}$bo_table where wr_parent = '{$row['wr_id']}' and wr_is_comment = 1 "; + $sql2 = " select count(*) as cnt from {$g4['write_prefix']}$bo_table where wr_parent = '{$row[wr_id]}' and wr_is_comment = 1 "; $row2 = sql_fetch($sql2); - sql_query(" update {$g4['write_prefix']}{$bo_table} set wr_comment = '{$row2[cnt]}' where wr_id = '{$row['wr_id']}' "); + sql_query(" update {$g4['write_prefix']}{$bo_table} set wr_comment = '{$row2[cnt]}' where wr_id = '{$row[wr_id]}' "); } } diff --git a/adm/board_list.php b/adm/board_list.php index c0417391e..d012ae02c 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -203,7 +203,7 @@ if ($i == 0)
diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 8d0e1eb39..657387f46 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -166,7 +166,7 @@ if ($i == 0)
diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php index d1768320a..4dbd52cae 100644 --- a/adm/boardgroupmember_list.php +++ b/adm/boardgroupmember_list.php @@ -120,7 +120,7 @@ if ($i == 0)
diff --git a/adm/config_form.php b/adm/config_form.php index 752f2a857..899dced8b 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -39,62 +39,62 @@ include_once ('./admin.head.php'); - > 사용 + > 사용 - 점 + 0으로 입력하시면 쪽지보낼시 포인트를 차감하지 않습니다.')?> - 점 + - 자리만 표시 + 자리만 표시 - 수정한 후 일 동안 바꿀 수 없음 + 수정한 후 일 동안 바꿀 수 없음 - 수정한 후 일 동안 바꿀 수 없음 + 수정한 후 일 동안 바꿀 수 없음 - 일 + - 일 + - 일 + - 일 + - 분 + @@ -116,7 +116,7 @@ include_once ('./admin.head.php'); - 라인 + 라인 @@ -147,7 +147,7 @@ include_once ('./admin.head.php'); - > 남김 + > 남김 @@ -173,15 +173,15 @@ include_once ('./admin.head.php'); - 점 + - 점 + - 점 + - 점 + @@ -190,7 +190,7 @@ include_once ('./admin.head.php'); - 건 단위로 검색 + 건 단위로 검색 @@ -200,9 +200,9 @@ include_once ('./admin.head.php'); - 초 지난후 가능 + 초 지난후 가능 - 페이지씩 표시 + 페이지씩 표시 @@ -258,48 +258,48 @@ include_once ('./admin.head.php'); 홈페이지 입력 - > - > + > + > 주소 입력 - > - > + > + > 전화번호 입력 - > - > + > + > 핸드폰 입력 - > - > + > + > 서명 입력 - > - > + > + > 자기소개 입력 - > - > + > + > - + - 일 후 자동 삭제 + 일 후 자동 삭제 @@ -310,25 +310,25 @@ include_once ('./admin.head.php');
diff --git a/adm/point_list.php b/adm/point_list.php index 09dda689b..bccabd177 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -174,7 +174,7 @@ if ($i == 0)
diff --git a/adm/poll_list.php b/adm/poll_list.php index 3a8a9ac6b..ddd899b27 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -113,7 +113,7 @@ if ($i==0)
diff --git a/adm/popular_list.php b/adm/popular_list.php index c65c2d235..d3752691b 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -138,7 +138,7 @@ if ($i == 0)
diff --git a/adm/popular_rank.php b/adm/popular_rank.php index 09ac68c03..e9c7c655b 100644 --- a/adm/popular_rank.php +++ b/adm/popular_rank.php @@ -101,7 +101,7 @@ if ($i == 0)
diff --git a/adm/sendmail_test.php b/adm/sendmail_test.php index 8014df855..edfdcad68 100644 --- a/adm/sendmail_test.php +++ b/adm/sendmail_test.php @@ -4,7 +4,7 @@ include_once('./_common.php'); auth_check($auth[$sub_menu], 'r'); -if (!$config['cf_email_use']) +if (!$config[cf_email_use]) alert('환경설정에서 \'메일발송 사용\'에 체크하셔야 메일을 발송할 수 있습니다.'); include_once($g4['path'].'/lib/mailer.lib.php');