From e93e829fb63e9206e5af60cd78c554e8a381e850 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 25 Nov 2013 12:57:47 +0900 Subject: [PATCH 1/9] =?UTF-8?q?=EC=A0=84=EC=B2=B4=EA=B2=8C=EC=8B=9C?= =?UTF-8?q?=EB=AC=BC=EC=97=90=20=EC=84=A0=ED=83=9D=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=EB=84=A3=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/new_delete.php | 130 ++++++++++++++++++++++++++++++++++++ skin/new/basic/new.skin.php | 65 ++++++++++++++++++ 2 files changed, 195 insertions(+) create mode 100644 bbs/new_delete.php diff --git a/bbs/new_delete.php b/bbs/new_delete.php new file mode 100644 index 000000000..d949df1bb --- /dev/null +++ b/bbs/new_delete.php @@ -0,0 +1,130 @@ + 0 || $count_comment > 0) { + sql_query(" update {$g5['board_table']} set bo_count_write = bo_count_write - '$count_write', bo_count_comment = bo_count_comment - '$count_comment' where bo_table = '$bo_table' "); + } + } + } + else // 코멘트 삭제 + { + //-------------------------------------------------------------------- + // 코멘트 삭제시 답변 코멘트 까지 삭제되지는 않음 + //-------------------------------------------------------------------- + //print_r2($write); + + $comment_id = $wr_id; + + $len = strlen($write['wr_comment_reply']); + if ($len < 0) $len = 0; + $comment_reply = substr($write['wr_comment_reply'], 0, $len); + + // 코멘트 삭제 + if (!delete_point($write['mb_id'], $bo_table, $comment_id, '코멘트')) { + insert_point($write['mb_id'], $board['bo_comment_point'] * (-1), "{$board['bo_subject']} {$write[wr_parent]}-{$comment_id} 코멘트삭제"); + } + + // 코멘트 삭제 + sql_query(" delete from $write_table where wr_id = '$comment_id' "); + + // 코멘트가 삭제되므로 해당 게시물에 대한 최근 시간을 다시 얻는다. + $sql = " select max(wr_datetime) as wr_last from $write_table where wr_parent = '{$write['wr_parent']}' "; + $row = sql_fetch($sql); + + // 원글의 코멘트 숫자를 감소 + sql_query(" update $write_table set wr_comment = wr_comment - 1, wr_last = '$row[wr_last]' where wr_id = '{$write['wr_parent']}' "); + + // 코멘트 숫자 감소 + sql_query(" update {$g5['board_table']} set bo_count_comment = bo_count_comment - 1 where bo_table = '$bo_table' "); + + // 새글 삭제 + sql_query(" delete from {$g5['board_new_table']} where bo_table = '$bo_table' and wr_id = '$comment_id' "); + } +} + +goto_url("new.php?sfl=$sfl&stx=$stx&page=$page"); +?> diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php index 2d4e46196..30d148fa8 100644 --- a/skin/new/basic/new.skin.php +++ b/skin/new/basic/new.skin.php @@ -33,10 +33,26 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 +
+ + + + + + + + +
+ + + @@ -48,11 +64,18 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 + + + @@ -68,5 +91,47 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
+ + + 그룹 게시판 제목
+ + +
+ +
+ + +
+ +
+ + + + + \ No newline at end of file From 4210b25657c187f12f5e22150bd0a7a1122e8667 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 25 Nov 2013 14:59:13 +0900 Subject: [PATCH 2/9] =?UTF-8?q?=EC=83=88=EA=B8=80=EC=97=90=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=EC=82=AD=EC=A0=9C=20=EA=B8=B0=EB=8A=A5=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/new_delete.php | 16 ++++++++++++++-- skin/new/basic/new.skin.php | 5 +++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/bbs/new_delete.php b/bbs/new_delete.php index d949df1bb..6358d4885 100644 --- a/bbs/new_delete.php +++ b/bbs/new_delete.php @@ -7,10 +7,17 @@ if ($is_admin != 'super') alert("최고관리자만 접근이 가능합니다."); $board = array(); +$save_bo_table = array(); for($i=0;$i$value) { + delete_cache_latest($value); +} + goto_url("new.php?sfl=$sfl&stx=$stx&page=$page"); -?> +?> \ No newline at end of file diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php index 30d148fa8..1da307c81 100644 --- a/skin/new/basic/new.skin.php +++ b/skin/new/basic/new.skin.php @@ -73,7 +73,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 - + + + @@ -94,7 +96,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
-
From d4ad2cbe37c5c101b799b069733336bdaf957375 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 25 Nov 2013 15:12:18 +0900 Subject: [PATCH 3/9] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=ED=99=80=EC=A7=9D=20=EB=B0=B0=EA=B2=BD=EC=83=89=20?= =?UTF-8?q?=ED=81=B4=EB=9E=98=EC=8A=A4=EB=AA=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/auth_list.php | 4 ++-- adm/board_list.php | 4 ++-- adm/boardgroup_list.php | 4 ++-- adm/boardgroupmember_list.php | 4 ++-- adm/mail_list.php | 4 ++-- adm/mail_select_list.php | 4 ++-- adm/member_list.php | 6 +++--- adm/point_list.php | 4 ++-- adm/poll_list.php | 4 ++-- adm/popular_list.php | 4 ++-- adm/visit_browser.php | 4 ++-- adm/visit_date.php | 4 ++-- adm/visit_domain.php | 4 ++-- adm/visit_hour.php | 4 ++-- adm/visit_list.php | 4 ++-- adm/visit_month.php | 4 ++-- adm/visit_os.php | 4 ++-- adm/visit_search.php | 4 ++-- adm/visit_week.php | 4 ++-- adm/visit_year.php | 4 ++-- css/admin.css | 10 ++++++++-- 21 files changed, 49 insertions(+), 43 deletions(-) diff --git a/adm/auth_list.php b/adm/auth_list.php index 9f5758b56..ee19eb7b6 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -103,9 +103,9 @@ $colspan = 5; continue; } - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/board_list.php b/adm/board_list.php index dd7ed5eb2..94b1b1415 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -119,10 +119,10 @@ $colspan = 16; $one_update = '수정'; $one_copy = '복사'; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 673485eb3..4b735294c 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -125,10 +125,10 @@ $colspan = 11; $s_upd = '수정'; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php index 37549e711..91c61a462 100644 --- a/adm/boardgroupmember_list.php +++ b/adm/boardgroupmember_list.php @@ -110,9 +110,9 @@ $colspan = 7; $mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/mail_list.php b/adm/mail_list.php index 2ac9d1237..783004d10 100644 --- a/adm/mail_list.php +++ b/adm/mail_list.php @@ -57,10 +57,10 @@ $colspan = 7; $num = number_format($total_count - ($page - 1) * $config['cf_page_rows'] - $i); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/mail_select_list.php b/adm/mail_select_list.php index e95ca52a7..615804895 100644 --- a/adm/mail_select_list.php +++ b/adm/mail_select_list.php @@ -96,9 +96,9 @@ include_once('./admin.head.php'); $ma_list .= $cr . $row['mb_email'] . "||" . $row['mb_id'] . "||" . $row['mb_name'] . "||" . $row['mb_nick'] . "||" . $row['mb_datetime']; $cr = "\n"; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/member_list.php b/adm/member_list.php index 63595fd2c..830b9231b 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -187,7 +187,7 @@ $colspan = 15; $address = $row['mb_zip1'] ? $row['mb_addr1'].' '.$row['mb_addr2'] : ''; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); switch($row['mb_certify']) { case 'hp': @@ -209,7 +209,7 @@ $colspan = 15; } ?> - + @@ -235,7 +235,7 @@ $colspan = 15; - +
Yes':'No'; ?> value="1"> diff --git a/adm/point_list.php b/adm/point_list.php index a6ea202ea..d6400b196 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -151,10 +151,10 @@ function point_clear() if($row['po_expired'] == 1) $expr = ' txt_expired'; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/poll_list.php b/adm/poll_list.php index 40070ed9a..990fccc57 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -105,10 +105,10 @@ $colspan = 7; $s_mod = '수정'; //$s_del = '삭제'; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/popular_list.php b/adm/popular_list.php index bf5b2feb4..f5cae7110 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -112,10 +112,10 @@ var list_delete_php = 'popular_list.php'; for ($i=0; $row=sql_fetch_array($result); $i++) { $word = get_text($row['pp_word']); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/visit_browser.php b/adm/visit_browser.php index 3c1656a6a..49b2e77d6 100644 --- a/adm/visit_browser.php +++ b/adm/visit_browser.php @@ -65,10 +65,10 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/visit_date.php b/adm/visit_date.php index 9f180df30..1b3a5bf4a 100644 --- a/adm/visit_date.php +++ b/adm/visit_date.php @@ -56,10 +56,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - +
diff --git a/adm/visit_domain.php b/adm/visit_domain.php index 2c3f9c919..da7d2db55 100644 --- a/adm/visit_domain.php +++ b/adm/visit_domain.php @@ -76,9 +76,9 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/visit_hour.php b/adm/visit_hour.php index 5e6cb1922..2e0a692dc 100644 --- a/adm/visit_hour.php +++ b/adm/visit_hour.php @@ -55,9 +55,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - +
diff --git a/adm/visit_list.php b/adm/visit_list.php index 200cda1b5..694c449bf 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -78,9 +78,9 @@ $result = sql_query($sql); if ($brow == '기타') { $brow = ''.$brow.''; } if ($os == '기타') { $os = ''.$os.''; } - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/visit_month.php b/adm/visit_month.php index 6a61e38d4..4e5b95d41 100644 --- a/adm/visit_month.php +++ b/adm/visit_month.php @@ -57,10 +57,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - +
diff --git a/adm/visit_os.php b/adm/visit_os.php index 936237a72..c0e043683 100644 --- a/adm/visit_os.php +++ b/adm/visit_os.php @@ -69,10 +69,10 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/visit_search.php b/adm/visit_search.php index 466d2f711..3408614ed 100644 --- a/adm/visit_search.php +++ b/adm/visit_search.php @@ -114,9 +114,9 @@ $listall = '처음'; //페이지 처음 if ($brow == '기타') $brow = ''.$brow.''; if ($os == '기타') $os = ''.$os.''; - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - + diff --git a/adm/visit_week.php b/adm/visit_week.php index d554d9be9..1842feed8 100644 --- a/adm/visit_week.php +++ b/adm/visit_week.php @@ -52,10 +52,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - +
diff --git a/adm/visit_year.php b/adm/visit_year.php index a176ad681..4bd0f0d9f 100644 --- a/adm/visit_year.php +++ b/adm/visit_year.php @@ -57,10 +57,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = 'tr_bg'.($i%2); + $bg = 'bg'.($i%2); ?> - +
diff --git a/css/admin.css b/css/admin.css index 8ac3a4137..379a093e3 100644 --- a/css/admin.css +++ b/css/admin.css @@ -245,8 +245,6 @@ tbody td {border:1px solid #ececec} tfoot th, tfoot td {padding:10px 0;border:1px solid #c1d1d5;background:#d7e0e2} tfoot th {} tfoot td {font-weight:bold;text-align:center} -table .tr_bg0 {background:#fff} -table .tr_bg1 {background:#f0f3f7} .tbl_wrap {margin:0 0 10px;padding:0 20px} .tbl_wrap td.empty_table {padding:100px 0;text-align:center} @@ -296,6 +294,14 @@ table .tr_bg1 {background:#f0f3f7} .grid_17 {width:850px} .grid_18 {width:900px} +/* 목록 홀짝 배경색 */ +.bg0 {background:#fff} +.bg1 {background:#f0f3f7} +.bg0cancel {background:#fdebf3} +.bg0cancel td {border-color:#f9d8e6} +.bg1cancel {background:#fdebf3} +.bg1cancel td {border-color:#f9d8e6} + /* 회원관리 목록 */ .mb_leave_msg {color:#b6b6b6} .mb_intercept_msg {color:#f59fe4} From 2c6931107f11a801c175af826d716f4c494b40c1 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 25 Nov 2013 15:54:47 +0900 Subject: [PATCH 4/9] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EC=87=BC?= =?UTF-8?q?=ED=95=91=EB=AA=B0=ED=98=84=ED=99=A9=20=EC=9E=91=EC=97=85=20?= =?UTF-8?q?=EC=A4=91=20empty=5Ftable=20->=20empty=5Fdata=20=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/auth_list.php | 2 +- adm/board_list.php | 2 +- adm/boardgroup_list.php | 2 +- adm/boardgroupmember_form.php | 2 +- adm/boardgroupmember_list.php | 2 +- adm/index.php | 6 +++--- adm/mail_list.php | 2 +- 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/visit_browser.php | 2 +- adm/visit_date.php | 2 +- adm/visit_domain.php | 2 +- adm/visit_hour.php | 2 +- adm/visit_list.php | 2 +- adm/visit_month.php | 2 +- adm/visit_os.php | 2 +- adm/visit_search.php | 2 +- adm/visit_week.php | 2 +- adm/visit_year.php | 2 +- css/admin.css | 6 ++++-- 23 files changed, 28 insertions(+), 26 deletions(-) diff --git a/adm/auth_list.php b/adm/auth_list.php index ee19eb7b6..00aebab42 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -124,7 +124,7 @@ $colspan = 5; } if ($i==0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/board_list.php b/adm/board_list.php index 94b1b1415..2e95a3d79 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -198,7 +198,7 @@ $colspan = 16; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 4b735294c..088ffebf7 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -175,7 +175,7 @@ $colspan = 11; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?>
diff --git a/adm/boardgroupmember_form.php b/adm/boardgroupmember_form.php index 5af8edb47..24a9190a5 100644 --- a/adm/boardgroupmember_form.php +++ b/adm/boardgroupmember_form.php @@ -88,7 +88,7 @@ $colspan = 4; } if ($i == 0) { - echo '접근가능한 그룹이 없습니다.'; + echo '접근가능한 그룹이 없습니다.'; } ?> diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php index 91c61a462..1ea879ced 100644 --- a/adm/boardgroupmember_list.php +++ b/adm/boardgroupmember_list.php @@ -129,7 +129,7 @@ $colspan = 7; if ($i == 0) { - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/index.php b/adm/index.php index 4535da574..ce58be906 100644 --- a/adm/index.php +++ b/adm/index.php @@ -115,7 +115,7 @@ $colspan = 12; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> @@ -215,7 +215,7 @@ $colspan = 5; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> @@ -296,7 +296,7 @@ $colspan = 7; } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/mail_list.php b/adm/mail_list.php index 783004d10..47373b6df 100644 --- a/adm/mail_list.php +++ b/adm/mail_list.php @@ -75,7 +75,7 @@ $colspan = 7; 자료가 없습니다."; + echo "자료가 없습니다."; ?> diff --git a/adm/member_list.php b/adm/member_list.php index 830b9231b..61ffffbaa 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -254,7 +254,7 @@ $colspan = 15; 자료가 없습니다."; + echo "자료가 없습니다."; ?> diff --git a/adm/point_list.php b/adm/point_list.php index d6400b196..f4a7ade16 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -179,7 +179,7 @@ function point_clear() } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/poll_list.php b/adm/poll_list.php index 990fccc57..a4464cb4d 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -124,7 +124,7 @@ $colspan = 7; } if ($i==0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/popular_list.php b/adm/popular_list.php index f5cae7110..492a5d715 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -128,7 +128,7 @@ var list_delete_php = 'popular_list.php'; } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/popular_rank.php b/adm/popular_rank.php index fc6ab489c..bbda8cfa9 100644 --- a/adm/popular_rank.php +++ b/adm/popular_rank.php @@ -95,7 +95,7 @@ $(function(){ } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/visit_browser.php b/adm/visit_browser.php index 49b2e77d6..7894bf797 100644 --- a/adm/visit_browser.php +++ b/adm/visit_browser.php @@ -83,7 +83,7 @@ while ($row=sql_fetch_array($result)) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_date.php b/adm/visit_date.php index 1b3a5bf4a..0b3896e73 100644 --- a/adm/visit_date.php +++ b/adm/visit_date.php @@ -73,7 +73,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_domain.php b/adm/visit_domain.php index da7d2db55..adcac9d6a 100644 --- a/adm/visit_domain.php +++ b/adm/visit_domain.php @@ -92,7 +92,7 @@ while ($row=sql_fetch_array($result)) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_hour.php b/adm/visit_hour.php index 2e0a692dc..93c039e91 100644 --- a/adm/visit_hour.php +++ b/adm/visit_hour.php @@ -70,7 +70,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_list.php b/adm/visit_list.php index 694c449bf..6fec21b9b 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -91,7 +91,7 @@ $result = sql_query($sql); 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/visit_month.php b/adm/visit_month.php index 4e5b95d41..0b22a91ae 100644 --- a/adm/visit_month.php +++ b/adm/visit_month.php @@ -76,7 +76,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { } else { - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_os.php b/adm/visit_os.php index c0e043683..e69d3186b 100644 --- a/adm/visit_os.php +++ b/adm/visit_os.php @@ -87,7 +87,7 @@ while ($row=sql_fetch_array($result)) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_search.php b/adm/visit_search.php index 3408614ed..2c3ab7927 100644 --- a/adm/visit_search.php +++ b/adm/visit_search.php @@ -124,7 +124,7 @@ $listall = '처음'; //페이지 처음 - 자료가 없습니다.'; ?> + 자료가 없습니다.'; ?>
diff --git a/adm/visit_week.php b/adm/visit_week.php index 1842feed8..f10d586d5 100644 --- a/adm/visit_week.php +++ b/adm/visit_week.php @@ -69,7 +69,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_year.php b/adm/visit_year.php index 4bd0f0d9f..a42cd4c39 100644 --- a/adm/visit_year.php +++ b/adm/visit_year.php @@ -74,7 +74,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/css/admin.css b/css/admin.css index 379a093e3..4923f0239 100644 --- a/css/admin.css +++ b/css/admin.css @@ -247,7 +247,6 @@ tfoot th {} tfoot td {font-weight:bold;text-align:center} .tbl_wrap {margin:0 0 10px;padding:0 20px} -.tbl_wrap td.empty_table {padding:100px 0;text-align:center} /* thead 한 줄 테이블 */ .tbl_head01 {} @@ -274,6 +273,9 @@ tfoot td {font-weight:bold;text-align:center} .tbl_frm01 #captcha {margin:0;padding:0;border:0;background:transparent} .tbl_frm01 #captcha input {margin-left:5px;text-align:center} +/* 자료 없는 목록 */ +.empty_data {padding:100px 0;text-align:center} + /* 테이블 그리드 */ .grid_1 {width:50px} .grid_2 {width:100px} @@ -573,7 +575,7 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right} .srel .srel_pad {display:block;height:30px} /* 쿠폰관리 */ -.scp_new_win .empty_table {padding:30px 0} +.scp_new_win .empty_data {padding:30px 0} #scp_list_find {margin:10px 20px;padding:20px;border:1px solid #e9e9e9;background:#fff} #scp_list_find .btn_frmline {line-height:1.5em !important} From 30d133e4ffe0d99d06d88c44222f5d7fd11e0e5e Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 25 Nov 2013 16:03:49 +0900 Subject: [PATCH 5/9] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20empty=5Fdata?= =?UTF-8?q?=20>=20empty=5Ftable=20=EB=B3=B5=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/auth_list.php | 2 +- adm/board_list.php | 2 +- adm/boardgroup_list.php | 2 +- adm/boardgroupmember_form.php | 2 +- adm/boardgroupmember_list.php | 2 +- adm/index.php | 6 +++--- adm/mail_list.php | 2 +- 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/visit_browser.php | 2 +- adm/visit_date.php | 2 +- adm/visit_domain.php | 2 +- adm/visit_hour.php | 2 +- adm/visit_list.php | 2 +- adm/visit_month.php | 2 +- adm/visit_os.php | 2 +- adm/visit_search.php | 2 +- adm/visit_week.php | 2 +- adm/visit_year.php | 2 +- css/admin.css | 5 +++-- 23 files changed, 27 insertions(+), 26 deletions(-) diff --git a/adm/auth_list.php b/adm/auth_list.php index 00aebab42..ee19eb7b6 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -124,7 +124,7 @@ $colspan = 5; } if ($i==0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/board_list.php b/adm/board_list.php index 2e95a3d79..94b1b1415 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -198,7 +198,7 @@ $colspan = 16; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 088ffebf7..4b735294c 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -175,7 +175,7 @@ $colspan = 11; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?>
diff --git a/adm/boardgroupmember_form.php b/adm/boardgroupmember_form.php index 24a9190a5..5af8edb47 100644 --- a/adm/boardgroupmember_form.php +++ b/adm/boardgroupmember_form.php @@ -88,7 +88,7 @@ $colspan = 4; } if ($i == 0) { - echo '접근가능한 그룹이 없습니다.'; + echo '접근가능한 그룹이 없습니다.'; } ?> diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php index 1ea879ced..91c61a462 100644 --- a/adm/boardgroupmember_list.php +++ b/adm/boardgroupmember_list.php @@ -129,7 +129,7 @@ $colspan = 7; if ($i == 0) { - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/index.php b/adm/index.php index ce58be906..4535da574 100644 --- a/adm/index.php +++ b/adm/index.php @@ -115,7 +115,7 @@ $colspan = 12; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> @@ -215,7 +215,7 @@ $colspan = 5; 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> @@ -296,7 +296,7 @@ $colspan = 7; } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/mail_list.php b/adm/mail_list.php index 47373b6df..783004d10 100644 --- a/adm/mail_list.php +++ b/adm/mail_list.php @@ -75,7 +75,7 @@ $colspan = 7; 자료가 없습니다."; + echo "자료가 없습니다."; ?> diff --git a/adm/member_list.php b/adm/member_list.php index 61ffffbaa..830b9231b 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -254,7 +254,7 @@ $colspan = 15; 자료가 없습니다."; + echo "자료가 없습니다."; ?> diff --git a/adm/point_list.php b/adm/point_list.php index f4a7ade16..d6400b196 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -179,7 +179,7 @@ function point_clear() } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/poll_list.php b/adm/poll_list.php index a4464cb4d..990fccc57 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -124,7 +124,7 @@ $colspan = 7; } if ($i==0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/popular_list.php b/adm/popular_list.php index 492a5d715..f5cae7110 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -128,7 +128,7 @@ var list_delete_php = 'popular_list.php'; } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/popular_rank.php b/adm/popular_rank.php index bbda8cfa9..fc6ab489c 100644 --- a/adm/popular_rank.php +++ b/adm/popular_rank.php @@ -95,7 +95,7 @@ $(function(){ } if ($i == 0) - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/visit_browser.php b/adm/visit_browser.php index 7894bf797..49b2e77d6 100644 --- a/adm/visit_browser.php +++ b/adm/visit_browser.php @@ -83,7 +83,7 @@ while ($row=sql_fetch_array($result)) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_date.php b/adm/visit_date.php index 0b3896e73..1b3a5bf4a 100644 --- a/adm/visit_date.php +++ b/adm/visit_date.php @@ -73,7 +73,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_domain.php b/adm/visit_domain.php index adcac9d6a..da7d2db55 100644 --- a/adm/visit_domain.php +++ b/adm/visit_domain.php @@ -92,7 +92,7 @@ while ($row=sql_fetch_array($result)) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_hour.php b/adm/visit_hour.php index 93c039e91..2e0a692dc 100644 --- a/adm/visit_hour.php +++ b/adm/visit_hour.php @@ -70,7 +70,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_list.php b/adm/visit_list.php index 6fec21b9b..694c449bf 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -91,7 +91,7 @@ $result = sql_query($sql); 자료가 없습니다.'; + echo '자료가 없습니다.'; ?> diff --git a/adm/visit_month.php b/adm/visit_month.php index 0b22a91ae..4e5b95d41 100644 --- a/adm/visit_month.php +++ b/adm/visit_month.php @@ -76,7 +76,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { } else { - echo '자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_os.php b/adm/visit_os.php index e69d3186b..c0e043683 100644 --- a/adm/visit_os.php +++ b/adm/visit_os.php @@ -87,7 +87,7 @@ while ($row=sql_fetch_array($result)) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_search.php b/adm/visit_search.php index 2c3ab7927..3408614ed 100644 --- a/adm/visit_search.php +++ b/adm/visit_search.php @@ -124,7 +124,7 @@ $listall = '처음'; //페이지 처음 - 자료가 없습니다.'; ?> + 자료가 없습니다.'; ?>
diff --git a/adm/visit_week.php b/adm/visit_week.php index f10d586d5..1842feed8 100644 --- a/adm/visit_week.php +++ b/adm/visit_week.php @@ -69,7 +69,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/adm/visit_year.php b/adm/visit_year.php index a42cd4c39..4bd0f0d9f 100644 --- a/adm/visit_year.php +++ b/adm/visit_year.php @@ -74,7 +74,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { 자료가 없습니다.'; + echo '자료가 없습니다.'; } ?> diff --git a/css/admin.css b/css/admin.css index 4923f0239..cd3d57966 100644 --- a/css/admin.css +++ b/css/admin.css @@ -274,7 +274,8 @@ tfoot td {font-weight:bold;text-align:center} .tbl_frm01 #captcha input {margin-left:5px;text-align:center} /* 자료 없는 목록 */ -.empty_data {padding:100px 0;text-align:center} +.empty_table {padding:100px 0;text-align:center} +.empty_list {padding:20px 0;text-align:center} /* 테이블 그리드 */ .grid_1 {width:50px} @@ -575,7 +576,7 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right} .srel .srel_pad {display:block;height:30px} /* 쿠폰관리 */ -.scp_new_win .empty_data {padding:30px 0} +.scp_new_win .empty_table {padding:30px 0} #scp_list_find {margin:10px 20px;padding:20px;border:1px solid #e9e9e9;background:#fff} #scp_list_find .btn_frmline {line-height:1.5em !important} From 111222720af6e42775bfa4afb7ad4b052c6344d5 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 25 Nov 2013 16:51:09 +0900 Subject: [PATCH 6/9] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20#13=20?= =?UTF-8?q?=EC=83=88=EA=B8=80=EC=97=90=20=EA=B2=8C=EC=8B=9C=EB=AC=BC=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=EC=82=AD=EC=A0=9C=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EB=A7=88=ED=81=AC=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/new/basic/new.skin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php index 1da307c81..61864db51 100644 --- a/skin/new/basic/new.skin.php +++ b/skin/new/basic/new.skin.php @@ -49,7 +49,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 - + @@ -71,8 +71,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 ?> - - + + @@ -95,9 +95,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
- +
- + From 2d07809a884014871163cdcf7ad8a229a3114b0b Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 26 Nov 2013 09:02:36 +0900 Subject: [PATCH 7/9] =?UTF-8?q?=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write_comment_update.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index f14cf04ce..9c2ac8d7c 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -27,7 +27,7 @@ if ($is_guest) { if ($w == "c" || $w == "cu") { if ($member['mb_level'] < $board['bo_comment_level']) - alert('댓글를 쓸 권한이 없습니다.'); + alert('댓글을 쓸 권한이 없습니다.'); } else alert('w 값이 제대로 넘어오지 않았습니다.'); @@ -67,12 +67,12 @@ if ($w == 'c') // 댓글 입력 { /* if ($member[mb_point] + $board[bo_comment_point] < 0 && !$is_admin) - alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.'); + alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글을 써 주십시오.'); */ - // 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글를 쓰지 못하던 버그를 수정 (곱슬최씨님) + // 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글을 쓰지 못하던 버그를 수정 (곱슬최씨님) $tmp_point = ($member['mb_point'] > 0) ? $member['mb_point'] : 0; if ($tmp_point + $board['bo_comment_point'] < 0 && !$is_admin) - alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 댓글쓰기('.number_format($board['bo_comment_point']).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.'); + alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 댓글쓰기('.number_format($board['bo_comment_point']).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글을 써 주십시오.'); // 댓글 답변 if ($comment_id) @@ -264,7 +264,7 @@ else if ($w == 'cu') // 댓글 수정 else alert('그룹관리자의 권한보다 높은 회원의 댓글이므로 수정할 수 없습니다.'); } else - alert('자신이 관리하는 그룹의 게시판이 아니므로 댓글를 수정할 수 없습니다.'); + alert('자신이 관리하는 그룹의 게시판이 아니므로 댓글을 수정할 수 없습니다.'); } else if ($is_admin == 'board') { // 게시판관리자이면 $mb = get_member($comment['mb_id']); if ($member['mb_id'] == $board['bo_admin']) { // 자신이 관리하는 게시판인가? @@ -273,7 +273,7 @@ else if ($w == 'cu') // 댓글 수정 else alert('게시판관리자의 권한보다 높은 회원의 댓글이므로 수정할 수 없습니다.'); } else - alert('자신이 관리하는 게시판이 아니므로 댓글를 수정할 수 없습니다.'); + alert('자신이 관리하는 게시판이 아니므로 댓글을 수정할 수 없습니다.'); } else if ($member['mb_id']) { if ($member['mb_id'] != $comment['mb_id']) alert('자신의 글이 아니므로 수정할 수 없습니다.'); From 1c61678ebcb6a82bfc271b10c8df1f5577d8be41 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 26 Nov 2013 10:21:24 +0900 Subject: [PATCH 8/9] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=ED=99=80=EC=A7=9D=20=EB=B0=B0=EA=B2=BD=EC=83=89=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/admin.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/admin.css b/css/admin.css index cd3d57966..6e080d192 100644 --- a/css/admin.css +++ b/css/admin.css @@ -299,7 +299,8 @@ tfoot td {font-weight:bold;text-align:center} /* 목록 홀짝 배경색 */ .bg0 {background:#fff} -.bg1 {background:#f0f3f7} +.bg1 {background:#f2f5f9} +.bg1 td {border-color:#e9e9e9} .bg0cancel {background:#fdebf3} .bg0cancel td {border-color:#f9d8e6} .bg1cancel {background:#fdebf3} From 88961b00cee42b67e189d689aeb02cf4a3758698 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 26 Nov 2013 10:24:42 +0900 Subject: [PATCH 9/9] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20empty=5Ftabl?= =?UTF-8?q?e=20important=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/admin.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/admin.css b/css/admin.css index 6e080d192..c0503bd4d 100644 --- a/css/admin.css +++ b/css/admin.css @@ -274,8 +274,8 @@ tfoot td {font-weight:bold;text-align:center} .tbl_frm01 #captcha input {margin-left:5px;text-align:center} /* 자료 없는 목록 */ -.empty_table {padding:100px 0;text-align:center} -.empty_list {padding:20px 0;text-align:center} +.empty_table {padding:100px 0 !important;text-align:center} +.empty_list {padding:20px 0 !important;text-align:center} /* 테이블 그리드 */ .grid_1 {width:50px}