사용자: #459 게시판 일반스킨, 갤러리스킨 마크업 수정 및 헤딩 다이어트
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
/* 게시판 목록 */
|
/* 게시판 목록 */
|
||||||
#bo_list_title {margin-bottom:20px;font-size:1.2em;letter-spacing:-0.1em}
|
#bo_list_title {margin-bottom:20px;font-size:1.2em;letter-spacing:-0.1em}
|
||||||
|
|
||||||
#bo_cate h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
#bo_cate h2 {position:absolute;;font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
|
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
|
||||||
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
|
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#bo_cate li {float:left;margin-bottom:-1px}
|
#bo_cate li {float:left;margin-bottom:-1px}
|
||||||
@ -25,7 +25,7 @@
|
|||||||
.btn_bo_adm {float:left}
|
.btn_bo_adm {float:left}
|
||||||
.btn_bo_adm li {float:left;margin-right:5px}
|
.btn_bo_adm li {float:left;margin-right:5px}
|
||||||
.btn_bo_adm input {padding:0 10px;height:25px;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer}
|
.btn_bo_adm input {padding:0 10px;height:25px;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer}
|
||||||
.bo_notice td {background:#f7f7f2}
|
.bo_notice td {background:#f5f6fa}
|
||||||
.bo_notice td a {font-weight:bold}
|
.bo_notice td a {font-weight:bold}
|
||||||
.td_num strong {color:#000}
|
.td_num strong {color:#000}
|
||||||
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
|
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
|
||||||
@ -33,14 +33,14 @@
|
|||||||
.cnt_cmt {font-weight:bold}
|
.cnt_cmt {font-weight:bold}
|
||||||
|
|
||||||
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
||||||
#bo_sch legend {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
#bo_sch legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
/* 게시판 읽기 */
|
/* 게시판 읽기 */
|
||||||
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
||||||
|
|
||||||
#bo_v_cate {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em}
|
#bo_v_table {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em}
|
||||||
|
|
||||||
#bo_v_h1 {padding:10px 0;font-size:1.2em}
|
#bo_v_title {padding:10px 0;font-size:1.2em}
|
||||||
|
|
||||||
#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
|
#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
|
||||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||||
@ -53,7 +53,7 @@
|
|||||||
#bo_v_file {}
|
#bo_v_file {}
|
||||||
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
|
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||||
#bo_v_file ul {margin:0;padding:0;list-style:none}
|
#bo_v_file ul {margin:0;padding:0;list-style:none}
|
||||||
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f7f7f2}
|
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
|
||||||
#bo_v_file a {display:inline-block;padding:8px 0 7px;color:#000}
|
#bo_v_file a {display:inline-block;padding:8px 0 7px;color:#000}
|
||||||
#bo_v_file a:focus,
|
#bo_v_file a:focus,
|
||||||
#bo_v_file a:hover,
|
#bo_v_file a:hover,
|
||||||
@ -63,7 +63,7 @@
|
|||||||
#bo_v_link {}
|
#bo_v_link {}
|
||||||
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
|
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||||
#bo_v_link ul {margin:0;padding:0;list-style:none}
|
#bo_v_link ul {margin:0;padding:0;list-style:none}
|
||||||
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f7f7f2}
|
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
|
||||||
#bo_v_link a {display:inline-block;padding:8px 0 7px;color:#000}
|
#bo_v_link a {display:inline-block;padding:8px 0 7px;color:#000}
|
||||||
#bo_v_link a:focus,
|
#bo_v_link a:focus,
|
||||||
#bo_v_link a:hover,
|
#bo_v_link a:hover,
|
||||||
@ -86,7 +86,7 @@
|
|||||||
.bo_v_com li {float:left;margin-left:5px}
|
.bo_v_com li {float:left;margin-left:5px}
|
||||||
|
|
||||||
#bo_v_atc {min-height:200px;height:auto !important;height:200px}
|
#bo_v_atc {min-height:200px;height:auto !important;height:200px}
|
||||||
#bo_v_atc header h1 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden:zoom:1}
|
#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden:zoom:1}
|
||||||
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
|
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
@ -101,27 +101,24 @@
|
|||||||
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:top}
|
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:top}
|
||||||
#bo_v_act strong {color:#ff3061}
|
#bo_v_act strong {color:#ff3061}
|
||||||
#bo_v_act_good,
|
#bo_v_act_good,
|
||||||
#bo_v_act_nogood {position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
#bo_v_act_nogood {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
#bo_v form {padding-top:20px}
|
#bo_v form {padding-top:20px}
|
||||||
|
|
||||||
/* 게시판 댓글 */
|
/* 게시판 댓글 */
|
||||||
#bo_vc {margin:0 0 10px;padding:20px 20px 10px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f2}
|
#bo_vc {padding:20px 20px 10px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f5f6fa}
|
||||||
#bo_vc h2 {margin-bottom:10px}
|
#bo_vc h2 {margin-bottom:10px}
|
||||||
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
|
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
|
||||||
#bo_vc header {position:relative;padding:15px 0 5px}
|
#bo_vc header {position:relative;padding:15px 0 5px}
|
||||||
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
||||||
#bo_vc .sv_wrap {margin-right:15px}
|
#bo_vc .sv_wrap {margin-right:15px}
|
||||||
#bo_vc .member,
|
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
|
||||||
#bo_vc .guest,
|
|
||||||
#bo_vc .sv_member,
|
|
||||||
#bo_vc .sv_guest {font-weight:bold}
|
|
||||||
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
||||||
#bo_vc h1 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_vc a {color:#000;text-decoration:none}
|
#bo_vc a {color:#000;text-decoration:none}
|
||||||
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
||||||
#bo_vc p a {text-decoration:underline}
|
#bo_vc p a {text-decoration:underline}
|
||||||
#bo_vc_empty {margin:0;padding:20px !important;border-bottom:1px dotted #ccc;text-align:center}
|
#bo_vc_empty {margin:0;padding:20px !important;text-align:center}
|
||||||
#bo_vc fieldset {margin:0 0 10px;padding:0}
|
#bo_vc fieldset {margin:0 0 10px;padding:0}
|
||||||
#bo_vc #bo_vc_winfo {float:left}
|
#bo_vc #bo_vc_winfo {float:left}
|
||||||
#bo_vc footer {zoom:1}
|
#bo_vc footer {zoom:1}
|
||||||
@ -131,8 +128,8 @@
|
|||||||
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
.bo_vc_act li {float:left;margin-left:5px}
|
.bo_vc_act li {float:left;margin-left:5px}
|
||||||
|
|
||||||
#bo_vc_w {position:relative;margin-bottom:10px;padding:0 20px 20px;border-bottom:1px solid #cfded8}
|
#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
|
||||||
#bo_vc_w h2 {padding:15px 0 5px}
|
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_vc_w #char_cnt {display:block;margin-bottom:5px}
|
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}
|
||||||
|
|
||||||
#bo_vc form {padding:0}
|
#bo_vc form {padding:0}
|
||||||
@ -5,17 +5,20 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
|
|
||||||
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
|
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
|
||||||
|
|
||||||
<div id="bo_v" style="width:<?php echo $width; ?>">
|
<div id="bo_v_table"><?php echo $board['bo_subject']; ?></div>
|
||||||
|
|
||||||
<p id="bo_v_cate">
|
<article id="bo_v" style="width:<?php echo $width; ?>">
|
||||||
<?php echo $board['bo_subject'] ?>
|
<header>
|
||||||
<?php if ($category_name) { // 분류가 지정되었다면 ?><?php echo ($category_name ? "{$view['ca_name']} " : ""); ?><?php } // 분류 출력 끝 ?>
|
<h1 id="bo_v_title">
|
||||||
</p>
|
<?php
|
||||||
|
if ($category_name) echo ($category_name ? $view['ca_name'].' | ' : ''); // 분류 출력 끝
|
||||||
<h1 id="bo_v_h1"><?php echo cut_str(get_text($view['wr_subject']), 70) // 글제목 출력 ?></h1>
|
echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력
|
||||||
|
?>
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
<section id="bo_v_info">
|
<section id="bo_v_info">
|
||||||
<h2>게시물 정보</h2>
|
<h2>페이지 정보</h2>
|
||||||
작성자 <strong><?php echo $view['name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong>
|
작성자 <strong><?php echo $view['name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong>
|
||||||
<span class="sound_only">작성일</span><strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong>
|
<span class="sound_only">작성일</span><strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong>
|
||||||
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
||||||
@ -87,8 +90,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
</section>
|
</section>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<nav id="bo_v_top">
|
<div id="bo_v_top">
|
||||||
<h2>게시물 상단 버튼</h2>
|
|
||||||
<?php
|
<?php
|
||||||
ob_start();
|
ob_start();
|
||||||
?>
|
?>
|
||||||
@ -113,12 +115,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
$link_buttons = ob_get_contents();
|
$link_buttons = ob_get_contents();
|
||||||
ob_end_flush();
|
ob_end_flush();
|
||||||
?>
|
?>
|
||||||
</nav>
|
</div>
|
||||||
|
|
||||||
<article id="bo_v_atc">
|
<section id="bo_v_atc">
|
||||||
<header>
|
<h2 id="bo_v_atc_title">본문</h2>
|
||||||
<h1>본문</h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 파일 출력
|
// 파일 출력
|
||||||
@ -165,23 +165,19 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</article>
|
</section>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 코멘트 입출력
|
// 코멘트 입출력
|
||||||
include_once('./view_comment.php');
|
include_once('./view_comment.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<nav id="bo_v_bot">
|
<div id="bo_v_bot">
|
||||||
<h2>게시물 하단 버튼</h2>
|
|
||||||
|
|
||||||
<!-- 링크 버튼 -->
|
<!-- 링크 버튼 -->
|
||||||
<?php echo $link_buttons ?>
|
<?php echo $link_buttons ?>
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<?php if ($board['bo_download_point'] < 0) { ?>
|
<?php if ($board['bo_download_point'] < 0) { ?>
|
||||||
|
|||||||
@ -60,9 +60,9 @@
|
|||||||
/* 게시판 읽기 */
|
/* 게시판 읽기 */
|
||||||
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
||||||
|
|
||||||
#bo_v_cate {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em}
|
#bo_v_table {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;background:#565e60;color:#fff;font-weight:bold;line-height:2.2em}
|
||||||
|
|
||||||
#bo_v_h1 {padding:10px 0;font-size:1.2em}
|
#bo_v_title {padding:10px 0;font-size:1.2em}
|
||||||
|
|
||||||
#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
|
#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
|
||||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||||
@ -108,7 +108,7 @@
|
|||||||
.bo_v_com li {float:left;margin-left:5px}
|
.bo_v_com li {float:left;margin-left:5px}
|
||||||
|
|
||||||
#bo_v_atc {min-height:200px;height:auto !important;height:200px}
|
#bo_v_atc {min-height:200px;height:auto !important;height:200px}
|
||||||
#bo_v_atc header h1 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden:zoom:1}
|
#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden:zoom:1}
|
||||||
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
|
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
@ -123,27 +123,24 @@
|
|||||||
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:top}
|
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:top}
|
||||||
#bo_v_act strong {color:#ff3061}
|
#bo_v_act strong {color:#ff3061}
|
||||||
#bo_v_act_good,
|
#bo_v_act_good,
|
||||||
#bo_v_act_nogood {position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
#bo_v_act_nogood {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
#bo_v form {padding-top:20px}
|
#bo_v form {padding-top:20px}
|
||||||
|
|
||||||
/* 게시판 댓글 */
|
/* 게시판 댓글 */
|
||||||
#bo_vc {margin:0 0 10px;padding:20px 20px 10px;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;background:#f5f6fa}
|
#bo_vc {padding:20px 20px 10px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f5f6fa}
|
||||||
#bo_vc h2 {margin-bottom:10px}
|
#bo_vc h2 {margin-bottom:10px}
|
||||||
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
|
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
|
||||||
#bo_vc header {position:relative;padding:15px 0 5px}
|
#bo_vc header {position:relative;padding:15px 0 5px}
|
||||||
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
||||||
#bo_vc .sv_wrap {margin-right:15px}
|
#bo_vc .sv_wrap {margin-right:15px}
|
||||||
#bo_vc .member,
|
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
|
||||||
#bo_vc .guest,
|
|
||||||
#bo_vc .sv_member,
|
|
||||||
#bo_vc .sv_guest {font-weight:bold}
|
|
||||||
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
||||||
#bo_vc h1 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_vc a {color:#000;text-decoration:none}
|
#bo_vc a {color:#000;text-decoration:none}
|
||||||
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
||||||
#bo_vc p a {text-decoration:underline}
|
#bo_vc p a {text-decoration:underline}
|
||||||
#bo_vc_empty {margin:0;padding:20px !important;border-bottom:1px dotted #ccc;text-align:center}
|
#bo_vc_empty {margin:0;padding:20px !important;text-align:center}
|
||||||
#bo_vc fieldset {margin:0 0 10px;padding:0}
|
#bo_vc fieldset {margin:0 0 10px;padding:0}
|
||||||
#bo_vc #bo_vc_winfo {float:left}
|
#bo_vc #bo_vc_winfo {float:left}
|
||||||
#bo_vc footer {zoom:1}
|
#bo_vc footer {zoom:1}
|
||||||
@ -153,8 +150,8 @@
|
|||||||
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
.bo_vc_act li {float:left;margin-left:5px}
|
.bo_vc_act li {float:left;margin-left:5px}
|
||||||
|
|
||||||
#bo_vc_w {position:relative;margin-bottom:10px;padding:0 20px 20px;border-bottom:1px solid #d9d9d9}
|
#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
|
||||||
#bo_vc_w h2 {padding:15px 0 5px}
|
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_vc_w #char_cnt {display:block;margin-bottom:5px}
|
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}
|
||||||
|
|
||||||
#bo_vc form {padding:0}
|
#bo_vc form {padding:0}
|
||||||
@ -5,17 +5,20 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
|
|
||||||
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
|
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
|
||||||
|
|
||||||
<div id="bo_v" style="width:<?php echo $width; ?>">
|
<div id="bo_v_table"><?php echo $board['bo_subject']; ?></div>
|
||||||
|
|
||||||
<p id="bo_v_cate">
|
<article id="bo_v" style="width:<?php echo $width; ?>">
|
||||||
<?php echo $board['bo_subject'] ?>
|
<header>
|
||||||
<?php if ($category_name) { // 분류가 지정되었다면 ?><?php echo ($category_name ? "{$view['ca_name']} " : ""); ?><?php } // 분류 출력 끝 ?>
|
<h1 id="bo_v_title">
|
||||||
</p>
|
<?php
|
||||||
|
if ($category_name) echo ($category_name ? $view['ca_name'].' | ' : ''); // 분류 출력 끝
|
||||||
<h1 id="bo_v_h1"><?php echo cut_str(get_text($view['wr_subject']), 70) // 글제목 출력 ?></h1>
|
echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력
|
||||||
|
?>
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
<section id="bo_v_info">
|
<section id="bo_v_info">
|
||||||
<h2>게시물 정보</h2>
|
<h2>페이지 정보</h2>
|
||||||
작성자 <strong><?php echo $view['name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong>
|
작성자 <strong><?php echo $view['name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong>
|
||||||
<span class="sound_only">작성일</span><strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong>
|
<span class="sound_only">작성일</span><strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong>
|
||||||
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
||||||
@ -87,8 +90,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
</section>
|
</section>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<nav id="bo_v_top">
|
<div id="bo_v_top">
|
||||||
<h2>게시물 상단 버튼</h2>
|
|
||||||
<?php
|
<?php
|
||||||
ob_start();
|
ob_start();
|
||||||
?>
|
?>
|
||||||
@ -113,12 +115,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
$link_buttons = ob_get_contents();
|
$link_buttons = ob_get_contents();
|
||||||
ob_end_flush();
|
ob_end_flush();
|
||||||
?>
|
?>
|
||||||
</nav>
|
</div>
|
||||||
|
|
||||||
<article id="bo_v_atc">
|
<section id="bo_v_atc">
|
||||||
<header>
|
<h2 id="bo_v_atc_title">본문</h2>
|
||||||
<h1>본문</h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 파일 출력
|
// 파일 출력
|
||||||
@ -165,23 +165,19 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</article>
|
</section>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 코멘트 입출력
|
// 코멘트 입출력
|
||||||
include_once('./view_comment.php');
|
include_once('./view_comment.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<nav id="bo_v_bot">
|
<div id="bo_v_bot">
|
||||||
<h2>게시물 하단 버튼</h2>
|
|
||||||
|
|
||||||
<!-- 링크 버튼 -->
|
<!-- 링크 버튼 -->
|
||||||
<?php echo $link_buttons ?>
|
<?php echo $link_buttons ?>
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<?php if ($board['bo_download_point'] < 0) { ?>
|
<?php if ($board['bo_download_point'] < 0) { ?>
|
||||||
|
|||||||
@ -22,7 +22,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
}
|
}
|
||||||
$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $str);
|
$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $str);
|
||||||
?>
|
?>
|
||||||
<article id="c_<?php echo $comment_id; ?>" <?php if ($cmt_depth) { ?>style="margin-left:<?php echo $cmt_depth ?>px;border-top-color:#e0e0e0"<?php } ?>>
|
<article id="c_<?php echo $comment_id ?>" <?php if ($cmt_depth) { ?>style="margin-left:<?php echo $cmt_depth ?>px;border-top-color:#e0e0e0"<?php } ?>>
|
||||||
<header>
|
<header>
|
||||||
<h1><?php echo $list[$i]['wr_name'] ?>님의 댓글</h1>
|
<h1><?php echo $list[$i]['wr_name'] ?>님의 댓글</h1>
|
||||||
<?php echo $list[$i]['name'] ?>
|
<?php echo $list[$i]['name'] ?>
|
||||||
@ -75,10 +75,9 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($is_comment_write) {
|
if ($is_comment_write) {
|
||||||
if($w == '')
|
if($w == '') $w = 'c';
|
||||||
$w = 'c';
|
|
||||||
?>
|
?>
|
||||||
<aside id="bo_vc_w">
|
<section id="bo_vc_w">
|
||||||
<h2>댓글쓰기</h2>
|
<h2>댓글쓰기</h2>
|
||||||
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
||||||
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
|
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
|
||||||
@ -118,20 +117,30 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
<th scope="row">내용</th>
|
<th scope="row">내용</th>
|
||||||
<td>
|
<td>
|
||||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||||
<textarea name="wr_content" id="wr_content" maxlength="10000" required class="required"
|
<textarea id="wr_content" name="wr_content" maxlength="10000" required class="required" title="댓글 내용"
|
||||||
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
|
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
|
||||||
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
||||||
|
<script>
|
||||||
|
$("textarea#wr_content[maxlength]").live("keyup change", function() {
|
||||||
|
var str = $(this).val()
|
||||||
|
var mx = parseInt($(this).attr("maxlength"))
|
||||||
|
if (str.length > mx) {
|
||||||
|
$(this).val(str.substr(0, mx));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class="btn_confirm">
|
<div class="btn_confirm">
|
||||||
<input type="submit" class="btn_submit" value="댓글등록">
|
<input type="submit" value="댓글등록" id="btn_submit" class="btn_submit" accesskey="s">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</aside>
|
</section>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var save_before = '';
|
var save_before = '';
|
||||||
@ -235,6 +244,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
|
|
||||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
<?php if($is_guest) echo chk_captcha_js(); ?>
|
||||||
|
|
||||||
|
document.getElementById("btn_submit").disabled = "disabled";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user