From ade706fadb60c0090133448bbef83faca14a758b Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 15:41:52 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EA=B0=A4?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=EC=8A=A4=ED=82=A8=201=EC=B0=A8=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 4 +- css/mobile.css | 24 +- mobile/skin/board/gallery/img/icon_file.gif | Bin 0 -> 107 bytes mobile/skin/board/gallery/img/icon_hot.gif | Bin 0 -> 97 bytes mobile/skin/board/gallery/img/icon_img.gif | Bin 0 -> 145 bytes mobile/skin/board/gallery/img/icon_link.gif | Bin 0 -> 104 bytes mobile/skin/board/gallery/img/icon_mobile.gif | Bin 0 -> 62 bytes mobile/skin/board/gallery/img/icon_movie.gif | Bin 0 -> 110 bytes mobile/skin/board/gallery/img/icon_new.gif | Bin 0 -> 71 bytes mobile/skin/board/gallery/img/icon_reply.gif | Bin 0 -> 77 bytes mobile/skin/board/gallery/img/icon_secret.gif | Bin 0 -> 97 bytes mobile/skin/board/gallery/img/icon_sound.gif | Bin 0 -> 113 bytes mobile/skin/board/gallery/list.skin.php | 247 +++++++++++++++ mobile/skin/board/gallery/view.skin.php | 221 +++++++++++++ .../skin/board/gallery/view_comment.skin.php | 292 ++++++++++++++++++ mobile/skin/board/gallery/write.skin.php | 234 ++++++++++++++ skin/board/gallery/list.skin.php | 10 +- 17 files changed, 1024 insertions(+), 8 deletions(-) create mode 100644 mobile/skin/board/gallery/img/icon_file.gif create mode 100644 mobile/skin/board/gallery/img/icon_hot.gif create mode 100644 mobile/skin/board/gallery/img/icon_img.gif create mode 100644 mobile/skin/board/gallery/img/icon_link.gif create mode 100644 mobile/skin/board/gallery/img/icon_mobile.gif create mode 100644 mobile/skin/board/gallery/img/icon_movie.gif create mode 100644 mobile/skin/board/gallery/img/icon_new.gif create mode 100644 mobile/skin/board/gallery/img/icon_reply.gif create mode 100644 mobile/skin/board/gallery/img/icon_secret.gif create mode 100644 mobile/skin/board/gallery/img/icon_sound.gif create mode 100644 mobile/skin/board/gallery/list.skin.php create mode 100644 mobile/skin/board/gallery/view.skin.php create mode 100644 mobile/skin/board/gallery/view_comment.skin.php create mode 100644 mobile/skin/board/gallery/write.skin.php diff --git a/css/default.css b/css/default.css index ededfc007..c5f1b4de6 100644 --- a/css/default.css +++ b/css/default.css @@ -487,7 +487,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; .bo_img_con {margin:0;padding:0;list-style:none} .bo_img_con li {margin:0 0 4px} -.bo_img_con span {display:inline-block;width:50px} +.bo_img_con .bo_img_subject {display:inline-block;width:50px} .bo_img_now .bo_img_text_href a {color:#ff3061} @@ -501,7 +501,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; .bo_img_text_href span {display:inline !important} .bo_img_text_href img {margin:0 0 0 4px} -/* 목록 공통 */ +/* 게시판 목록 공통 */ .bo_fx {margin-bottom:5px;zoom:1} .bo_fx:after {display:block;visibility:hidden;clear:both;content:""} .bo_fx ul {margin:0;padding:0;list-style:none} diff --git a/css/mobile.css b/css/mobile.css index c49361ce8..4b2af4614 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -23,7 +23,7 @@ pre {overflow-x:scroll;font-size:1.1em} /* 화면낭독기 사용자용 */ #hd_login_msg {position:absolute;top:0;left:0;width:0;height:0;overflow:hidden} -.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} +.sound_only {display:inline-block;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;font-size:0 !important;line-height:0 !important;overflow:hidden} /* 본문 바로가기 */ #to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} @@ -420,6 +420,28 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #bo_list td:nth-of-type(2) {text-align:center} +/* 갤러리 목록 */ +#bo_img h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} +#bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none;zoom:1} +#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} +.bo_img_list_li {float:left;margin:0 0 2em;width:25%} + +.bo_img_con {margin:0;padding:0;list-style:none} +.bo_img_con li {margin:0 0 0.3em} +.bo_img_con .bo_img_subject {display:inline-block;width:50px} + +.bo_img_now .bo_img_text_href a {color:#ff3061} + +.bo_img_href a:link, +.bo_img_href a:focus, +.bo_img_href a:hover {text-decoration:none} +.bo_img_href strong {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:10em} + +.bo_img_text_href {margin:1em 0 !important} +.bo_img_text_href a {color:#000;font-weight:bold;text-decoration:none} +.bo_img_text_href img {margin:0 0 0 0.3em} + +/* 게시판 목록 공통 */ .bo_fx {margin-bottom:0.3em;padding:0.5em 1em;zoom:1} .bo_fx:after {display:block;visibility:hidden;clear:both;content:""} .bo_fx ul {margin:0;padding:0;list-style:none} diff --git a/mobile/skin/board/gallery/img/icon_file.gif b/mobile/skin/board/gallery/img/icon_file.gif new file mode 100644 index 0000000000000000000000000000000000000000..cca47f566ac0db655fb2ab0f56628b64958e48b2 GIT binary patch literal 107 zcmZ?wbhEHb-Wqsc#^P~2x#@rVooH@5wHB9i@BozKb;P9uI^*c|UyXO5@>VyLmgEat< Cr6(f* literal 0 HcmV?d00001 diff --git a/mobile/skin/board/gallery/img/icon_hot.gif b/mobile/skin/board/gallery/img/icon_hot.gif new file mode 100644 index 0000000000000000000000000000000000000000..c95b839aeef0c1e26a4bab4ea50cd6d3f1969d7f GIT binary patch literal 97 zcmZ?wbhEHbzHen|7VvwFnzUPlarEA ZqW~YXyUO~T+#YkUoJ%V_>ib05Q5F AasU7T literal 0 HcmV?d00001 diff --git a/mobile/skin/board/gallery/img/icon_mobile.gif b/mobile/skin/board/gallery/img/icon_mobile.gif new file mode 100644 index 0000000000000000000000000000000000000000..ad934d23c440c83db0c4589596465cb087353e01 GIT binary patch literal 62 zcmZ?wbhEHbZ% literal 0 HcmV?d00001 diff --git a/mobile/skin/board/gallery/img/icon_reply.gif b/mobile/skin/board/gallery/img/icon_reply.gif new file mode 100644 index 0000000000000000000000000000000000000000..91c135977b4f445a90c849310dc80efde1983830 GIT binary patch literal 77 zcmZ?wbhEHb&!1E4^4&ClEzh)PmWxV3{9A~!gB2-%RL5bHcgg3Zp^!+W)H2^A_AxQuL literal 0 HcmV?d00001 diff --git a/mobile/skin/board/gallery/img/icon_sound.gif b/mobile/skin/board/gallery/img/icon_sound.gif new file mode 100644 index 0000000000000000000000000000000000000000..c5188318a5cdc394b984125c0ddd376c5f57bbe4 GIT binary patch literal 113 zcmZ?wbhEHbE1CJY$zMikVi`-#gIi|DbmsXBWf6U5szE@->A`0*`&<;b@XASRrB8=E6~=S>Pbm I%fes{0AXt-SpWb4 literal 0 HcmV?d00001 diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php new file mode 100644 index 000000000..fe20dccb8 --- /dev/null +++ b/mobile/skin/board/gallery/list.skin.php @@ -0,0 +1,247 @@ + + +

+ +
+ + +
+ + +
+ + +
+ +
+ + +
+
+ Total + 페이지 +
+ + + + +
+ +
+ + + + + + + +

이미지 목록

+ +
    + 0 && ($i % $board['bo_gallery_cols'] == 0)) + $style = 'clear:both;'; + else + $style = ''; + if ($i == 0) $k = 0; + $k += 1; + if ($k % $board['bo_gallery_cols'] == 0) $style .= "margin:0 !important;"; + ?> +
  • + + + 열람중"; + else + echo $list[$i]['num']; + ?> + +
      +
    • + + + 공지 + + + <?=get_text($file['bf_content'])?> + + +
    • +
    • + + + + + + 댓글 + + '; } + + 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/mobile/skin/board/gallery/view.skin.php b/mobile/skin/board/gallery/view.skin.php new file mode 100644 index 000000000..79ac40243 --- /dev/null +++ b/mobile/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/mobile/skin/board/gallery/view_comment.skin.php b/mobile/skin/board/gallery/view_comment.skin.php new file mode 100644 index 000000000..7428fbb4b --- /dev/null +++ b/mobile/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"> +
+

님의 댓글

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

+ ";?> + +

+ + + + + " id="secret_comment_"> + + + + + +
+ +

등록된 댓글이 없습니다.

+ +
+ + + + + + diff --git a/mobile/skin/board/gallery/write.skin.php b/mobile/skin/board/gallery/write.skin.php new file mode 100644 index 000000000..7e6c2ae07 --- /dev/null +++ b/mobile/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; +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
>
옵션
+ +
" id="wr_link" class="frm_input" size="50">
파일 # + + + + + + + +
자동등록방지 + +
+ +
+ + 취소 +
+
+ + diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php index 889258c5a..fe20dccb8 100644 --- a/skin/board/gallery/list.skin.php +++ b/skin/board/gallery/list.skin.php @@ -121,11 +121,11 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php'); //if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret']; ?> -
  • 작성자
  • -
  • 작성일
  • -
  • 조회
  • -
  • 추천
  • -
  • 비추천
  • +
  • 작성자
  • +
  • 작성일
  • +
  • 조회
  • +
  • 추천
  • +
  • 비추천