diff --git a/css/default.css b/css/default.css index 2da8878a5..70a483bd3 100644 --- a/css/default.css +++ b/css/default.css @@ -160,7 +160,7 @@ a:active {color:#000;text-decoration:underline} /* 기본테이블 */ .basic_tbl {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0} -.basic_tbl caption {padding:0 0 10px;color:#777;text-align:left} +.basic_tbl caption {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} .basic_tbl thead th {padding:12px 0 8px;background:#565e60;color:#fff} .basic_tbl thead a {color:#fff} .basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ @@ -217,7 +217,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; .new_win {} .new_win h1 {margin-bottom:20px;padding:0 20px;height:60px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} .new_win table {margin:0 auto 20px !important;width:93% !important;background:#fff !important} -.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #455255;background:#4e5d60;list-style:none;zoom:1} +.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1} .new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} .new_win_ul li {float:left;margin-left:-1px} .new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none} @@ -319,7 +319,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; .memo_view_li {position:relative;padding:5px 0} .memo_view_subj {display:inline-block;width:65px} #memo_view_ul a {} -#memo_view section p {min-height:150px;height:auto !important;height:150px} +#memo_view section p {padding:10px;min-height:150px;height:auto !important;height:150px;background:#fff} #memo_write textarea {height:100px} diff --git a/lib/common.lib.php b/lib/common.lib.php index d7e16f719..80cb4d5d7 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -350,7 +350,7 @@ function get_list($write_row, $board, $skin_url, $subject_len=40) $list['comment_cnt'] = ''; if ($list['wr_comment']) - $list['comment_cnt'] = "댓글".$list['wr_comment'].""; + $list['comment_cnt'] = "".$list['wr_comment'].""; // 당일인 경우 시간으로 표시함 $list['datetime'] = substr($list['wr_datetime'],0,10); diff --git a/skin/board/basic/list.skin.php b/skin/board/basic/list.skin.php index 7f0e0a120..66e2b5c4a 100644 --- a/skin/board/basic/list.skin.php +++ b/skin/board/basic/list.skin.php @@ -49,6 +49,7 @@ if ($is_nogood) $colspan++; + diff --git a/skin/board/gallery/img/icon_file.gif b/skin/board/gallery/img/icon_file.gif new file mode 100644 index 000000000..cca47f566 Binary files /dev/null and b/skin/board/gallery/img/icon_file.gif differ diff --git a/skin/board/gallery/img/icon_hot.gif b/skin/board/gallery/img/icon_hot.gif new file mode 100644 index 000000000..c95b839ae Binary files /dev/null and b/skin/board/gallery/img/icon_hot.gif differ diff --git a/skin/board/gallery/img/icon_img.gif b/skin/board/gallery/img/icon_img.gif new file mode 100644 index 000000000..fefa10d4a Binary files /dev/null and b/skin/board/gallery/img/icon_img.gif differ diff --git a/skin/board/gallery/img/icon_link.gif b/skin/board/gallery/img/icon_link.gif new file mode 100644 index 000000000..0f3cb1ac6 Binary files /dev/null and b/skin/board/gallery/img/icon_link.gif differ diff --git a/skin/board/gallery/img/icon_mobile.gif b/skin/board/gallery/img/icon_mobile.gif new file mode 100644 index 000000000..ad934d23c Binary files /dev/null and b/skin/board/gallery/img/icon_mobile.gif differ diff --git a/skin/board/gallery/img/icon_movie.gif b/skin/board/gallery/img/icon_movie.gif new file mode 100644 index 000000000..cb958f83f Binary files /dev/null and b/skin/board/gallery/img/icon_movie.gif differ diff --git a/skin/board/gallery/img/icon_new.gif b/skin/board/gallery/img/icon_new.gif new file mode 100644 index 000000000..45aa6d7ed Binary files /dev/null and b/skin/board/gallery/img/icon_new.gif differ diff --git a/skin/board/gallery/img/icon_reply.gif b/skin/board/gallery/img/icon_reply.gif new file mode 100644 index 000000000..91c135977 Binary files /dev/null and b/skin/board/gallery/img/icon_reply.gif differ diff --git a/skin/board/gallery/img/icon_secret.gif b/skin/board/gallery/img/icon_secret.gif new file mode 100644 index 000000000..c04899f14 Binary files /dev/null and b/skin/board/gallery/img/icon_secret.gif differ diff --git a/skin/board/gallery/img/icon_sound.gif b/skin/board/gallery/img/icon_sound.gif new file mode 100644 index 000000000..c5188318a Binary files /dev/null and b/skin/board/gallery/img/icon_sound.gif differ diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php new file mode 100644 index 000000000..39c16fd90 --- /dev/null +++ b/skin/board/gallery/list.skin.php @@ -0,0 +1,236 @@ + + +

+ + +
+ + +
+ + + + +
+
+ Total + 페이지 +
+ + + + +
+ +
+ + + + + + + + + + +
목록
번호
+ + + + + + + + + + + + + + + "> + + + + + + + + + + + '; } ?> + +
번호제목글쓴이날짜조회추천비추천
+ 공지'; + else if ($wr_id == $list[$i]['wr_id']) + echo "열람중"; + else + echo $list[$i]['num']; + ?> + + + + + + + + 댓글 + + + '; } + + if (isset($list[$i]['icon_new'])) echo $list[$i]['icon_new']; + if (isset($list[$i]['icon_hot'])) echo $list[$i]['icon_hot']; + if (isset($list[$i]['icon_file'])) echo $list[$i]['icon_file']; + if (isset($list[$i]['icon_link'])) echo $list[$i]['icon_link']; + if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret']; + + ?> +
게시물이 없습니다.
+ + +
+ + + +
+ + + + + + + + + + + +
+ 게시물 검색 + +
+ + + + + + +
+
+ + + + + diff --git a/skin/board/gallery/view.skin.php b/skin/board/gallery/view.skin.php new file mode 100644 index 000000000..bbc215eb8 --- /dev/null +++ b/skin/board/gallery/view.skin.php @@ -0,0 +1,221 @@ + + +
+ +

+ + +

+ +

+ +
+

게시물 정보

+ 작성자 + 작성일 + 조회 + 댓글 +
+ + + + +
+

첨부파일

+ +
+ + + + + + + + +
+
+

본문

+
+ + \n"; + + for ($i=0; $i<=count($view['file']); $i++) { + if ($view['file'][$i]['view']) { + //echo $view['file'][$i]['view']; + echo get_view_thumbnail($view['file'][$i]['view']); + } + } + + echo "
\n"; + } + ?> + +
+ + + +

+ + +
+ 스크랩 + 추천 + 비추천 +
+ +
+ 추천 + 비추천 +
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/skin/board/gallery/view_comment.skin.php b/skin/board/gallery/view_comment.skin.php new file mode 100644 index 000000000..d0f1874d3 --- /dev/null +++ b/skin/board/gallery/view_comment.skin.php @@ -0,0 +1,292 @@ + + + + + +
+

댓글목록

+ \]/i", "", $str); + // FLASH XSS 공격에 의해 주석 처리 - 110406 + //$str = preg_replace("/\[\\]/i", "", $str); + $str = preg_replace("/\[\]*\>[^\s]*\<\/a\>\]/i", "", $str); + ?> +
style="margin-left:px;border-top-color:#e0e0e0"> +
+

님의 댓글

+ + 댓글의 댓글 + + 아이피 + + + 작성일 + +
+ + +

+ ";?> + +

+ + + + + "> + + + + + +
+ +

등록된 댓글이 없습니다.

+ +
+ + + + + + diff --git a/skin/board/gallery/write.skin.php b/skin/board/gallery/write.skin.php new file mode 100644 index 000000000..c61d351a5 --- /dev/null +++ b/skin/board/gallery/write.skin.php @@ -0,0 +1,234 @@ + + +

+ +
+ + + + + + + + + + +'.PHP_EOL.''; + } + + if ($is_html) { + if ($is_dhtml_editor) { + $option_hidden .= ''; + } else { + $option .= PHP_EOL.''.PHP_EOL.''; + } + } + + if ($is_secret) { + if ($is_admin || $is_secret==1) { + $option .= PHP_EOL.''.PHP_EOL.''; + } else { + $option_hidden .= ''; + } + } + + if ($is_mail) { + $option .= PHP_EOL.''.PHP_EOL.''; + } +} + +echo $option_hidden; +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
>
옵션
+ +
">
파일 # + + + + + + + +
자동등록방지 + +
+ +
+ + 취소 +
+
+ +