From 17c828d65c5ed787711885244aa8f92a14d40fd7 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 28 Nov 2012 18:14:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=BC=EB=B0=98=EA=B2=8C=EC=8B=9C=ED=8C=90?= =?UTF-8?q?=20=EC=9D=BD=EA=B8=B0=20=EB=8C=93=EA=B8=80=20=EC=9E=91=EC=97=85?= =?UTF-8?q?=20=EC=A4=91,=20=EC=9E=90=EB=B0=94=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=EB=A5=BC=20=EC=96=B4=EB=96=BB=EA=B2=8C=20=ED=95=A0?= =?UTF-8?q?=EA=B9=8C...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- skin/board/neo/view.skin.php | 73 ++-- skin/board/neo/view_comment.skin.php | 478 +++++++++++++-------------- 3 files changed, 268 insertions(+), 285 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 3ce644b04..d172b441c 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -42,7 +42,7 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="") if ($total_page > $end_page) $str .= '다음'.PHP_EOL; if ($cur_page < $total_page) { - $str .= '맨끝'.PHP_EOL; + $str .= '맨끝'.PHP_EOL; } $str .= ""; diff --git a/skin/board/neo/view.skin.php b/skin/board/neo/view.skin.php index 7b6a34b7f..18e7e4836 100644 --- a/skin/board/neo/view.skin.php +++ b/skin/board/neo/view.skin.php @@ -3,40 +3,40 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 ?> -
+
+ -
+
+
@@ -50,7 +50,7 @@ ob_end_flush();
조회
댓글
-
+
추천
@@ -64,6 +64,7 @@ ob_end_flush();

첨부파일

+

관련링크

+
@@ -117,22 +125,23 @@ ob_end_flush(); - $signature"; } // 서명 출력 ?> +

- "; } ?> - + 스크랩 + + 트랙백주소 -
-
추천 :
-
+
+
추천
+
-
비추천 :
-
+
비추천
+
@@ -144,8 +153,8 @@ ob_end_flush();
-  "; } ?> -  "; } ?> + 이전 + 다음
diff --git a/skin/board/neo/view_comment.skin.php b/skin/board/neo/view_comment.skin.php index 7df745081..f4a62013e 100644 --- a/skin/board/neo/view_comment.skin.php +++ b/skin/board/neo/view_comment.skin.php @@ -1,7 +1,7 @@ ", $str); + // FLASH XSS 공격에 의해 주석 처리 - 110406 + //$str = preg_replace("/\[\\]/i", "", $str); + $str = preg_replace("/\[\]*\>[^\s]*\<\/a\>\]/i", "", $str); ?>
-

+

님의 댓글

+ +
+
아이피
+
+
작성일
+
+
+
+ 답변 + 수정 + 삭제 +
- - - - -
- {$list[$i]['ip']}"; } ?> - 답변 "; } ?> - 수정 "; } ?> - 삭제 "; } ?> -   -
- + +

- - * "; - $str = $list[$i]['content']; - if (strstr($list[$i]['wr_option'], "secret")) - $str = "$str"; + +

+ + + - $str = preg_replace("/\[\\]/i", "", $str); - // FLASH XSS 공격에 의해 주석 처리 - 110406 - //$str = preg_replace("/\[\\]/i", "", $str); - $str = preg_replace("/\[\]*\>[^\s]*\<\/a\>\]/i", "", $str); - echo $str; - ?> - - ".$list[$i]['trackback']."

"; } ?> - - - - "> - + "> +
- - -
- - - - - - - - - - - + + + + + + + + + + + + + -
-

이 글에 댓글쓰기

-
- - - - - - - - - - -
- - - +
- 이름 - 패스워드 - - - - + + + + - 비밀글 - 글자 -
- - - -
-
-
- + 비밀글 + 글자 + + + + - - + - + comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님) + + +