사용자: #459 frm_tbl style, 게시판스킨 댓글보기
This commit is contained in:
@ -229,7 +229,7 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
|
|||||||
/* 게시판관리 목록 */
|
/* 게시판관리 목록 */
|
||||||
.tbl_bo_list td {text-align:center}
|
.tbl_bo_list td {text-align:center}
|
||||||
/* 게시판추가/수정 */
|
/* 게시판추가/수정 */
|
||||||
.group_setting {width:130px;border-left:1px solid #e9ecee}
|
.group_setting {width:140px;border-left:1px solid #e9ecee;text-align:center}
|
||||||
#anc_bo_extra .group_setting label {width:auto}
|
#anc_bo_extra .group_setting label {width:auto}
|
||||||
#anc_bo_extra .group_setting input {margin:0}
|
#anc_bo_extra .group_setting input {margin:0}
|
||||||
#anc_bo_extra label {display:inline-block;width:100px}
|
#anc_bo_extra label {display:inline-block;width:100px}
|
||||||
|
|||||||
@ -73,12 +73,12 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
|||||||
/* 중간 레이아웃 */
|
/* 중간 레이아웃 */
|
||||||
#wrapper {z-index:5;margin:50px auto;width:980px;zoom:1}
|
#wrapper {z-index:5;margin:50px auto;width:980px;zoom:1}
|
||||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#wrapper_title {margin-bottom:20px;font-size:1.2em}
|
|
||||||
|
|
||||||
#aside {float:right;width:208px;border:1px solid #d9e1e5;background:#fff}
|
#aside {float:right;width:208px;border:1px solid #d9e1e5;background:#fff}
|
||||||
|
|
||||||
#container {z-index:4;position:relative;float:left;padding:25px 14px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #d9e1e5;background:#fff;zoom:1}
|
#container {z-index:4;position:relative;float:left;padding:25px 14px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #d9e1e5;background:#fff;zoom:1}
|
||||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
|
#container_title {margin-bottom:20px;font-size:1.2em}
|
||||||
|
|
||||||
/* 하단 레이아웃 */
|
/* 하단 레이아웃 */
|
||||||
#ft {background:#484848}
|
#ft {background:#484848}
|
||||||
@ -127,7 +127,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
|||||||
/* 버튼 */
|
/* 버튼 */
|
||||||
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9d9d9;background:#f5f6fa;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle}
|
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9d9d9;background:#f5f6fa;color:#000;text-decoration:none;line-height:2.15em;vertical-align:middle}
|
||||||
.btn01:focus, .btn01:hover {text-decoration:none}
|
.btn01:focus, .btn01:hover {text-decoration:none}
|
||||||
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333;background:#333;color:#fff;text-decoration:none;line-height:2.15em;vertical-align:middle}
|
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333;background:#333;color:#fff !important;text-decoration:none;line-height:2.15em;vertical-align:middle}
|
||||||
.btn02:focus, .btn02:hover {text-decoration:none}
|
.btn02:focus, .btn02:hover {text-decoration:none}
|
||||||
.btn_confirm {margin:20px 0;text-align:center} /* 서식단계 진행 */
|
.btn_confirm {margin:20px 0;text-align:center} /* 서식단계 진행 */
|
||||||
.btn_submit {padding:0 10px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
|
.btn_submit {padding:0 10px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
|
||||||
@ -169,11 +169,11 @@ td.empty_table {padding:85px 0;text-align:center}
|
|||||||
|
|
||||||
/* 폼 테이블 */
|
/* 폼 테이블 */
|
||||||
.frm_tbl {width:100%;border-collapse:collapse;border-spacing:0}
|
.frm_tbl {width:100%;border-collapse:collapse;border-spacing:0}
|
||||||
.frm_tbl caption {padding:10px 0;font-weight:bold;text-align:center}
|
.frm_tbl caption {padding:10px 0;font-weight:bold;text-align:left}
|
||||||
.frm_tbl th {width:100px;border-bottom:1px solid #f7f7f7;text-align:left}
|
.frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f6fa;text-align:left;vertical-align:top}
|
||||||
.frm_tbl td {padding:7px 10px;border-bottom:1px solid #f7f7f7;background:transparent}
|
.frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent;vertical-align:top}
|
||||||
.frm_tbl textarea,
|
.frm_tbl textarea,
|
||||||
.frm_input {padding:2px 2px 3px;border:1px solid #d9d9d9;background:#fff;vertical-align:middle}
|
.frm_input {padding:2px 2px 3px;border:1px solid #ccc;background:#fff;vertical-align:middle}
|
||||||
.frm_tbl textarea {width:90%;height:150px}
|
.frm_tbl textarea {width:90%;height:150px}
|
||||||
.frm_address {display:block;margin-top:5px}
|
.frm_address {display:block;margin-top:5px}
|
||||||
.frm_file {display:block;margin-bottom:5px}
|
.frm_file {display:block;margin-bottom:5px}
|
||||||
@ -181,7 +181,7 @@ td.empty_table {padding:85px 0;text-align:center}
|
|||||||
.frm_tbl #captcha input {margin-left:5px;text-align:center}
|
.frm_tbl #captcha input {margin-left:5px;text-align:center}
|
||||||
.frm_tbl a {text-decoration:none}
|
.frm_tbl a {text-decoration:none}
|
||||||
|
|
||||||
.frm_info {display:block;padding:0 0 5px;color:#6595b9;line-height:1.2em}
|
.frm_info {display:block;padding:0 0 5px;font-size:0.95em;line-height:1.2em}
|
||||||
|
|
||||||
/* 테이블 항목별 정의 */
|
/* 테이블 항목별 정의 */
|
||||||
.td_chk {width:30px;text-align:center}
|
.td_chk {width:30px;text-align:center}
|
||||||
|
|||||||
2
head.php
2
head.php
@ -135,4 +135,4 @@ if ($config['cf_include_head']) {
|
|||||||
<?php echo poll('basic'); // 설문조사 ?>
|
<?php echo poll('basic'); // 설문조사 ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<?php if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) { ?><div id="container_title"><?php echo $g4['title'] ?></div><?php } ?>
|
<?php if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) { ?><h1 id="container_title"><?php echo $g4['title'] ?></h1><?php } ?>
|
||||||
@ -73,11 +73,11 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<?php if ($is_comment_write) {
|
<?php
|
||||||
if($w == '')
|
if ($is_comment_write) {
|
||||||
$w = 'c';
|
if($w == '') $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">
|
||||||
@ -140,14 +140,14 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</aside>
|
</section>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var save_before = '';
|
var save_before = '';
|
||||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||||
|
|
||||||
function good_and_write()
|
function good_and_write()
|
||||||
{
|
{
|
||||||
var f = document.fviewcomment;
|
var f = document.fviewcomment;
|
||||||
if (fviewcomment_submit(f)) {
|
if (fviewcomment_submit(f)) {
|
||||||
f.is_good.value = 1;
|
f.is_good.value = 1;
|
||||||
@ -155,10 +155,10 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
} else {
|
} else {
|
||||||
f.is_good.value = 0;
|
f.is_good.value = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fviewcomment_submit(f)
|
function fviewcomment_submit(f)
|
||||||
{
|
{
|
||||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||||
|
|
||||||
f.is_good.value = 0;
|
f.is_good.value = 0;
|
||||||
@ -247,10 +247,10 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
document.getElementById("btn_submit").disabled = "disabled";
|
document.getElementById("btn_submit").disabled = "disabled";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function comment_box(comment_id, work)
|
function comment_box(comment_id, work)
|
||||||
{
|
{
|
||||||
var el_id;
|
var el_id;
|
||||||
// 댓글 아이디가 넘어오면 답변, 수정
|
// 댓글 아이디가 넘어오면 답변, 수정
|
||||||
if (comment_id)
|
if (comment_id)
|
||||||
@ -290,13 +290,13 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
|||||||
|
|
||||||
save_before = el_id;
|
save_before = el_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function comment_delete()
|
function comment_delete()
|
||||||
{
|
{
|
||||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||||
}
|
}
|
||||||
|
|
||||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||||
</script>
|
</script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
@ -31,8 +31,8 @@
|
|||||||
#ol_after_private a:focus strong,
|
#ol_after_private a:focus strong,
|
||||||
#ol_after_private a:hover strong {color:#fff;text-decoration:none}
|
#ol_after_private a:hover strong {color:#fff;text-decoration:none}
|
||||||
#ol_after_memo {width:50px;margin-right:1px}
|
#ol_after_memo {width:50px;margin-right:1px}
|
||||||
#ol_after_pt {width:80px;margin-right:1px}
|
#ol_after_pt {width:79px;margin-right:1px}
|
||||||
#ol_after_scrap {width:48px;line-height:2.6em !important}
|
#ol_after_scrap {width:48px;line-height:2.6em !important}
|
||||||
#ol_after_ft {text-align:justify}
|
#ol_after_ft {text-align:justify}
|
||||||
#ol_after_ft a {display:inline-block;width:88px;height:22px;background:#333;color:#fff;text-align:center;line-height:1.8em}
|
#ol_after_ft a {display:inline-block;width:87px;height:22px;background:#333;color:#fff;text-align:center;line-height:1.8em}
|
||||||
#ol_after_ft a:focus, #ol_after_ft a:hover {text-decoration:none !important}
|
#ol_after_ft a:focus, #ol_after_ft a:hover {text-decoration:none !important}
|
||||||
Reference in New Issue
Block a user