From 3c0982974b934d632c99d46a865d1dd7a6ad5317 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 4 Feb 2014 18:03:36 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=EC=8B=9C?= =?UTF-8?q?=ED=8A=B8=20=EC=9C=84=EC=B9=98=EC=A1=B0=EC=A0=95=20=EB=95=8C=20?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=EB=AC=B8=EC=9E=88=EC=9C=BC=EB=A9=B4=20?= =?UTF-8?q?=ED=95=A8=EA=BB=98=20=EC=9D=B4=EB=8F=99=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index c4f3f73b9..58ca96587 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2195,7 +2195,7 @@ function html_end() $buffer = ob_get_contents(); ob_end_clean(); preg_match('#(.*)#is', $buffer, $bodys); - preg_match_all('/(\r|\n)?]+>/i', $bodys[0], $links); + preg_match_all('/[\n\r]?(]+>).*()?/i', $bodys[0], $links); $stylesheet = ''; $links[0] = array_unique($links[0]); foreach ($links[0] as $key=>$link) { From 2a6f46e8202103d5b538a753aafce8fc56dfdbbf Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 4 Feb 2014 18:27:03 +0900 Subject: [PATCH 2/6] =?UTF-8?q?=EA=B3=B5=EC=A7=80=EA=B8=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=EC=8B=9C=20=EA=B8=B0=EC=A1=B4=20=EC=88=9C=EC=84=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index 58ca96587..bdd7069d8 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2257,6 +2257,9 @@ function https_url($dir, $https=true) // 게시판의 공지사항을 , 로 구분하여 업데이트 한다. function board_notice($bo_notice, $wr_id, $insert=false) { + if(strpos($bo_notice, strval($wr_id)) !== false) + return $bo_notice; + $notice_array = explode(",", trim($bo_notice)); $notice_array = array_merge(array($wr_id), $notice_array); $notice_array = array_unique($notice_array); From 47c41077d5e503fb1ad6af37b2ddd2089511688a Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 5 Feb 2014 17:59:18 +0900 Subject: [PATCH 3/6] =?UTF-8?q?=EC=A0=91=EC=86=8D=20=EB=A1=9C=EA=B7=B8=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.menu200.php | 1 + adm/visit_delete.php | 99 +++++++++++++++++++++++++++++++++++++ adm/visit_delete_update.php | 60 ++++++++++++++++++++++ adm/visit_list.php | 2 +- 4 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 adm/visit_delete.php create mode 100644 adm/visit_delete_update.php diff --git a/adm/admin.menu200.php b/adm/admin.menu200.php index 6e06700e7..1e41855db 100644 --- a/adm/admin.menu200.php +++ b/adm/admin.menu200.php @@ -5,6 +5,7 @@ $menu['menu200'] = array ( array('200300', '회원메일발송', G5_ADMIN_URL.'/mail_list.php', 'mb_mail'), array('200800', '접속자집계', G5_ADMIN_URL.'/visit_list.php', 'mb_visit', 1), array('200810', '접속자검색', G5_ADMIN_URL.'/visit_search.php', 'mb_search', 1), + array('200820', '접속자로그삭제', G5_ADMIN_URL.'/visit_delete.php', 'mb_delete', 1), array('200200', '포인트관리', G5_ADMIN_URL.'/point_list.php', 'mb_point'), array('200900', '투표관리', G5_ADMIN_URL.'/poll_list.php', 'mb_poll') ); diff --git a/adm/visit_delete.php b/adm/visit_delete.php new file mode 100644 index 000000000..491318fa9 --- /dev/null +++ b/adm/visit_delete.php @@ -0,0 +1,99 @@ + + +
+

+ 접속자 로그를 삭제할 년도와 방법을 선택해 주십시오. +

+
+
+ 기간선택 + + 년 + + 월 +
+
+ + +
+
+ + +
+ +
+
+ + + + diff --git a/adm/visit_delete_update.php b/adm/visit_delete_update.php new file mode 100644 index 000000000..1cbe920cf --- /dev/null +++ b/adm/visit_delete_update.php @@ -0,0 +1,60 @@ + \ No newline at end of file diff --git a/adm/visit_list.php b/adm/visit_list.php index 30e407cba..60d73f6c9 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -91,7 +91,7 @@ $result = sql_query($sql); 자료가 없습니다.'; + echo '자료가 없거나 관리자에 의해 삭제되었습니다.'; ?> From f87c10686f38ff7deced4501752df1dd85573cad Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 6 Feb 2014 13:13:50 +0900 Subject: [PATCH 4/6] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20#24=20?= =?UTF-8?q?=EC=A0=91=EC=86=8D=EC=9E=90=EB=A1=9C=EA=B7=B8=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=A7=88=ED=81=AC?= =?UTF-8?q?=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/visit_delete.php | 82 +++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 43 deletions(-) diff --git a/adm/visit_delete.php b/adm/visit_delete.php index 491318fa9..e88fe0ad2 100644 --- a/adm/visit_delete.php +++ b/adm/visit_delete.php @@ -15,51 +15,47 @@ $min_year = (int)substr($row['min_date'], 0, 4); $now_year = (int)substr(G5_TIME_YMD, 0, 4); ?> -
-

- 접속자 로그를 삭제할 년도와 방법을 선택해 주십시오. -

-
-
- 기간선택 - - 년 - - 월 -
-
- - -
-
- - -
- -
+
+ 접속자 로그를 삭제할 년도와 방법을 선택해주십시오.
+
+
+ + 년 + + 월 + + +
+
+ + + +
+
+