From f41e5664007ad1af3478e3fc54f40cda6a4f22f7 Mon Sep 17 00:00:00 2001 From: Arcturus Date: Tue, 22 Oct 2024 14:27:23 +0900 Subject: [PATCH] init --- _common.php | 4 + list.skin.php | 94 +++++++++ set_order.php | 57 ++++++ set_order_update.php | 18 ++ style.css | 71 +++++++ view.skin.php | 31 +++ view_comment.skin.php | 373 ++++++++++++++++++++++++++++++++++ write.skin.php | 216 ++++++++++++++++++++ write_comment_update.skin.php | 44 ++++ write_update.skin.php | 4 + 10 files changed, 912 insertions(+) create mode 100644 _common.php create mode 100644 list.skin.php create mode 100644 set_order.php create mode 100644 set_order_update.php create mode 100644 style.css create mode 100644 view.skin.php create mode 100644 view_comment.skin.php create mode 100644 write.skin.php create mode 100644 write_comment_update.skin.php create mode 100644 write_update.skin.php diff --git a/_common.php b/_common.php new file mode 100644 index 0000000..626acc9 --- /dev/null +++ b/_common.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/list.skin.php b/list.skin.php new file mode 100644 index 0000000..a45e5cc --- /dev/null +++ b/list.skin.php @@ -0,0 +1,94 @@ +', 0); +include_once(G5_LIB_PATH.'/thumbnail.lib.php'); +if($board['bo_table_width']==0) $width="100%"; + +$cate=array(); +$lists=array(); +?> +
+ +
+ +
+ +0 && $h==count($cate)) continue; + $list_item=sql_query("select * from {$write_table} where wr_reply='' and wr_is_comment=0 order by wr_10*1, wr_id"); + + for($k=0;$row=sql_fetch_array($list_item);$k++){ + $lists[$k]=get_list($row,$board,$board_skin_url); + } +?> + + + + +
+ +
+ + + + +
+ + diff --git a/set_order.php b/set_order.php new file mode 100644 index 0000000..7ad2eab --- /dev/null +++ b/set_order.php @@ -0,0 +1,57 @@ +', 0); +if($board['bo_write_level']<=$member['mb_level']){ +?> +
+ + +
+ ++ + + + + + + + + + + + + + + + + + + + + + + + + +
카테고리제목배너링크순서
+ + +
+
+
+ +목록으로 +
+
+
+ \ No newline at end of file diff --git a/set_order_update.php b/set_order_update.php new file mode 100644 index 0000000..e676568 --- /dev/null +++ b/set_order_update.php @@ -0,0 +1,18 @@ + diff --git a/style.css b/style.css new file mode 100644 index 0000000..e2b6aa9 --- /dev/null +++ b/style.css @@ -0,0 +1,71 @@ +@charset "utf-8"; + +/*목록*/ + +.board-skin-basic.theme-box{ +position:relative; +box-sizing:border-box; +padding:50px 10px; +} + +.bo_list { width: 100%;} +.bo_list {position:relative; text-align:center; } +.bo_list h2 { padding:50px 0 15px; text-align:center; font-size:15px;} /*카테고리 - 분류별 정렬시 사용*/ + +.bo_list li.bo-list{ + display:inline-flex; + flex-direction:column; + align-items:center; + position:relative; + padding:2px;/*각 배너간 여백*/ + text-align: center; + } +.bo_list li a.link-banner {display:block;overflow:hidden;} +.bo_list li a.link-banner strong{display:block;word-break:keep-all;white-space:nowrap;padding:0 5px;line-height:30px;}/*배너가 없을 경우 대체텍스트(링크 제목)*/ +.bo_list li .link-desc {text-align:center;} /*배너 하단 글씨 영역*/ +.bo_list li .link-desc .name {display:none;} /*링크제목 영역 노출을 원할 경우 해당 라인 삭제 혹은 주석처리*/ +.bo_list li .link-desc .options {opacity:0.6;} + +/*글쓰기*/ + +.board-write { max-width:800px; padding: 0 10px; margin:30px auto; } +.board-write > dl {position:relative;} +.board-write > dl > dt { width:100px;position:absolute;line-height:32px;text-align:center; } +.board-write > dl > dd { width:100%;margin-left:0;padding-left:110px;box-sizing:border-box;line-height:32px;} +.board-write input.frm_input.full { width: 100%; display:block;margin:1px 0;} +.board-write .frm_input.small { width:50px;} +.board-write .frm_info{line-height:140%;} +.board-write .write-notice { + padding: 20px 10px 10px; + font-size: 11px; +} + +.board-write .files {position:relative;} +.board-write .files { margin-top: 20px;} +.board-write .files .sub {position:relative;padding-left:65px; box-sizing:border-box;} +.board-write .files span.sub_tit{position:absolute;left:0;display:block;width:65px;} +.board-write .files .frm_info{padding-top:5px;} +.board-write .files .label-right {position:absolute;top:0;right:0;z-index:2;} + + +/*본문*/ + +.board-viewer { + width:100%; + display: block; + position: relative; + box-sizing:border-box; +} +.board-viewer:after{content:"";display:block;clear:both;} + +.board-viewer .contents { + display: block; + position: relative; + padding: 0 15px; + box-sizing:border-box; +} +#bo_vc_w {clear:both;} +#bo_v_con {padding:20px 0;} +#bo_v_bot { padding: 20px 0; overflow: hidden; } +.bo_v_nb { float: left; } +.bo_v_com { float: right; } diff --git a/view.skin.php b/view.skin.php new file mode 100644 index 0000000..2d34d64 --- /dev/null +++ b/view.skin.php @@ -0,0 +1,31 @@ +', 0); + +if($board['bo_table_width']==0) $width="100%";?> + +
+ + + +
+ +
+
+ +
+ + +
+
+ \ No newline at end of file diff --git a/view_comment.skin.php b/view_comment.skin.php new file mode 100644 index 0000000..00123af --- /dev/null +++ b/view_comment.skin.php @@ -0,0 +1,373 @@ + +
+ +=$board['bo_comment_level']){ +?> +
+0){?> +로그 + +
+
+
+ 0){ + $co_list=array(); + for($k=0;$k'.$co_list[$k][0].''; + echo $c_link; + } + } + ?> +
+ +
+ + m + d + +
+ +
+ + +
+ + " id="secret_comment_"> + + + + + + +
+ + + +
+0){?> + 옷장 + + +
+
+
+ + + +
+ +
+ + m + d + +
+ +
+ + +
+ + " id="secret_comment_"> + + + + + +
+ +

▶ 로그 링크 추가

+

▶ 의상 추가

+ + + +
+ + \ No newline at end of file diff --git a/write.skin.php b/write.skin.php new file mode 100644 index 0000000..f17e954 --- /dev/null +++ b/write.skin.php @@ -0,0 +1,216 @@ +', 0); + +$category_option = ""; + +if($is_category && $board['bo_category_list']){ + + $categories = explode("|", $board['bo_category_list']); // 구분자가 | 로 되어 있음 + for ($i=0; $i + + +
+
+ +
+ + + + + + + + + + + + + + '."\n".''; + } + + if ($is_html) { + if ($is_dhtml_editor) { + $option_hidden .= ''; + } else { + $option .= "\n".''."\n".''; + } + } + + if ($is_secret) { + if ($is_admin || $is_secret==1) { + $option .= "\n".''."\n".''; + } else { + $option_hidden .= ''; + } + } + + if ($is_mail) { + $option .= "\n".''."\n".''; + } + } + + echo $option_hidden; + ?> + +
+ +
+
카테고리
+
+
+
+ +
+
제목
+
+ +
+
+
+
배너
+
+ + +
+
+
+
링크
+
+ +
+
+
+
순서
+
+ " > + +
+
+
+
+ +
+
+ + 취소 +
+
+ + +
+ \ No newline at end of file diff --git a/write_comment_update.skin.php b/write_comment_update.skin.php new file mode 100644 index 0000000..e5c99ca --- /dev/null +++ b/write_comment_update.skin.php @@ -0,0 +1,44 @@ + diff --git a/write_update.skin.php b/write_update.skin.php new file mode 100644 index 0000000..bd43862 --- /dev/null +++ b/write_update.skin.php @@ -0,0 +1,4 @@ +