Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -111,7 +111,7 @@ $colspan = 7;
|
||||
<td class="td_grid"><?php echo $group ?></td>
|
||||
<td class="td_mbid"><?php echo $row['mb_id'] ?></td>
|
||||
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
|
||||
<td class="td_name"><?php echo $mb_nick ?></td>
|
||||
<td class="td_name sv_use"><?php echo $mb_nick ?></td>
|
||||
<td class="td_time"><?php echo substr($row['mb_today_login'],2,8) ?></td>
|
||||
<td class="td_time"><?php echo $row['gm_datetime'] ?></td>
|
||||
</tr>
|
||||
|
||||
@ -99,7 +99,7 @@ $colspan = 12;
|
||||
<tr>
|
||||
<td><?php echo $mb_id ?></td>
|
||||
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
|
||||
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_name sv_use"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_num"><?php echo $row['mb_level'] ?></td>
|
||||
<td class="td_bignum"><a href="./point_list.php?sfl=mb_id&stx=<?php echo $row['mb_id'] ?>"><?php echo number_format($row['mb_point']) ?></a></td>
|
||||
<td class="td_boolean"><?php echo $row['mb_mailling']?'예':'아니오'; ?></td>
|
||||
@ -281,7 +281,7 @@ $colspan = 7;
|
||||
<tr>
|
||||
<td class="td_mbid"><a href="./point_list.php?sfl=mb_id&stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
|
||||
<td class="td_mbname"><?php echo $row2['mb_name'] ?></td>
|
||||
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_name sv_use"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_time"><?php echo $row['po_datetime'] ?></td>
|
||||
<td><?php echo $link1.$row['po_content'].$link2 ?></td>
|
||||
<td class="td_bignum"><?php echo number_format($row['po_point']) ?></td>
|
||||
|
||||
@ -193,7 +193,7 @@ $colspan = 15;
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only">회원선택</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
|
||||
</td>
|
||||
<td class="td_name"><?php echo $mb_id ?></td>
|
||||
<td class="td_name sv_use"><?php echo $mb_id ?></td>
|
||||
<td class="td_mbname"><?php echo $row['mb_name']; ?></td>
|
||||
<td><?php echo $row['mb_hp']; ?></td>
|
||||
<td colspan="6" class="td_addr"><?php echo $address; ?></td>
|
||||
@ -202,7 +202,7 @@ $colspan = 15;
|
||||
<td rowspan="2"><?php echo $s_mod ?><br><?php echo $s_grp ?></td>
|
||||
</tr>
|
||||
<tr <?php echo $tr_bg; ?>>
|
||||
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_name sv_use"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="">
|
||||
<?php
|
||||
if ($leave_msg || $intercept_msg) echo $leave_msg.' '.$intercept_msg;
|
||||
|
||||
@ -150,7 +150,7 @@ function point_clear()
|
||||
</td>
|
||||
<td class="td_mbid"><a href="?sfl=mb_id&stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
|
||||
<td class="td_mbname"><?php echo $row2['mb_name'] ?></td>
|
||||
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_name sv_use"><div><?php echo $mb_nick ?></div></td>
|
||||
<td class="td_time"><?php echo $row['po_datetime'] ?></td>
|
||||
<td class="td_pt_log"><?php echo $link1 ?><?php echo $row['po_content'] ?><?php echo $link2 ?></td>
|
||||
<td class="td_num td_pt"><?php echo number_format($row['po_point']) ?></td>
|
||||
|
||||
@ -134,7 +134,7 @@ if ($stx) {
|
||||
$sch_all = "";
|
||||
if ($onetable == $g4_search['tables'][$i]) $sch_class = "class=sch_on";
|
||||
else $sch_all = "class=sch_on";
|
||||
$str_board_list .= '<li><a href="'.$_SERVER['PHP_SELF'].'?'.$search_query.'&gr_id='.$gr_id.'&onetable='.$g4_search['tables'][$i].'" '.$sch_class.'>'.$row2['bo_subject'].'<span class="sound_only">갯수</span><span class="cnt_cmt">'.$row['cnt'].'</span></a></li>';
|
||||
$str_board_list .= '<li><a href="'.$_SERVER['PHP_SELF'].'?'.$search_query.'&gr_id='.$gr_id.'&onetable='.$g4_search['tables'][$i].'" '.$sch_class.'><strong>'.$row2['bo_subject'].'</strong><span class="cnt_cmt">'.$row['cnt'].'</span></a></li>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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}
|
||||
/* 게시판추가/수정 */
|
||||
.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 input {margin:0}
|
||||
#anc_bo_extra label {display:inline-block;width:100px}
|
||||
|
||||
113
css/default.css
113
css/default.css
@ -2,7 +2,7 @@
|
||||
|
||||
/* 초기화 */
|
||||
html {overflow-y:scroll}
|
||||
body {margin:0;padding:0;background:#fff;font-size:0.75em;font-family:"dotum"}
|
||||
body {margin:0;padding:0;background:#f9fafe;font-size:0.75em;font-family:"dotum"}
|
||||
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
||||
@ -13,8 +13,11 @@ button {border-radius:0;font-size:1em}
|
||||
p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all}
|
||||
hr {display:none}
|
||||
pre {overflow-x:scroll;font-size:1.1em}
|
||||
a:link, a:visited {color:#000;text-decoration:none}
|
||||
a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
||||
a:link,
|
||||
a:visited {color:#000;text-decoration:none}
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {color:#000;text-decoration:underline}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {border-top:3px solid #151515;background:#fff}
|
||||
@ -23,60 +26,67 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
||||
|
||||
#logo {padding:17px 0}
|
||||
|
||||
#sch_all {position:absolute;top:22px;left:70px;margin:0;padding:0;border:1px solid #c9c9c9}
|
||||
/* 전체 검색 */
|
||||
#sch_all {position:absolute;top:22px;left:70px;margin:0;padding:0;border:1px solid #555}
|
||||
#sch_all legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_all_stx {padding-left:5px;width:156px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
|
||||
#sch_all_submit {padding:0 5px;height:26px;border:0;background:#333;color:#fff}
|
||||
#sch_all_stx {padding-left:5px;width:165px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
|
||||
#sch_all_submit {padding:0 5px;height:26px;border:0;background:#555;color:#fff}
|
||||
|
||||
#mb_nb {position:absolute;top:18px;right:0;zoom:1}
|
||||
#mb_nb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#mb_nb li {float:left}
|
||||
#mb_nb a {display:block;padding:5px 10px;color:#333;letter-spacing:-0.1em}
|
||||
#mb_nb a:focus, #mb_nb a:hover, #mb_nb a:active {text-decoration:none}
|
||||
#mb_nb img {margin-right:3px}
|
||||
#tnb {position:absolute;top:18px;right:0;zoom:1}
|
||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#tnb li {float:left}
|
||||
#tnb a {display:block;padding:5px 10px;color:#333;letter-spacing:-0.1em}
|
||||
#tnb a:focus,
|
||||
#tnb a:hover,
|
||||
#tnb a:active {text-decoration:none}
|
||||
#tnb img {margin-right:3px}
|
||||
|
||||
/* gnb js off */
|
||||
#gnb {z-index:10;margin:-1px 0 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #d9d9d9;background:#f0f4f8;zoom:1}
|
||||
#gnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#gnb {z-index:10;margin:-1px 0 0;border-bottom:1px solid #c3c7c5;background:#f0f4f8}
|
||||
#gnb h2 {position:absolute;margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#gnb_1dul {margin:0 auto;padding:0;width:980px;zoom:1}
|
||||
#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1dli {z-index:10;clear:both;zoom:1}
|
||||
.gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1da {display:block;float:left;width:80px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none}
|
||||
.gnb_1da:focus, .gnb_1da:hover {text-decoration:none}
|
||||
.gnb_1da:focus,
|
||||
.gnb_1da:hover {text-decoration:none}
|
||||
.gnb_2dul {float:left;width:auto}
|
||||
.gnb_2dli {float:left}
|
||||
.gnb_2da {display:block;float:left;width:80px;height:35px;line-height:2.95em;text-decoration:none}
|
||||
.gnb_2da:focus, .gnb_2da:hover {text-decoration:none}
|
||||
.gnb_2da:focus,
|
||||
.gnb_2da:hover {text-decoration:none}
|
||||
/* gnb js on */
|
||||
.gnb_js {}
|
||||
.gnb_js #gnb_1dul {zoom:1}
|
||||
.gnb_js #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_js .gnb_1dli {clear:none;position:relative;float:left}
|
||||
.gnb_js .gnb_1da {text-align:center}
|
||||
.gnb_js .gnb_1dli_air a {float:none;background:#34383c;color:#fff}
|
||||
.gnb_js .gnb_1dli_on a {float:none;background:#34383c;color:#fff}
|
||||
.gnb_js .gnb_1dli_air a {float:none;background:#333;color:#fff}
|
||||
.gnb_js .gnb_1dli_on a {float:none;background:#333;color:#fff}
|
||||
.gnb_js .gnb_2dul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden}
|
||||
.gnb_js .gnb_2da {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left}
|
||||
.gnb_1dli_over .gnb_2dul {left:0;width:181px;height:auto}
|
||||
.gnb_1dli_over2 .gnb_2dul {right:0;width:181px;height:auto}
|
||||
.gnb_1dli_over .gnb_2dul {left:0;width:180px;height:auto;background:#fff}
|
||||
.gnb_1dli_over2 .gnb_2dul {right:0;width:180px;height:auto;background:#fff}
|
||||
|
||||
.gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {z-index:5;margin:0 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_title {margin-bottom:20px;font-size:1.2em}
|
||||
|
||||
#wrapper #aside {position:relative;float:right;left:-1px;width:210px;border-left:1px solid #d9d9d9;background:#fff}
|
||||
#aside {float:right;width:210px;border:1px solid #cfded8;background:#fff}
|
||||
|
||||
#container {z-index:4;position:relative;float:left;padding:25px 20px 15px 0;width:748px;min-height:500px;height:auto !important;height:500px;border-right:1px solid #d9d9d9;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 #cfded8;background:#fff;zoom:1}
|
||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#container_title {margin-bottom:20px;font-size:1.2em}
|
||||
|
||||
/* 텍스트 크기 조절 */
|
||||
#text_size {z-index:10;position:absolute;top:7px;right:18px}
|
||||
#text_size button {padding:0 10px;height:30px;border:0;background:#000;color:#fff;cursor:pointer}
|
||||
#text_size {position:absolute;top:-33px;left:-1px;letter-spacing:-3px}
|
||||
#text_size button {margin:0;padding:0 10px;height:28px;border:0;background:#555;color:#fff;vertical-align:middle;cursor:pointer}
|
||||
#text_size_down {font-size:0.9em}
|
||||
#text_size_def {font-size:1em}
|
||||
#text_size_up {font-size:1.3em}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {background:#484848}
|
||||
@ -89,21 +99,20 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
||||
#ft_copy b {color:#fff}
|
||||
#ft_copy a {position:absolute;top:10px;right:0;color:#fff}
|
||||
|
||||
/* 기본 스타일 */
|
||||
/* 화면낭독기 사용자용 */
|
||||
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
|
||||
.msg_sound_only,
|
||||
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
|
||||
/* 본문 바로가기 */
|
||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#to_content a:focus, #to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}
|
||||
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {width:100%;height:auto}
|
||||
|
||||
/* 캡챠 자동등록(입력)방지 기본 */
|
||||
#captcha img {border:1px solid #d9d9d9;border-right:0}
|
||||
#captcha_mp3 img {border:1px solid #d9d9d9;border-left:0;background:#494949}
|
||||
#captcha img {border:1px solid #cfded8;border-right:0}
|
||||
#captcha_mp3 img {border:1px solid #cfded8;border-left:0;background:#494949}
|
||||
#mp3_embed {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} /* 익스 8 이하에서 음성캡챠 실행 스타일 */
|
||||
|
||||
/* ckeditor 단축키 */
|
||||
@ -117,15 +126,12 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
||||
.cke_sc_def dt {width:20%;font-weight:bold}
|
||||
.cke_sc_def dd {width:30%}
|
||||
|
||||
/* Mobile화면으로 */
|
||||
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}
|
||||
|
||||
/* 콘텐츠별 스타일 */
|
||||
.cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}
|
||||
/* 버튼 */
|
||||
.btn01 {display:inline-block;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:middle}
|
||||
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn01:focus, .btn01:hover {text-decoration:none !important}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333 !important;background:#333 !important;color:#fff !important;text-decoration:none !important;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 !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn02:focus, .btn02:hover {text-decoration:none !important}
|
||||
.btn_confirm {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}
|
||||
@ -138,13 +144,14 @@ button.btn_cancel {display:inline-block;padding:0 10px;height:24px;border:1px so
|
||||
button.btn_frmline {font-size:1em}
|
||||
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;cursor:pointer}
|
||||
.btn_win a:focus, .btn_win a:hover {text-decoration:none}
|
||||
.btn_win a:focus,
|
||||
.btn_win a:hover {text-decoration:none}
|
||||
/* 게시판용 버튼 */
|
||||
.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9ded9;background:#f5f6fa;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b01:focus, .btn_b01:hover {text-decoration:none !important}
|
||||
.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #eee;background:#333;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b02:focus, .btn_b02:hover {text-decoration:none !important}
|
||||
.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c !important;background:#e8180c !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */
|
||||
.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c;background:#e8180c;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */
|
||||
.btn_admin:focus, .btn_admin:hover {text-decoration:none !important}
|
||||
|
||||
/* 기본테이블 */
|
||||
@ -155,7 +162,7 @@ button.btn_frmline {font-size:1em}
|
||||
.basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
.basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
|
||||
.basic_tbl tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
|
||||
.basic_tbl td {padding:8px 5px 6px;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;line-height:1.5em;word-break:break-all}
|
||||
.basic_tbl td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
|
||||
.basic_tbl a {}
|
||||
.bo_sideview td {padding:6px 4px} /* 사이드뷰 사용하는 테이블 셀 패딩값 */
|
||||
td.empty_table {padding:85px 0;text-align:center}
|
||||
@ -168,10 +175,10 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.frm_tbl caption {padding:10px 0;font-weight:bold;text-align:left}
|
||||
.frm_tbl th {padding-left:10px;width:100px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
|
||||
.frm_tbl td {padding:7px 10px;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;background:transparent}
|
||||
.frm_tbl textarea,
|
||||
.frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
|
||||
.frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;vertical-align:top;text-align:left}
|
||||
.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_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
|
||||
.frm_input:focus, input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important;color:#fff}
|
||||
.frm_tbl textarea {width:90%;height:150px}
|
||||
.frm_address {display:block;margin-top:5px}
|
||||
.frm_file {display:block;margin-bottom:5px}
|
||||
@ -196,8 +203,9 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
|
||||
/* 새창 기본 스타일 */
|
||||
.new_win {}
|
||||
.new_win h1 {margin-bottom:20px;padding:0 20px;height:60px;border-top:3px solid #4e5d60;border-bottom:1px solid #d9d9d9;background:#fff;font-size:1.2em;line-height:5em}
|
||||
.new_win #new_win_title {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 .basic_tbl {margin:0 auto 20px !important;width:93% !important;background:#fff !important}
|
||||
.new_win .frm_tbl {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:#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}
|
||||
@ -207,7 +215,7 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
/* 자바스크립트 alert 대안 */
|
||||
#validation_check {margin:100px auto;width:500px}
|
||||
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
|
||||
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #d9d9d9;background:#fff}
|
||||
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}
|
||||
|
||||
/* 사이드뷰 */
|
||||
.sv_wrap {display:inline-block;position:relative;font-weight:normal}
|
||||
@ -219,10 +227,13 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
|
||||
/* pagination */
|
||||
.pg_wrap {clear:both;margin:0 0 20px;padding-top:20px;text-align:center}
|
||||
.pg {display:inline-block;border:1px solid #d9d9d9;letter-spacing:-4px}
|
||||
.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px}
|
||||
.pg a:focus, .pg a:hover, .pg a:active {text-decoration:none}
|
||||
.pg_page, .pg_current {display:inline-block;padding:0 12px;height:30px;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle}
|
||||
.pg_page {background:#f9f9f9;text-decoration:none}
|
||||
.pg_start, .pg_prev {border-right:1px solid #d9d9d9}
|
||||
.pg_end, .pg_next {border-left:1px solid #d9d9d9}
|
||||
.pg_current {background:#333;color:#fff;font-weight:bold}
|
||||
.pg_start, .pg_prev {border-right:1px solid #cfded8}
|
||||
.pg_end, .pg_next {border-left:1px solid #cfded8}
|
||||
.pg_current {background:#333;color:#fff;font-weight:bold}
|
||||
|
||||
/* Mobile화면으로 */
|
||||
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}
|
||||
@ -142,12 +142,10 @@ td.empty_table {padding:5em 0;text-align:center}
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left}
|
||||
.frm_tbl th {padding-left:1em;width:110px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
|
||||
.frm_tbl th {padding:0.4em;width:110px;border:1px solid #e9e9e9;border-left:0;vertical-align:top;text-align:left}
|
||||
.frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
|
||||
.frm_tbl textarea,
|
||||
.frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
|
||||
.frm_input:focus,
|
||||
input.required:focus {border:0;background:#21272e !important;color:#fff;line-height:1.8em}
|
||||
.frm_tbl textarea, .frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
|
||||
.frm_input:focus, input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;color:#fff;line-height:1.8em}
|
||||
.frm_tbl textarea {width:90%;height:150px}
|
||||
.frm_address {display:block;margin-top:0.3em}
|
||||
.frm_file {display:block;margin-bottom:0.3em}
|
||||
|
||||
34
head.php
34
head.php
@ -26,7 +26,7 @@ if ($config['cf_include_head']) {
|
||||
<header id="hd">
|
||||
<h1><?php echo $config['cf_title'] ?></h1>
|
||||
|
||||
<div id="to_content"><a href="#container">본문 바로가기</a></div>
|
||||
<div id="skip_to_container"><a href="#container">본문 바로가기</a></div>
|
||||
|
||||
<div id="hd_wrapper">
|
||||
|
||||
@ -41,7 +41,7 @@ if ($config['cf_include_head']) {
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<label for="sch_all_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" id="sch_all_stx" maxlength="20">
|
||||
<input type="submit" value="검색" id="sch_all_submit">
|
||||
<input type="submit" id="sch_all_submit" value="검색">
|
||||
</form>
|
||||
|
||||
<script>
|
||||
@ -73,15 +73,15 @@ if ($config['cf_include_head']) {
|
||||
</script>
|
||||
</fieldset>
|
||||
|
||||
<ul id="mb_nb">
|
||||
<ul id="tnb">
|
||||
<li>
|
||||
<a href="<?php echo G4_BBS_URL ?>/current_connect.php" id="snb_cnt">
|
||||
<a href="<?php echo G4_BBS_URL ?>/current_connect.php">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_cnt.jpg" alt="">
|
||||
접속자 <?php echo connect(); // 현재 접속자수 ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo G4_BBS_URL ?>/new.php" id="snb_new">
|
||||
<a href="<?php echo G4_BBS_URL ?>/new.php">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_new.jpg" alt="">
|
||||
새글
|
||||
</a>
|
||||
@ -89,33 +89,33 @@ if ($config['cf_include_head']) {
|
||||
<?php if ($is_member) { ?>
|
||||
<?php if ($is_admin) { ?>
|
||||
<li>
|
||||
<a href="<?php echo G4_ADMIN_URL ?>" id="snb_adm">
|
||||
<a href="<?php echo G4_ADMIN_URL ?>">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_admin.jpg" alt="">
|
||||
관리자
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li>
|
||||
<a href="<?php echo G4_BBS_URL ?>/member_confirm.php?url=<?php echo G4_BBS_URL ?>/register_form.php" id="snb_modify">
|
||||
<a href="<?php echo G4_BBS_URL ?>/member_confirm.php?url=<?php echo G4_BBS_URL ?>/register_form.php">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_modify.jpg" alt="">
|
||||
내 정보
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo G4_BBS_URL ?>/logout.php" id="snb_logout">
|
||||
<a href="<?php echo G4_BBS_URL ?>/logout.php">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_logout.jpg" alt="">
|
||||
로그아웃
|
||||
</a>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li>
|
||||
<a href="<?php echo G4_BBS_URL ?>/register.php" id="snb_join">
|
||||
<a href="<?php echo G4_BBS_URL ?>/register.php">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_join.jpg" alt="">
|
||||
회원가입
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo G4_BBS_URL ?>/login.php" id="snb_login">
|
||||
<a href="<?php echo G4_BBS_URL ?>/login.php">
|
||||
<img src="<?php echo G4_IMG_URL ?>/snb_login.jpg" alt="">
|
||||
로그인
|
||||
</a>
|
||||
@ -129,7 +129,7 @@ if ($config['cf_include_head']) {
|
||||
|
||||
<nav id="gnb">
|
||||
<script>$('#gnb').addClass('gnb_js');</script>
|
||||
<h2>홈페이지 메인메뉴</h2>
|
||||
<h2>메인메뉴</h2>
|
||||
<ul id="gnb_1dul">
|
||||
<?php
|
||||
$sql = " select * from {$g4['group_table']} where gr_show_menu = '1' and gr_device <> 'mobile' order by gr_order ";
|
||||
@ -158,14 +158,14 @@ if ($config['cf_include_head']) {
|
||||
<hr>
|
||||
|
||||
<div id="wrapper">
|
||||
<aside id="aside">
|
||||
<div id="aside">
|
||||
<?php echo outlogin('basic'); // 외부 로그인 ?>
|
||||
<?php echo poll('basic'); // 설문조사 ?>
|
||||
</aside>
|
||||
</div>
|
||||
<div id="container">
|
||||
<?php if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) { ?><h1 id="wrapper_title"><?php echo $g4['title'] ?></h1><?php } ?>
|
||||
<?php if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) { ?><h1 id="container_title"><?php echo $g4['title'] ?></h1><?php } ?>
|
||||
<div id="text_size">
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'decrease');">작게</button>
|
||||
<button class="no_text_resize" onclick="font_default('container');">기본</button>
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
<button id="text_size_down" class="no_text_resize" onclick="font_resize('container', 'decrease');">작게</button>
|
||||
<button id="text_size_def" class="no_text_resize" onclick="font_default('container');">기본</button>
|
||||
<button id="text_size_up" class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
</div>
|
||||
@ -18,6 +18,7 @@ if ($config['cf_include_index']) {
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<h1 class="sound_only">최신글</h1>
|
||||
<!-- 메인화면 최신글 시작 -->
|
||||
<?php
|
||||
// 최신글
|
||||
|
||||
@ -48,7 +48,7 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="")
|
||||
}
|
||||
|
||||
if ($str)
|
||||
return "<div class=\"pg_wrap\"><span class=\"pg\">{$str}</span></div>";
|
||||
return "<nav class=\"pg_wrap\"><span class=\"pg\">{$str}</span></nav>";
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
@ -254,12 +254,6 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if($size[1] / $size[0] >= $ratio) {
|
||||
$src_h = round($src_w * $ratio);
|
||||
} else {
|
||||
$src_w = round($size[1] / $ratio);
|
||||
}
|
||||
}
|
||||
|
||||
$dst = imagecreatetruecolor($dst_w, $dst_h);
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
|
||||
#bo_v_cate {padding:0 1em;color:#999;font-size:0.9em;font-weight:bold}
|
||||
|
||||
#bo_v_h1 {padding:0 0.7em 0.5em;font-size:1.2em}
|
||||
#bo_v_title {padding:0 0.7em 0.5em;font-size:1.2em}
|
||||
|
||||
#bo_v_info {padding:0 0.9em 1em;border-bottom:1px solid #ddd}
|
||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
@ -61,26 +61,22 @@
|
||||
#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 li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
|
||||
#bo_v_file a {display:inline-block;padding:0.5em 0;color:#000}
|
||||
#bo_v_file a:focus,
|
||||
#bo_v_file a:hover,
|
||||
#bo_v_file a:active {text-decoration:none}
|
||||
#bo_v_file a {display:inline-block;padding:0.5em 0;color:#000;text-decoration:none}
|
||||
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 1em}
|
||||
|
||||
#bo_v_link {}
|
||||
#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 li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
|
||||
#bo_v_link a {display:inline-block;padding:0.5em 0;color:#000}
|
||||
#bo_v_link a:focus,
|
||||
#bo_v_link a:hover,
|
||||
#bo_v_link a:active {text-decoration:none}
|
||||
#bo_v_link a {display:inline-block;padding:0.5em 0;color:#000;text-decoration:none}
|
||||
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 1em}
|
||||
|
||||
#bo_v_top {margin:0 0 1em;padding:1em}
|
||||
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_top ul {list-style:none}
|
||||
#bo_v_top ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
#bo_v_bot {padding:0 1em}
|
||||
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -93,7 +89,7 @@
|
||||
.bo_v_com li {float:left;margin-left:0.3em}
|
||||
|
||||
#bo_v_atc {min-height:200px;padding:0 1em;min-height:200px}
|
||||
#bo_v_atc h1 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_atc_title {margin:0;padding:0;height:0;overflow:hidden}
|
||||
|
||||
#bo_v_img {margin:0 0 1em;width:100%;overflow:hidden:zoom:1}
|
||||
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -107,8 +103,7 @@
|
||||
#bo_v_act a {margin-right:0.3em;vertical-align:top}
|
||||
#bo_v_act span {display:inline-block;margin-right:0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
|
||||
#bo_v_act strong {color:#ff3061}
|
||||
#bo_v_act_good,
|
||||
#bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#bo_v_act_good, #bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#bo_v form {padding-top:1.5em}
|
||||
|
||||
@ -118,8 +113,7 @@
|
||||
#bo_vc article {padding:0 0 0.5em;border-top:1px dotted #ccc}
|
||||
#bo_vc header {position:relative;padding:1.3em 0 0.3em}
|
||||
#bo_vc header .icon_reply {position:absolute;top:1.5em;left:-1.3em}
|
||||
#bo_vc .sv_member,
|
||||
#bo_vc .sv_guest {font-weight:bold}
|
||||
#bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
|
||||
.bo_vc_hdinfo {display:inline-block;margin:0 1em 0 0.3em}
|
||||
#bo_vc h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#bo_vc a {color:#000;text-decoration:none}
|
||||
|
||||
@ -5,21 +5,24 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
<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">
|
||||
<?php echo $board['bo_subject'] ?>
|
||||
<?php if ($category_name) { // 분류가 지정되었다면 ?><?php echo ($category_name ? "{$view['ca_name']} " : ""); ?><?php } // 분류 출력 끝 ?>
|
||||
</p>
|
||||
|
||||
<h1 id="bo_v_h1"><?php echo cut_str(get_text($view['wr_subject']), 70) // 글제목 출력 ?></h1>
|
||||
<article id="bo_v" style="width:<?php echo $width; ?>">
|
||||
<header>
|
||||
<h1 id="bo_v_title">
|
||||
<?php
|
||||
if ($category_name) echo ($category_name ? $view['ca_name'].' | ' : ''); // 분류 출력 끝
|
||||
echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<section id="bo_v_info">
|
||||
<h2>게시물 정보</h2>
|
||||
작성자 <strong><?php echo $view['wr_name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong><br>
|
||||
작성일 <strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong><br>
|
||||
조회 <strong><?php echo number_format($view['wr_hit']) ?>회</strong><br>
|
||||
댓글 <strong><?php echo number_format($view['wr_comment']) ?>건</strong>
|
||||
<h2>페이지 정보</h2>
|
||||
작성자 <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>
|
||||
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
||||
댓글<strong><?php echo number_format($view['wr_comment']) ?>건</strong>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
@ -30,7 +33,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$cnt++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
<?php if($cnt) { ?>
|
||||
<section id="bo_v_file">
|
||||
@ -40,12 +43,12 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
// 가변 파일
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
|
||||
?>
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['file'][$i]['href']; ?>" class="view_file_download">
|
||||
<img src="<?php echo $board_skin_url ?>/img/icon_file.gif" alt="첨부파일">
|
||||
<a href="<?php echo $view['file'][$i]['href']; ?>" class="view_file_download">
|
||||
<img src="<?php echo $board_skin_url ?>/img/icon_file.gif" alt="첨부">
|
||||
<strong><?php echo $view['file'][$i]['source'] ?></strong>
|
||||
<span> (<?php echo $view['file'][$i]['size'] ?>)</span>
|
||||
<?php echo $view['file'][$i]['bf_content'] ?> (<?php echo $view['file'][$i]['size'] ?>)
|
||||
</a>
|
||||
<span class="bo_v_file_cnt"><?php echo $view['file'][$i]['download'] ?>회 다운로드</span>
|
||||
<span>DATE : <?php echo $view['file'][$i]['datetime'] ?></span>
|
||||
@ -53,14 +56,14 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if (implode('', $view['link'])) {
|
||||
?>
|
||||
?>
|
||||
<section id="bo_v_link">
|
||||
<h2>관련링크</h2>
|
||||
<ul>
|
||||
@ -71,7 +74,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
if ($view['link'][$i]) {
|
||||
$cnt++;
|
||||
$link = cut_str($view['link'][$i], 70);
|
||||
?>
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['link_href'][$i] ?>" target="_blank">
|
||||
<img src="<?php echo $board_skin_url ?>/img/icon_link.gif" alt="관련링크">
|
||||
@ -82,16 +85,15 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<nav id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<div id="bo_v_top">
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
?>
|
||||
<?php if ($prev_href || $next_href) { ?>
|
||||
<ul class="bo_v_nb">
|
||||
<?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01">이전글</a></li><?php } ?>
|
||||
@ -112,13 +114,11 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</nav>
|
||||
?>
|
||||
</div>
|
||||
|
||||
<article id="bo_v_atc" class="img_resize">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
</header>
|
||||
<section id="bo_v_atc">
|
||||
<h2 id="bo_v_atc_title">본문</h2>
|
||||
|
||||
<?php
|
||||
// 파일 출력
|
||||
@ -135,7 +135,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
echo "</div>\n";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
<div id="bo_v_con"><?php echo get_view_thumbnail($view['content']); ?></div>
|
||||
<?php//echo $view[rich_content]; // {이미지:0} 과 같은 코드를 사용할 경우 ?>
|
||||
@ -145,7 +145,6 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php if ($scrap_href || $good_href || $nogood_href) { ?>
|
||||
<div id="bo_v_act">
|
||||
<?php if ($scrap_href) { ?><a href="<?php echo $scrap_href; ?>" target="_blank" class="btn_b01" onclick="win_scrap(this.href); return false;">스크랩</a><?php } ?>
|
||||
|
||||
<?php if ($good_href) { ?>
|
||||
<a href="<?php echo $good_href.'&'.$qstr ?>" id="good_button" class="btn_b01">추천 <strong><?php echo number_format($view['wr_good']) ?></strong></a>
|
||||
<b id="bo_v_act_good"></b>
|
||||
@ -166,21 +165,19 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
}
|
||||
}
|
||||
?>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
// 코멘트 입출력
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<nav id="bo_v_bot">
|
||||
<h2>게시물 하단 버튼</h2>
|
||||
?>
|
||||
|
||||
<div id="bo_v_bot">
|
||||
<!-- 링크 버튼 -->
|
||||
<?php echo $link_buttons ?>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<script>
|
||||
<?php if ($board['bo_download_point'] < 0) { ?>
|
||||
@ -209,14 +206,9 @@ function board_move(href)
|
||||
<!-- 게시글 보기 끝 -->
|
||||
|
||||
<script>
|
||||
// 이미지 등비율 리사이징
|
||||
$(window).load(function() {
|
||||
view_image_resize();
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$("a.view_image").click(function() {
|
||||
window.open(this.href, "large_image", "top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
|
||||
window.open(this.href, "large_image", "location=yes,links=no,toolbar=no,top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
|
||||
return false;
|
||||
});
|
||||
|
||||
@ -233,22 +225,6 @@ $(function() {
|
||||
});
|
||||
});
|
||||
|
||||
function view_image_resize()
|
||||
{
|
||||
var $img = $(".img_resize img");
|
||||
var img_wrap = $(".img_resize").width();
|
||||
|
||||
$img.each(function() {
|
||||
var img_width = $(this).width();
|
||||
$(this).data("width", img_width); // 원래 이미지 사이즈
|
||||
if (img_width > img_wrap) {
|
||||
$(this).addClass("img_fix");
|
||||
} else if (img_width <= img_wrap && img_width >= $(this).data("width")) {
|
||||
$(this).removeClass("img_fix");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function excute_good(href, $el, $tx)
|
||||
{
|
||||
$.post(
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
#bo_v_top {margin:0 0 1em;padding:1em}
|
||||
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_top ul {list-style:none}
|
||||
#bo_v_top ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
#bo_v_bot {padding:0 1em}
|
||||
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
@ -5,21 +5,24 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
<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">
|
||||
<?php echo $board['bo_subject'] ?>
|
||||
<?php if ($category_name) { // 분류가 지정되었다면 ?><?php echo ($category_name ? "{$view['ca_name']} " : ""); ?><?php } // 분류 출력 끝 ?>
|
||||
</p>
|
||||
|
||||
<h1 id="bo_v_h1"><?php echo cut_str(get_text($view['wr_subject']), 70) // 글제목 출력 ?></h1>
|
||||
<article id="bo_v" style="width:<?php echo $width; ?>">
|
||||
<header>
|
||||
<h1 id="bo_v_title">
|
||||
<?php
|
||||
if ($category_name) echo ($category_name ? $view['ca_name'].' | ' : ''); // 분류 출력 끝
|
||||
echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<section id="bo_v_info">
|
||||
<h2>게시물 정보</h2>
|
||||
작성자 <strong><?php echo $view['wr_name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong><br>
|
||||
작성일 <strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong><br>
|
||||
조회 <strong><?php echo number_format($view['wr_hit']) ?>회</strong><br>
|
||||
댓글 <strong><?php echo number_format($view['wr_comment']) ?>건</strong>
|
||||
<h2>페이지 정보</h2>
|
||||
작성자 <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>
|
||||
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
||||
댓글<strong><?php echo number_format($view['wr_comment']) ?>건</strong>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
@ -30,7 +33,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$cnt++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
<?php if($cnt) { ?>
|
||||
<section id="bo_v_file">
|
||||
@ -40,12 +43,12 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
// 가변 파일
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
|
||||
?>
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['file'][$i]['href']; ?>" class="view_file_download">
|
||||
<img src="<?php echo $board_skin_url ?>/img/icon_file.gif" alt="첨부파일">
|
||||
<a href="<?php echo $view['file'][$i]['href']; ?>" class="view_file_download">
|
||||
<img src="<?php echo $board_skin_url ?>/img/icon_file.gif" alt="첨부">
|
||||
<strong><?php echo $view['file'][$i]['source'] ?></strong>
|
||||
<span> (<?php echo $view['file'][$i]['size'] ?>)</span>
|
||||
<?php echo $view['file'][$i]['bf_content'] ?> (<?php echo $view['file'][$i]['size'] ?>)
|
||||
</a>
|
||||
<span class="bo_v_file_cnt"><?php echo $view['file'][$i]['download'] ?>회 다운로드</span>
|
||||
<span>DATE : <?php echo $view['file'][$i]['datetime'] ?></span>
|
||||
@ -53,14 +56,14 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if (implode('', $view['link'])) {
|
||||
?>
|
||||
?>
|
||||
<section id="bo_v_link">
|
||||
<h2>관련링크</h2>
|
||||
<ul>
|
||||
@ -71,7 +74,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
if ($view['link'][$i]) {
|
||||
$cnt++;
|
||||
$link = cut_str($view['link'][$i], 70);
|
||||
?>
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['link_href'][$i] ?>" target="_blank">
|
||||
<img src="<?php echo $board_skin_url ?>/img/icon_link.gif" alt="관련링크">
|
||||
@ -82,16 +85,15 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<nav id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<div id="bo_v_top">
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
?>
|
||||
<?php if ($prev_href || $next_href) { ?>
|
||||
<ul class="bo_v_nb">
|
||||
<?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01">이전글</a></li><?php } ?>
|
||||
@ -112,13 +114,11 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</nav>
|
||||
?>
|
||||
</div>
|
||||
|
||||
<article id="bo_v_atc">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
</header>
|
||||
<section id="bo_v_atc">
|
||||
<h2 id="bo_v_atc_title">본문</h2>
|
||||
|
||||
<?php
|
||||
// 파일 출력
|
||||
@ -135,7 +135,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
echo "</div>\n";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
<div id="bo_v_con"><?php echo get_view_thumbnail($view['content']); ?></div>
|
||||
<?php//echo $view[rich_content]; // {이미지:0} 과 같은 코드를 사용할 경우 ?>
|
||||
@ -165,23 +165,19 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
}
|
||||
}
|
||||
?>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
// 코멘트 입출력
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<nav id="bo_v_bot">
|
||||
<h2>게시물 하단 버튼</h2>
|
||||
?>
|
||||
|
||||
<div id="bo_v_bot">
|
||||
<!-- 링크 버튼 -->
|
||||
<?php echo $link_buttons ?>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
<script>
|
||||
<?php if ($board['bo_download_point'] < 0) { ?>
|
||||
@ -210,14 +206,9 @@ function board_move(href)
|
||||
<!-- 게시글 보기 끝 -->
|
||||
|
||||
<script>
|
||||
// 이미지 등비율 리사이징
|
||||
$(window).load(function() {
|
||||
view_image_resize();
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$("a.view_image").click(function() {
|
||||
window.open(this.href, "large_image", "top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
|
||||
window.open(this.href, "large_image", "location=yes,links=no,toolbar=no,top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
|
||||
return false;
|
||||
});
|
||||
|
||||
@ -234,22 +225,6 @@ $(function() {
|
||||
});
|
||||
});
|
||||
|
||||
function view_image_resize()
|
||||
{
|
||||
var $img = $("#bo_v_atc img");
|
||||
var img_wrap = $("#bo_v_atc").width();
|
||||
|
||||
$img.each(function() {
|
||||
var img_width = $(this).width();
|
||||
$(this).data("width", img_width); // 원래 이미지 사이즈
|
||||
if (img_width > img_wrap) {
|
||||
$(this).addClass("img_fix");
|
||||
} else if (img_width <= img_wrap && img_width >= $(this).data("width")) {
|
||||
$(this).removeClass("img_fix");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function excute_good(href, $el, $tx)
|
||||
{
|
||||
$.post(
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $outlogin_skin_url ?>/style.css">
|
||||
|
||||
<section id="ol_before" class="ol">
|
||||
<aside id="ol_before" class="ol">
|
||||
<h2>회원로그인</h2>
|
||||
<!-- 로그인 전 외부로그인 시작 -->
|
||||
<form name="foutlogin" action="<?php echo $outlogin_action_url ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
|
||||
@ -21,7 +21,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<script>
|
||||
<?php if (!G4_IS_MOBILE) { ?>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $outlogin_skin_url ?>/style.css">
|
||||
|
||||
<!-- 로그인 후 외부로그인 시작 -->
|
||||
<section id="ol_after" class="ol">
|
||||
<aside id="ol_after" class="ol">
|
||||
<header id="ol_after_hd">
|
||||
<h2>나의 회원정보</h2>
|
||||
<strong><?php echo $nick ?>님</strong>
|
||||
@ -32,7 +32,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<a href="<?php echo G4_BBS_URL ?>/member_confirm.php?url=register_form.php" id="ol_after_info">정보수정</a>
|
||||
<a href="<?php echo G4_BBS_URL ?>/logout.php" id="ol_after_logout">로그아웃</a>
|
||||
</footer>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<script>
|
||||
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
|
||||
|
||||
@ -7,7 +7,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<form name="fpoll" action="<?php echo G4_BBS_URL ?>/poll_update.php" onsubmit="return fpoll_submit(this);" method="post">
|
||||
<input type="hidden" name="po_id" value="<?php echo $po_id ?>">
|
||||
<input type="hidden" name="skin_dir" value="<?php echo $skin_dir ?>">
|
||||
<section id="poll">
|
||||
<aside id="poll">
|
||||
<header>
|
||||
<h2>설문조사</h2>
|
||||
<?php if ($is_admin == "super") { ?><a href="<?php echo G4_ADMIN_URL ?>/poll_form.php?w=u&po_id=<?php echo $po_id ?>" class="btn_admin">설문조사 관리</a><?php } ?>
|
||||
@ -22,7 +22,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<input type="submit" value="투표하기">
|
||||
<a href="<?php echo G4_BBS_URL."/poll_result.php?po_id=$po_id&skin_dir=$skin_dir" ?>" target="_blank" onclick="poll_result(this.href); return false;">결과보기</a>
|
||||
</footer>
|
||||
</section>
|
||||
</aside>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@ -85,14 +85,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<section id="poll_result_oth">
|
||||
<aside id="poll_result_oth">
|
||||
<h2>다른 투표 결과 보기</h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list3); $i++) { ?>
|
||||
<li><a href="./poll_result.php?po_id=<?php echo $list3[$i]['po_id'] ?>&skin_dir=<?php echo $skin_dir ?>">[<?php echo $list3[$i]['date'] ?>] <?php echo $list3[$i]['subject'] ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<div class="btn_win">
|
||||
<a href="javascript:;" onclick="window.close();">창닫기</a>
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $popular_skin_url ?>/style.css">
|
||||
|
||||
<section id="popular">
|
||||
<aside id="popular">
|
||||
<div>
|
||||
<h2>인기검색어</h2>
|
||||
<ul>
|
||||
@ -13,4 +13,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
@ -2,129 +2,136 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $search_skin_url ?>/style.css">
|
||||
|
||||
<form name="fsearch" onsubmit="return fsearch_submit(this);" method="get">
|
||||
<input type="hidden" name="srows" value="<?php echo $srows ?>">
|
||||
<fieldset id="sch_result_detail">
|
||||
<fieldset id="sch_res_detail">
|
||||
<legend>상세검색</legend>
|
||||
<?php echo $group_select ?>
|
||||
<script>document.getElementById("gr_id").value = "<?php echo $gr_id ?>";</script>
|
||||
<div>
|
||||
<?php echo $group_select ?>
|
||||
<script>document.getElementById("gr_id").value = "<?php echo $gr_id ?>";</script>
|
||||
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="wr_subject||wr_content"<?php echo get_selected($_GET['sfl'], "wr_subject||wr_content") ?>>제목+내용</option>
|
||||
<option value="wr_subject"<?php echo get_selected($_GET['sfl'], "wr_subject") ?>>제목</option>
|
||||
<option value="wr_content"<?php echo get_selected($_GET['sfl'], "wr_content") ?>>내용</option>
|
||||
<option value="mb_id"<?php echo get_selected($_GET['sfl'], "mb_id") ?>>회원아이디</option>
|
||||
<option value="wr_name"<?php echo get_selected($_GET['sfl'], "wr_name") ?>>이름</option>
|
||||
</select>
|
||||
<label for="sfl" class="sound_only">검색조건</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="wr_subject||wr_content"<?php echo get_selected($_GET['sfl'], "wr_subject||wr_content") ?>>제목+내용</option>
|
||||
<option value="wr_subject"<?php echo get_selected($_GET['sfl'], "wr_subject") ?>>제목</option>
|
||||
<option value="wr_content"<?php echo get_selected($_GET['sfl'], "wr_content") ?>>내용</option>
|
||||
<option value="mb_id"<?php echo get_selected($_GET['sfl'], "mb_id") ?>>회원아이디</option>
|
||||
<option value="wr_name"<?php echo get_selected($_GET['sfl'], "wr_name") ?>>이름</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?php echo $text_stx ?>" class="frm_input" required class="required" size="14" maxlength="20">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
|
||||
<input type="text" name="stx" value="<?php echo $text_stx ?>" id="stx" required class="required" placeholder="검색어(필수)" maxlength="20">
|
||||
<input type="submit" value="검색">
|
||||
<script>
|
||||
function fsearch_submit(f)
|
||||
{
|
||||
if (f.stx.value.length < 2) {
|
||||
alert("검색어는 두글자 이상 입력하십시오.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
<script>
|
||||
function fsearch_submit(f)
|
||||
{
|
||||
if (f.stx.value.length < 2) {
|
||||
alert("검색어는 두글자 이상 입력하십시오.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
|
||||
var cnt = 0;
|
||||
for (var i=0; i<f.stx.value.length; i++) {
|
||||
if (f.stx.value.charAt(i) == ' ')
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (cnt > 1) {
|
||||
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
f.action = "";
|
||||
return true;
|
||||
}
|
||||
|
||||
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
|
||||
var cnt = 0;
|
||||
for (var i=0; i<f.stx.value.length; i++) {
|
||||
if (f.stx.value.charAt(i) == ' ')
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (cnt > 1) {
|
||||
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
f.action = "";
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<input type="radio" id="sop_or" name="sop" value="or" <?php echo ($sop == "or") ? "checked" : ""; ?>>
|
||||
<label for="sop_or">OR</label>
|
||||
<input type="radio" id="sop_and" name="sop" value="and" <?php echo ($sop == "and") ? "checked" : ""; ?>>
|
||||
<label for="sop_and">AND</label>
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" value="or" <?php echo ($sop == "or") ? "checked" : ""; ?> id="sop_or" name="sop">
|
||||
<label for="sop_or">OR</label>
|
||||
<input type="radio" value="and" <?php echo ($sop == "and") ? "checked" : ""; ?> id="sop_and" name="sop">
|
||||
<label for="sop_and">AND</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div id="sch_result">
|
||||
|
||||
<?php if ($stx) { ?>
|
||||
<?php if ($board_count) { ?>
|
||||
<dl id="sch_result_hd">
|
||||
<dt><strong><?php echo $stx ?></strong>에 대한 검색 결과입니다.</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li>게시판 <span style="color:<?php echo $config['cf_search_color'] ?>"><?php echo $board_count ?></span>개</li>
|
||||
<li>게시물 <span style="color:<?php echo $config['cf_search_color'] ?>"><?php echo number_format($total_count) ?></span>개</li>
|
||||
<li><?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<dl id="sch_result_bo">
|
||||
<dt>검색결과가 있는 게시판 목록</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="?<?php echo $search_query ?>&gr_id=<?php echo $gr_id ?>" <?php echo $sch_all ?>>전체게시판</a></li>
|
||||
<?php echo $str_board_list; ?>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<section id="sch_res_ov">
|
||||
<h2><?php echo $stx ?> 전체검색 결과</h2>
|
||||
<dl>
|
||||
<dt>게시판</dt>
|
||||
<dd><strong style="color:<?php echo $config['cf_search_color'] ?>"><?php echo $board_count ?>개</strong></dd>
|
||||
<dt>게시물</dt>
|
||||
<dd><strong style="color:<?php echo $config['cf_search_color'] ?>"><?php echo number_format($total_count) ?>개</strong></dd>
|
||||
</dl>
|
||||
<p><?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지 열람 중</p>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<ul id="sch_res_board">
|
||||
<li><a href="?<?php echo $search_query ?>&gr_id=<?php echo $gr_id ?>" <?php echo $sch_all ?>>전체게시판</a></li>
|
||||
<?php echo $str_board_list; ?>
|
||||
</ul>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
?>
|
||||
<p>검색된 자료가 하나도 없습니다.</p>
|
||||
<?php } } ?>
|
||||
<?php } } ?>
|
||||
|
||||
<hr>
|
||||
|
||||
<?php if ($stx && $board_count) { ?><dl id="sch_result_atc"><?php } ?>
|
||||
<?php if ($stx && $board_count) { ?><section class="sch_res_list"><?php } ?>
|
||||
<?php
|
||||
$k=0;
|
||||
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
||||
$comment_def = "";
|
||||
$comment_href = "";
|
||||
?>
|
||||
<dt><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?>에서</a></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<?php
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
if ($list[$idx][$i][wr_is_comment])
|
||||
{
|
||||
$comment_def = "<span class=\"cmt_def\">댓글</span>";
|
||||
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" class="sch_result_title"><?php echo $comment_def ?><?php echo $list[$idx][$i][subject] ?></a>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" target="_blank">새창</a>
|
||||
<p><?php echo $list[$idx][$i][content] ?></p>
|
||||
<?php echo $list[$idx][$i][name] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i][wr_datetime] ?></span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 더보기</a></div>
|
||||
</dd>
|
||||
<?php } ?>
|
||||
<?php if ($stx && $board_count) { ?></dl><?php } ?>
|
||||
?>
|
||||
<h2><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
|
||||
<ul>
|
||||
<?php
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
if ($list[$idx][$i][wr_is_comment])
|
||||
{
|
||||
$comment_def = "<span class=\"cmt_def\">댓글</span>";
|
||||
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" class="sch_res_title"><?php echo $comment_def ?><?php echo $list[$idx][$i][subject] ?></a>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" target="_blank">새창</a>
|
||||
<p><?php echo $list[$idx][$i][content] ?></p>
|
||||
<?php echo $list[$idx][$i][name] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i][wr_datetime] ?></span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><strong><?php echo $bo_subject[$idx] ?></strong> 결과 더보기</a></div>
|
||||
|
||||
<hr>
|
||||
<?php } ?>
|
||||
<?php if ($stx && $board_count) { ?></section><?php } ?>
|
||||
|
||||
<?php echo $write_pages ?>
|
||||
|
||||
|
||||
@ -1,28 +1,27 @@
|
||||
/* 전체검색결과 스킨 */
|
||||
#sch_result_detail {margin:0;padding:0.5em 1em;border:0}
|
||||
#sch_result {padding:0 1em}
|
||||
#sch_res_detail {padding:0 0 1em;border-bottom:1px solid #e9e9e9;text-align:center}
|
||||
#sch_res_detail legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_res_detail div {margin:0 0 0.5em}
|
||||
#sch_res_detail .frm_input {height:2.5em;line-height:2.5em}
|
||||
|
||||
#sch_result_hd dt {width:0;height:0;overflow:hidden}
|
||||
#sch_result_hd dd {margin:0}
|
||||
#sch_result_hd ul {margin:0;padding:0;border-top:1px solid #eee;border-bottom:1px solid #eee;list-style:none}
|
||||
#sch_result_hd ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_result_hd li {float:left;padding:0.5em 0;width:33%;text-align:center}
|
||||
#sch_res_ov {padding:1em;border-bottom:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
|
||||
#sch_res_ov:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_ov h2 {margin:0 0 0.5em}
|
||||
#sch_res_ov dl {margin:0 0 0.5em;zoom:1}
|
||||
#sch_res_ov dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_ov dt {float:left}
|
||||
#sch_res_ov dd {float:left;margin:0 1em 0 0.5em}
|
||||
#sch_res_ov p {margin:0;padding:0}
|
||||
|
||||
#sch_result_bo dt {width:0;height:0;overflow:hidden}
|
||||
#sch_result_bo dd {margin:0}
|
||||
#sch_result_bo ul {margin:0;padding:0;list-style:none}
|
||||
#sch_result_bo li {border-bottom:1px solid #fff;background:#f7f7f7}
|
||||
#sch_result_bo a {display:block;padding:0.5em;color:#000;text-decoration:none}
|
||||
#sch_result_bo .cnt_cmt {display:inline-block;margin:0 0 0 0.5em;color:#ff3061}
|
||||
#sch_res_board {margin:0 0 1em;padding:0;list-style:none;zoom:1}
|
||||
#sch_res_board:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_board a {display:block;position:relative;margin-left:-1px;padding:0.5em 1em;border-bottom:1px solid #e9e9e9;text-decoration:none;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
|
||||
#sch_res_board a:focus, #sch_res_board a:hover, #sch_res_board a:active {text-decoration:none}
|
||||
#sch_res_board .cnt_cmt {font-weight:normal !important}
|
||||
|
||||
#sch_result_atc a {color:#000}
|
||||
#sch_result_atc dt {padding:0.5em 1em;background:#484848;color:#fff}
|
||||
#sch_result_atc dt a {color:#fff;text-decoration:none}
|
||||
#sch_result_atc dd {margin:0}
|
||||
#sch_result_atc ul {margin:0;padding:0;list-style:none}
|
||||
#sch_result_atc li {padding:1em;border-bottom:1px solid #eee}
|
||||
|
||||
.sch_more {padding:10px 0 15px;text-align:right}
|
||||
.sch_more a {}
|
||||
.sch_datetime {display:inline-block;margin-right:15px;color:#999}
|
||||
.sch_word {font-weight:bold} /* 검색어 강조 */
|
||||
.sch_res_list {margin:0 0 1em;padding:1em 0}
|
||||
.sch_res_list h2 {margin:0 0 1em;padding:0 1em;font-size:1.2em}
|
||||
.sch_res_list ul {margin:0;padding:0;list-style:none}
|
||||
.sch_res_list li {margin:0 0 1em;padding:0 1em 1em;border-bottom:1px solid #e9e9e9}
|
||||
.sch_res_list a {text-decoration:none}
|
||||
.sch_more {padding:0 1em;text-align:right}
|
||||
@ -6,7 +6,7 @@ global $is_admin;
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $visit_skin_url ?>/style.css">
|
||||
|
||||
<section id="visit">
|
||||
<aside id="visit">
|
||||
<div>
|
||||
<h2>방문자집계</h2>
|
||||
<dl>
|
||||
@ -21,4 +21,4 @@ global $is_admin;
|
||||
</dl>
|
||||
<?php if ($is_admin == "super") { ?><a href="<?php echo G4_ADMIN_URL ?>/visit_list.php">상세보기</a><?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
@ -35,9 +35,9 @@ if ($is_nogood) $colspan++;
|
||||
|
||||
<?php if ($rss_href || $write_href) { ?>
|
||||
<ul class="btn_bo_user">
|
||||
<?php if ($rss_href) { ?><li><a href="<?php echo $rss_href ?>" class="btn_b01">RSS</a></li><?php } ?>
|
||||
<?php if ($rss_href) { ?><li><a href="<?php echo $rss_href ?>" class="btn_b02">RSS</a></li><?php } ?>
|
||||
<?php if ($admin_href) { ?><li><a href="<?php echo $admin_href ?>" class="btn_admin">관리자</a></li><?php } ?>
|
||||
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b02">글쓰기</a></li><?php } ?>
|
||||
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b01">글쓰기</a></li><?php } ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div>
|
||||
@ -115,7 +115,7 @@ if ($is_nogood) $colspan++;
|
||||
|
||||
?>
|
||||
</td>
|
||||
<td class="td_name"><?php echo $list[$i]['name'] ?></td>
|
||||
<td class="td_name sv_use"><?php echo $list[$i]['name'] ?></td>
|
||||
<td class="td_date"><?php echo $list[$i]['datetime2'] ?></td>
|
||||
<td class="td_num"><?php echo $list[$i]['wr_hit'] ?></td>
|
||||
<?php if ($is_good) { ?><td class="td_num"><?php echo $list[$i]['wr_good'] ?></td><?php } ?>
|
||||
@ -140,7 +140,7 @@ if ($is_nogood) $colspan++;
|
||||
</ul>
|
||||
|
||||
<ul class="btn_bo_user">
|
||||
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b02">글쓰기</a></li><?php } ?>
|
||||
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b01">글쓰기</a></li><?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@ -3,14 +3,12 @@
|
||||
/* 게시판 목록 */
|
||||
#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:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_cate li {float:left;margin-bottom:-1px}
|
||||
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:90px;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
|
||||
#bo_cate a:focus,
|
||||
#bo_cate a:hover,
|
||||
#bo_cate a:active {text-decoration:none}
|
||||
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
|
||||
#bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold}
|
||||
|
||||
.td_subject img {margin-left:3px}
|
||||
@ -33,15 +31,14 @@
|
||||
.cnt_cmt {font-weight:bold}
|
||||
|
||||
#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_titlecate {position:absolute;top:0;right:0;padding:15px 0;width:100%;border-bottom:1px solid #f0f0f0;background:#f9fafe}
|
||||
#bo_v_titlecate span {display:inline-block;margin:0 0 0 20px}
|
||||
#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 {margin:35px 0 0;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 h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
@ -55,26 +52,23 @@
|
||||
#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 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:focus,
|
||||
#bo_v_file a:hover,
|
||||
#bo_v_file a:active {text-decoration:none}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 10px}
|
||||
#bo_v_file a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
|
||||
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
|
||||
#bo_v_file img {float:left;margin:0 10px 0 0}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 0 3px 22px}
|
||||
|
||||
#bo_v_link {}
|
||||
#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 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:focus,
|
||||
#bo_v_link a:hover,
|
||||
#bo_v_link a:active {text-decoration:none}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 10px}
|
||||
#bo_v_link a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
|
||||
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 0 3px 22px}
|
||||
|
||||
#bo_v_top {margin:0 0 10px;padding:10px 0;zoom:1}
|
||||
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_top ul {list-style:none}
|
||||
#bo_v_top ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
#bo_v_bot {zoom:1}
|
||||
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -87,7 +81,7 @@
|
||||
.bo_v_com li {float:left;margin-left:5px}
|
||||
|
||||
#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:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -102,27 +96,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 strong {color:#ff3061}
|
||||
#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_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 article {padding:0 0 10px;border-top:1px dotted #ccc}
|
||||
#bo_vc header {position:relative;padding:15px 0 5px}
|
||||
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
||||
#bo_vc .sv_wrap {margin-right:15px}
|
||||
#bo_vc .member,
|
||||
#bo_vc .guest,
|
||||
#bo_vc .sv_member,
|
||||
#bo_vc .sv_guest {font-weight:bold}
|
||||
#bo_vc .member, #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 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 p {padding:0 0 5px;line-height:1.8em}
|
||||
#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 #bo_vc_winfo {float:left}
|
||||
#bo_vc footer {zoom:1}
|
||||
@ -132,8 +123,8 @@
|
||||
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.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 h2 {padding:15px 0 5px}
|
||||
#bo_vc_w #char_cnt {display:block;margin-bottom:5px}
|
||||
#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
|
||||
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}
|
||||
|
||||
#bo_vc form {padding:0}
|
||||
@ -5,19 +5,20 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
<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>
|
||||
|
||||
<div id="bo_v_titlecate">
|
||||
<span>
|
||||
<?php if ($category_name) { // 분류가 지정되었다면 ?><?php echo ($category_name ? "{$view['ca_name']} " : ""); ?><?php } // 분류 출력 끝 ?>
|
||||
<?php echo $board['bo_subject'] ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<h1 id="bo_v_h1"><?php echo cut_str(get_text($view['wr_subject']), 70) // 글제목 출력 ?></h1>
|
||||
<article id="bo_v" style="width:<?php echo $width; ?>">
|
||||
<header>
|
||||
<h1 id="bo_v_title">
|
||||
<?php
|
||||
if ($category_name) echo ($category_name ? $view['ca_name'].' | ' : ''); // 분류 출력 끝
|
||||
echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<section id="bo_v_info">
|
||||
<h2>게시물 정보</h2>
|
||||
<h2>페이지 정보</h2>
|
||||
작성자 <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>
|
||||
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
||||
@ -89,8 +90,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<nav id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<div id="bo_v_top">
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
@ -115,12 +115,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<article id="bo_v_atc">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
</header>
|
||||
<section id="bo_v_atc">
|
||||
<h2 id="bo_v_atc_title">본문</h2>
|
||||
|
||||
<?php
|
||||
// 파일 출력
|
||||
@ -147,7 +145,6 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php if ($scrap_href || $good_href || $nogood_href) { ?>
|
||||
<div id="bo_v_act">
|
||||
<?php if ($scrap_href) { ?><a href="<?php echo $scrap_href; ?>" target="_blank" class="btn_b01" onclick="win_scrap(this.href); return false;">스크랩</a><?php } ?>
|
||||
|
||||
<?php if ($good_href) { ?>
|
||||
<a href="<?php echo $good_href.'&'.$qstr ?>" id="good_button" class="btn_b01">추천 <strong><?php echo number_format($view['wr_good']) ?></strong></a>
|
||||
<b id="bo_v_act_good"></b>
|
||||
@ -156,11 +153,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<a href="<?php echo $nogood_href.'&'.$qstr ?>" id="nogood_button" class="btn_b01">비추천 <strong><?php echo number_format($view['wr_nogood']) ?></strong></a>
|
||||
<b id="bo_v_act_nogood"></b>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
<?php } else {
|
||||
if($board['bo_use_good'] || $board['bo_use_nogood']) {
|
||||
?>
|
||||
?>
|
||||
<div id="bo_v_act">
|
||||
<?php if($board['bo_use_good']) { ?><span>추천 <strong><?php echo number_format($view['wr_good']) ?></strong></span><?php } ?>
|
||||
<?php if($board['bo_use_nogood']) { ?><span>비추천 <strong><?php echo number_format($view['wr_nogood']) ?></strong></span><?php } ?>
|
||||
@ -168,24 +164,20 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</article>
|
||||
?>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
// 코멘트 입출력
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<nav id="bo_v_bot">
|
||||
<h2>게시물 하단 버튼</h2>
|
||||
|
||||
<div id="bo_v_bot">
|
||||
<!-- 링크 버튼 -->
|
||||
<?php echo $link_buttons ?>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
<script>
|
||||
<?php if ($board['bo_download_point'] < 0) { ?>
|
||||
|
||||
@ -73,230 +73,230 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
|
||||
</section>
|
||||
|
||||
<?php if ($is_comment_write) {
|
||||
if($w == '')
|
||||
$w = 'c';
|
||||
?>
|
||||
<aside id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<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="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $c_id ?>" id="comment_id">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="spt" value="<?php echo $spt ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<input type="hidden" name="is_good" value="">
|
||||
<?php
|
||||
if ($is_comment_write) {
|
||||
if($w == '') $w = 'c';
|
||||
?>
|
||||
<section id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<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="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $c_id ?>" id="comment_id">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="spt" value="<?php echo $spt ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<input type="hidden" name="is_good" value="">
|
||||
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="wr_name" id="wr_name" required class="frm_input required" size="5" maxLength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10" maxLength="20"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_secret">비밀글사용</label></th>
|
||||
<td><input type="checkbox" name="wr_secret" value="secret" id="wr_secret"></td>
|
||||
</tr>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo $captcha_html; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||
<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) { ?><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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="댓글등록" id="btn_submit" class="btn_submit" accesskey="s">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</aside>
|
||||
|
||||
<script>
|
||||
var save_before = '';
|
||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||
|
||||
function good_and_write()
|
||||
{
|
||||
var f = document.fviewcomment;
|
||||
if (fviewcomment_submit(f)) {
|
||||
f.is_good.value = 1;
|
||||
f.submit();
|
||||
} else {
|
||||
f.is_good.value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function fviewcomment_submit(f)
|
||||
{
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
|
||||
f.is_good.value = 0;
|
||||
|
||||
/*
|
||||
var s;
|
||||
if (s = word_filter_check(document.getElementById('wr_content').value))
|
||||
{
|
||||
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
|
||||
document.getElementById('wr_content').focus();
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g4_bbs_url+"/filter.ajax.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": "",
|
||||
"content": f.wr_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
f.wr_content.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 양쪽 공백 없애기
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
|
||||
if (char_min > 0 || char_max > 0)
|
||||
{
|
||||
check_byte('wr_content', 'char_count');
|
||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||
if (char_min > 0 && char_min > cnt)
|
||||
{
|
||||
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
return false;
|
||||
} else if (char_max > 0 && char_max < cnt)
|
||||
{
|
||||
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.getElementById('wr_content').value)
|
||||
{
|
||||
alert("댓글을 입력하여 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (typeof(f.wr_name) != 'undefined')
|
||||
{
|
||||
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
||||
if (f.wr_name.value == '')
|
||||
{
|
||||
alert('이름이 입력되지 않았습니다.');
|
||||
f.wr_name.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof(f.wr_password) != 'undefined')
|
||||
{
|
||||
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
||||
if (f.wr_password.value == '')
|
||||
{
|
||||
alert('패스워드가 입력되지 않았습니다.');
|
||||
f.wr_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function comment_box(comment_id, work)
|
||||
{
|
||||
var el_id;
|
||||
// 댓글 아이디가 넘어오면 답변, 수정
|
||||
if (comment_id)
|
||||
{
|
||||
if (work == 'c')
|
||||
el_id = 'reply_' + comment_id;
|
||||
else
|
||||
el_id = 'edit_' + comment_id;
|
||||
}
|
||||
else
|
||||
el_id = 'bo_vc_w';
|
||||
|
||||
if (save_before != el_id)
|
||||
{
|
||||
if (save_before)
|
||||
{
|
||||
document.getElementById(save_before).style.display = 'none';
|
||||
document.getElementById(save_before).innerHTML = '';
|
||||
}
|
||||
|
||||
document.getElementById(el_id).style.display = '';
|
||||
document.getElementById(el_id).innerHTML = save_html;
|
||||
// 댓글 수정
|
||||
if (work == 'cu')
|
||||
{
|
||||
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
|
||||
if (typeof char_count != 'undefined')
|
||||
check_byte('wr_content', 'char_count');
|
||||
if (document.getElementById('secret_comment_'+comment_id).value)
|
||||
document.getElementById('wr_secret').checked = true;
|
||||
else
|
||||
document.getElementById('wr_secret').checked = false;
|
||||
}
|
||||
|
||||
document.getElementById('comment_id').value = comment_id;
|
||||
document.getElementById('w').value = work;
|
||||
|
||||
save_before = el_id;
|
||||
}
|
||||
}
|
||||
|
||||
function comment_delete()
|
||||
{
|
||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||
}
|
||||
|
||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||
</script>
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="wr_name" id="wr_name" required class="frm_input required" size="5" maxLength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10" maxLength="20"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_secret">비밀글사용</label></th>
|
||||
<td><input type="checkbox" name="wr_secret" value="secret" id="wr_secret"></td>
|
||||
</tr>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo $captcha_html; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||
<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) { ?><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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="댓글등록" id="btn_submit" class="btn_submit" accesskey="s">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
var save_before = '';
|
||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||
|
||||
function good_and_write()
|
||||
{
|
||||
var f = document.fviewcomment;
|
||||
if (fviewcomment_submit(f)) {
|
||||
f.is_good.value = 1;
|
||||
f.submit();
|
||||
} else {
|
||||
f.is_good.value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function fviewcomment_submit(f)
|
||||
{
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
|
||||
f.is_good.value = 0;
|
||||
|
||||
/*
|
||||
var s;
|
||||
if (s = word_filter_check(document.getElementById('wr_content').value))
|
||||
{
|
||||
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
|
||||
document.getElementById('wr_content').focus();
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g4_bbs_url+"/filter.ajax.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": "",
|
||||
"content": f.wr_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
f.wr_content.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 양쪽 공백 없애기
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
|
||||
if (char_min > 0 || char_max > 0)
|
||||
{
|
||||
check_byte('wr_content', 'char_count');
|
||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||
if (char_min > 0 && char_min > cnt)
|
||||
{
|
||||
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
return false;
|
||||
} else if (char_max > 0 && char_max < cnt)
|
||||
{
|
||||
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.getElementById('wr_content').value)
|
||||
{
|
||||
alert("댓글을 입력하여 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (typeof(f.wr_name) != 'undefined')
|
||||
{
|
||||
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
||||
if (f.wr_name.value == '')
|
||||
{
|
||||
alert('이름이 입력되지 않았습니다.');
|
||||
f.wr_name.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof(f.wr_password) != 'undefined')
|
||||
{
|
||||
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
||||
if (f.wr_password.value == '')
|
||||
{
|
||||
alert('패스워드가 입력되지 않았습니다.');
|
||||
f.wr_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function comment_box(comment_id, work)
|
||||
{
|
||||
var el_id;
|
||||
// 댓글 아이디가 넘어오면 답변, 수정
|
||||
if (comment_id)
|
||||
{
|
||||
if (work == 'c')
|
||||
el_id = 'reply_' + comment_id;
|
||||
else
|
||||
el_id = 'edit_' + comment_id;
|
||||
}
|
||||
else
|
||||
el_id = 'bo_vc_w';
|
||||
|
||||
if (save_before != el_id)
|
||||
{
|
||||
if (save_before)
|
||||
{
|
||||
document.getElementById(save_before).style.display = 'none';
|
||||
document.getElementById(save_before).innerHTML = '';
|
||||
}
|
||||
|
||||
document.getElementById(el_id).style.display = '';
|
||||
document.getElementById(el_id).innerHTML = save_html;
|
||||
// 댓글 수정
|
||||
if (work == 'cu')
|
||||
{
|
||||
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
|
||||
if (typeof char_count != 'undefined')
|
||||
check_byte('wr_content', 'char_count');
|
||||
if (document.getElementById('secret_comment_'+comment_id).value)
|
||||
document.getElementById('wr_secret').checked = true;
|
||||
else
|
||||
document.getElementById('wr_secret').checked = false;
|
||||
}
|
||||
|
||||
document.getElementById('comment_id').value = comment_id;
|
||||
document.getElementById('w').value = work;
|
||||
|
||||
save_before = el_id;
|
||||
}
|
||||
}
|
||||
|
||||
function comment_delete()
|
||||
{
|
||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||
}
|
||||
|
||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
|
||||
|
||||
<h1 id="wrapper_title"><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="container_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?php echo $width; ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
|
||||
@ -60,9 +60,9 @@
|
||||
/* 게시판 읽기 */
|
||||
#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 h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
@ -76,26 +76,23 @@
|
||||
#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 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:focus,
|
||||
#bo_v_file a:hover,
|
||||
#bo_v_file a:active {text-decoration:none}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 10px}
|
||||
#bo_v_file a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
|
||||
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
|
||||
#bo_v_file img {float:left;margin:0 10px 0 0}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 0 3px 22px}
|
||||
|
||||
#bo_v_link {}
|
||||
#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 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:focus,
|
||||
#bo_v_link a:hover,
|
||||
#bo_v_link a:active {text-decoration:none}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 10px}
|
||||
#bo_v_link a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
|
||||
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 0 3px 22px}
|
||||
|
||||
#bo_v_top {margin:0 0 10px;padding:10px 0;zoom:1}
|
||||
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_top ul {list-style:none}
|
||||
#bo_v_top ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
#bo_v_bot {zoom:1}
|
||||
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -108,7 +105,7 @@
|
||||
.bo_v_com li {float:left;margin-left:5px}
|
||||
|
||||
#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:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -123,27 +120,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 strong {color:#ff3061}
|
||||
#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_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 article {padding:0 0 10px;border-top:1px dotted #ccc}
|
||||
#bo_vc header {position:relative;padding:15px 0 5px}
|
||||
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
||||
#bo_vc .sv_wrap {margin-right:15px}
|
||||
#bo_vc .member,
|
||||
#bo_vc .guest,
|
||||
#bo_vc .sv_member,
|
||||
#bo_vc .sv_guest {font-weight:bold}
|
||||
#bo_vc .member, #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 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 p {padding:0 0 5px;line-height:1.8em}
|
||||
#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 #bo_vc_winfo {float:left}
|
||||
#bo_vc footer {zoom:1}
|
||||
@ -153,8 +147,8 @@
|
||||
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.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 h2 {padding:15px 0 5px}
|
||||
#bo_vc_w #char_cnt {display:block;margin-bottom:5px}
|
||||
#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
|
||||
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}
|
||||
|
||||
#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">
|
||||
|
||||
<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">
|
||||
<?php echo $board['bo_subject'] ?>
|
||||
<?php if ($category_name) { // 분류가 지정되었다면 ?><?php echo ($category_name ? "{$view['ca_name']} " : ""); ?><?php } // 분류 출력 끝 ?>
|
||||
</p>
|
||||
|
||||
<h1 id="bo_v_h1"><?php echo cut_str(get_text($view['wr_subject']), 70) // 글제목 출력 ?></h1>
|
||||
<article id="bo_v" style="width:<?php echo $width; ?>">
|
||||
<header>
|
||||
<h1 id="bo_v_title">
|
||||
<?php
|
||||
if ($category_name) echo ($category_name ? $view['ca_name'].' | ' : ''); // 분류 출력 끝
|
||||
echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<section id="bo_v_info">
|
||||
<h2>게시물 정보</h2>
|
||||
<h2>페이지 정보</h2>
|
||||
작성자 <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>
|
||||
조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
|
||||
@ -87,8 +90,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<nav id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<div id="bo_v_top">
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
@ -113,12 +115,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<article id="bo_v_atc">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
</header>
|
||||
<section id="bo_v_atc">
|
||||
<h2 id="bo_v_atc_title">본문</h2>
|
||||
|
||||
<?php
|
||||
// 파일 출력
|
||||
@ -165,23 +165,19 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
}
|
||||
}
|
||||
?>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
// 코멘트 입출력
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<nav id="bo_v_bot">
|
||||
<h2>게시물 하단 버튼</h2>
|
||||
|
||||
<div id="bo_v_bot">
|
||||
<!-- 링크 버튼 -->
|
||||
<?php echo $link_buttons ?>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
<script>
|
||||
<?php if ($board['bo_download_point'] < 0) { ?>
|
||||
|
||||
@ -21,8 +21,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
$str = $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>
|
||||
<h1><?php echo $list[$i]['wr_name'] ?>님의 댓글</h1>
|
||||
<?php echo $list[$i]['name'] ?>
|
||||
@ -44,7 +44,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
<span id="edit_<?php echo $comment_id ?>"></span><!-- 수정 -->
|
||||
<span id="reply_<?php echo $comment_id ?>"></span><!-- 답변 -->
|
||||
|
||||
<input type="hidden" value="<?php echo strstr($list[$i]['wr_option'],"secret") ?>" id="secret_comment_<?php echo $comment_id ?>">
|
||||
<input type="hidden" value="<?php echo strstr($list[$i]['wr_option'],"secret") ?>" id="secret_comment_<?php echo $comment_id ?>">
|
||||
<textarea id="save_comment_<?php echo $comment_id ?>" style="display:none"><?php echo get_text($list[$i]['content1'], 0) ?></textarea>
|
||||
|
||||
<?php if($list[$i]['is_reply'] || $list[$i]['is_edit'] || $list[$i]['is_del']) {
|
||||
@ -73,219 +73,230 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
|
||||
</section>
|
||||
|
||||
<?php
|
||||
if ($is_comment_write) {
|
||||
if($w == '')
|
||||
$w = 'c';
|
||||
?>
|
||||
<aside id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<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="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $c_id ?>" id="comment_id">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="spt" value="<?php echo $spt ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<input type="hidden" name="is_good" value="">
|
||||
<?php
|
||||
if ($is_comment_write) {
|
||||
if($w == '') $w = 'c';
|
||||
?>
|
||||
<section id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<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="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $c_id ?>" id="comment_id">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="spt" value="<?php echo $spt ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<input type="hidden" name="is_good" value="">
|
||||
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="wr_name" id="wr_name" required class="frm_input required" size="5" maxLength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10" maxLength="20"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_secret">비밀글사용</label></th>
|
||||
<td><input type="checkbox" name="wr_secret" value="secret" id="wr_secret"></td>
|
||||
</tr>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo $captcha_html; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?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"
|
||||
<?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 } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit" value="댓글등록">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</aside>
|
||||
|
||||
<script>
|
||||
var save_before = '';
|
||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||
|
||||
function good_and_write()
|
||||
{
|
||||
var f = document.fviewcomment;
|
||||
if (fviewcomment_submit(f)) {
|
||||
f.is_good.value = 1;
|
||||
f.submit();
|
||||
} else {
|
||||
f.is_good.value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function fviewcomment_submit(f)
|
||||
{
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
|
||||
f.is_good.value = 0;
|
||||
|
||||
/*
|
||||
var s;
|
||||
if (s = word_filter_check(document.getElementById('wr_content').value))
|
||||
{
|
||||
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
|
||||
document.getElementById('wr_content').focus();
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g4_bbs_url+"/filter.ajax.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": "",
|
||||
"content": f.wr_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
f.wr_content.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 양쪽 공백 없애기
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
|
||||
if (char_min > 0 || char_max > 0)
|
||||
{
|
||||
check_byte('wr_content', 'char_count');
|
||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||
if (char_min > 0 && char_min > cnt)
|
||||
{
|
||||
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
return false;
|
||||
} else if (char_max > 0 && char_max < cnt)
|
||||
{
|
||||
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.getElementById('wr_content').value)
|
||||
{
|
||||
alert("댓글을 입력하여 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (typeof(f.wr_name) != 'undefined')
|
||||
{
|
||||
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
||||
if (f.wr_name.value == '')
|
||||
{
|
||||
alert('이름이 입력되지 않았습니다.');
|
||||
f.wr_name.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof(f.wr_password) != 'undefined')
|
||||
{
|
||||
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
||||
if (f.wr_password.value == '')
|
||||
{
|
||||
alert('패스워드가 입력되지 않았습니다.');
|
||||
f.wr_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function comment_box(comment_id, work)
|
||||
{
|
||||
var el_id;
|
||||
// 댓글 아이디가 넘어오면 답변, 수정
|
||||
if (comment_id)
|
||||
{
|
||||
if (work == 'c')
|
||||
el_id = 'reply_' + comment_id;
|
||||
else
|
||||
el_id = 'edit_' + comment_id;
|
||||
}
|
||||
else
|
||||
el_id = 'bo_vc_w';
|
||||
|
||||
if (save_before != el_id)
|
||||
{
|
||||
if (save_before)
|
||||
{
|
||||
document.getElementById(save_before).style.display = 'none';
|
||||
document.getElementById(save_before).innerHTML = '';
|
||||
}
|
||||
|
||||
document.getElementById(el_id).style.display = '';
|
||||
document.getElementById(el_id).innerHTML = save_html;
|
||||
// 댓글 수정
|
||||
if (work == 'cu')
|
||||
{
|
||||
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
|
||||
if (typeof char_count != 'undefined')
|
||||
check_byte('wr_content', 'char_count');
|
||||
if (document.getElementById('secret_comment_'+comment_id).value)
|
||||
document.getElementById('wr_secret').checked = true;
|
||||
else
|
||||
document.getElementById('wr_secret').checked = false;
|
||||
}
|
||||
|
||||
document.getElementById('comment_id').value = comment_id;
|
||||
document.getElementById('w').value = work;
|
||||
|
||||
save_before = el_id;
|
||||
}
|
||||
}
|
||||
|
||||
function comment_delete()
|
||||
{
|
||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||
}
|
||||
|
||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||
</script>
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="wr_name" id="wr_name" required class="frm_input required" size="5" maxLength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10" maxLength="20"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_secret">비밀글사용</label></th>
|
||||
<td><input type="checkbox" name="wr_secret" value="secret" id="wr_secret"></td>
|
||||
</tr>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo $captcha_html; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||
<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) { ?><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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="댓글등록" id="btn_submit" class="btn_submit" accesskey="s">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
var save_before = '';
|
||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||
|
||||
function good_and_write()
|
||||
{
|
||||
var f = document.fviewcomment;
|
||||
if (fviewcomment_submit(f)) {
|
||||
f.is_good.value = 1;
|
||||
f.submit();
|
||||
} else {
|
||||
f.is_good.value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function fviewcomment_submit(f)
|
||||
{
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
|
||||
f.is_good.value = 0;
|
||||
|
||||
/*
|
||||
var s;
|
||||
if (s = word_filter_check(document.getElementById('wr_content').value))
|
||||
{
|
||||
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
|
||||
document.getElementById('wr_content').focus();
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g4_bbs_url+"/filter.ajax.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": "",
|
||||
"content": f.wr_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
f.wr_content.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 양쪽 공백 없애기
|
||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
|
||||
if (char_min > 0 || char_max > 0)
|
||||
{
|
||||
check_byte('wr_content', 'char_count');
|
||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||
if (char_min > 0 && char_min > cnt)
|
||||
{
|
||||
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
return false;
|
||||
} else if (char_max > 0 && char_max < cnt)
|
||||
{
|
||||
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.getElementById('wr_content').value)
|
||||
{
|
||||
alert("댓글을 입력하여 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (typeof(f.wr_name) != 'undefined')
|
||||
{
|
||||
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
||||
if (f.wr_name.value == '')
|
||||
{
|
||||
alert('이름이 입력되지 않았습니다.');
|
||||
f.wr_name.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof(f.wr_password) != 'undefined')
|
||||
{
|
||||
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
||||
if (f.wr_password.value == '')
|
||||
{
|
||||
alert('패스워드가 입력되지 않았습니다.');
|
||||
f.wr_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function comment_box(comment_id, work)
|
||||
{
|
||||
var el_id;
|
||||
// 댓글 아이디가 넘어오면 답변, 수정
|
||||
if (comment_id)
|
||||
{
|
||||
if (work == 'c')
|
||||
el_id = 'reply_' + comment_id;
|
||||
else
|
||||
el_id = 'edit_' + comment_id;
|
||||
}
|
||||
else
|
||||
el_id = 'bo_vc_w';
|
||||
|
||||
if (save_before != el_id)
|
||||
{
|
||||
if (save_before)
|
||||
{
|
||||
document.getElementById(save_before).style.display = 'none';
|
||||
document.getElementById(save_before).innerHTML = '';
|
||||
}
|
||||
|
||||
document.getElementById(el_id).style.display = '';
|
||||
document.getElementById(el_id).innerHTML = save_html;
|
||||
// 댓글 수정
|
||||
if (work == 'cu')
|
||||
{
|
||||
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
|
||||
if (typeof char_count != 'undefined')
|
||||
check_byte('wr_content', 'char_count');
|
||||
if (document.getElementById('secret_comment_'+comment_id).value)
|
||||
document.getElementById('wr_secret').checked = true;
|
||||
else
|
||||
document.getElementById('wr_secret').checked = false;
|
||||
}
|
||||
|
||||
document.getElementById('comment_id').value = comment_id;
|
||||
document.getElementById('w').value = work;
|
||||
|
||||
save_before = el_id;
|
||||
}
|
||||
}
|
||||
|
||||
function comment_delete()
|
||||
{
|
||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||
}
|
||||
|
||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
|
||||
|
||||
<h1 id="wrapper_title"><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="container_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?php echo $width; ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
|
||||
@ -18,18 +18,18 @@ for ($i=0; $i<count($list); $i++) {
|
||||
$location = conv_content($list[$i]['lo_location'], 0);
|
||||
// 최고관리자에게만 허용
|
||||
// 이 조건문은 가능한 변경하지 마십시오.
|
||||
if ($list[$i]['lo_url'] && $is_admin == 'super') $display_location = "<a href=\"".$list[$i]['lo_url']."\">".$location."</a>";
|
||||
if ($list[$i]['lo_url'] && $is_admin == 'super') $display_location = '<a href="'.$list[$i]['lo_url'].'">'.$location.'</a>';
|
||||
else $display_location = $location;
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_num"><?php echo $list[$i]['num'] ?></td>
|
||||
<td class="td_name"><?php echo $list[$i]['name'] ?></td>
|
||||
<td class="td_name sv_use"><?php echo $list[$i]['name'] ?></td>
|
||||
<td><?php echo $display_location ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=\"3\" class=\"empty_table\">현재 접속자가 없습니다.</td></tr>";
|
||||
echo '<tr><td colspan="3" class="empty_table">현재 접속자가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -4,8 +4,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $latest_skin_url ?>/style.css">
|
||||
|
||||
<div class="lat">
|
||||
<strong class="lat_title"><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject ?></a></strong>
|
||||
<section class="lat">
|
||||
<h2 class="lat_title"><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject ?></a></h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
@ -38,4 +38,4 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<div class="lat_more"><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><span class="sound_only"><?php echo $bo_subject ?></span>더보기</a></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="formmail" class="new_win">
|
||||
<h1><?php echo $name ?>님께 메일보내기</h1>
|
||||
<h1 id="new_win_title"><?php echo $name ?>님께 메일보내기</h1>
|
||||
|
||||
<form name="fformmail" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" method="post" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?php echo $email ?>">
|
||||
@ -15,6 +15,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<input type="hidden" name="fnick" value="<?php echo $member['mb_nick'] ?>">
|
||||
<input type="hidden" name="fmail" value="<?php echo $member['mb_email'] ?>">
|
||||
<?php } ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<caption>메일쓰기</caption>
|
||||
<tbody>
|
||||
|
||||
@ -10,17 +10,18 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
|
||||
<input type="hidden" name="url" value='<?php echo $login_url ?>'>
|
||||
|
||||
<fieldset class="cbg">
|
||||
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
|
||||
<fieldset id="mb_login_fs">
|
||||
<legend>회원로그인</legend>
|
||||
<label for="login_id" class="login_id">회원아이디<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20">
|
||||
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20">
|
||||
<input type="submit" value="로그인" class="btn_submit">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
</fieldset>
|
||||
|
||||
<section>
|
||||
<aside id="mb_login_info">
|
||||
<h2>회원로그인 안내</h2>
|
||||
<p>
|
||||
회원아이디 및 패스워드가 기억 안나실 때는 아이디/패스워드 찾기를 이용하십시오.<br>
|
||||
@ -30,7 +31,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<a href="<?php echo G4_BBS_URL ?>/password_lost.php" target="win_password_lost" id="login_password_lost" class="btn02">아이디 패스워드 찾기</a>
|
||||
<a href="./register.php" class="btn01">회원 가입</a>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo G4_URL ?>/">메인으로 돌아가기</a>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="memo_list" class="new_win">
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
@ -34,7 +34,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<td class="td_mng"><a href="<?php echo $list[$i]['del_href'] ?>" onclick="del(this.href); return false;">삭제</a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ($i==0) { echo "<tr><td colspan=\"4\" class=\"empty_table\">자료가 없습니다.</td></tr>"; } ?>
|
||||
<?php if ($i==0) { echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>'; } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="memo_write" class="new_win">
|
||||
<h1>쪽지보내기</h1>
|
||||
<h1 id="new_win_title">쪽지보내기</h1>
|
||||
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
@ -14,7 +14,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</ul>
|
||||
|
||||
<form name="fmemoform" action="<?php echo $memo_action_url; ?>" onsubmit="return fmemoform_submit(this);" method="post" autocomplete="off">
|
||||
<div class="cbox">
|
||||
<div>
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
|
||||
@ -14,14 +14,18 @@ else {
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="memo_view" class="new_win">
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지쓰기</a></li>
|
||||
</ul>
|
||||
<section>
|
||||
<h2>쪽지 내용</h2>
|
||||
|
||||
<article id="memo_view_contents">
|
||||
<header>
|
||||
<h1>쪽지 내용</h1>
|
||||
</header>
|
||||
<ul id="memo_view_ul">
|
||||
<li class="memo_view_li">
|
||||
<span class="memo_view_subj"><?php echo $kind_str ?>사람</span>
|
||||
@ -35,7 +39,7 @@ else {
|
||||
<p>
|
||||
<?php echo conv_content($memo['me_memo'], 0) ?>
|
||||
</p>
|
||||
</section>
|
||||
</article>
|
||||
<div class="btn_win">
|
||||
<?php if($prev_link) { ?>
|
||||
<a href="<?php echo $prev_link ?>">이전쪽지</a>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="find_info" class="new_win">
|
||||
<h1>회원정보 찾기</h1>
|
||||
<h1 id="new_win_title">회원정보 찾기</h1>
|
||||
|
||||
<form name="fpasswordlost" action="<?php echo $action_url ?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
|
||||
<fieldset id="find_info_fs">
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="profile" class="new_win">
|
||||
<h1><?php echo $mb_nick ?>님의 프로필</h1>
|
||||
<h1 id="new_win_title"><?php echo $mb_nick ?>님의 프로필</h1>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="scrap" class="new_win">
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<table class="basic_tbl">
|
||||
<caption>스크랩 목록</caption>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="scrap_do" class="new_win">
|
||||
<h1>스크랩하기</h1>
|
||||
<h1 id="new_win_title">스크랩하기</h1>
|
||||
|
||||
<form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||
|
||||
@ -37,18 +37,19 @@
|
||||
#mb_login {margin:0 auto;padding:100px 0;width:500px}
|
||||
#mb_login h1 {margin:0 0 20px;font-size:1.3em}
|
||||
#mb_login h2 {margin:0}
|
||||
#mb_login fieldset {position:relative;margin:0;padding:20px 20px 20px 95px;border:1px solid #d9d9d9;border-bottom:0;background:#fff}
|
||||
#mb_login label {letter-spacing:-0.1em}
|
||||
#mb_login .login_id {position:absolute;top:26px;left:95px}
|
||||
#mb_login .login_pw {position:absolute;top:52px;left:95px}
|
||||
#mb_login .frm_input {display:block;margin:0 0 5px 80px}
|
||||
#mb_login .btn_submit {position:absolute;top:20px;left:335px;height:49px}
|
||||
#mb_login section {margin:0 0 30px;padding:20px;border:1px solid #d9d9d9;background:#f5f6fa}
|
||||
#mb_login section div {text-align:right}
|
||||
#mb_login_fs {position:relative;margin:0;padding:20px 20px 20px 95px;border:1px solid #cfded8;border-bottom:0;background:#fff}
|
||||
#mb_login_fs legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#mb_login_fs label {letter-spacing:-0.1em}
|
||||
#mb_login_fs .login_id {position:absolute;top:26px;left:95px}
|
||||
#mb_login_fs .login_pw {position:absolute;top:52px;left:95px}
|
||||
#mb_login_fs .frm_input {display:block;margin:0 0 5px 80px}
|
||||
#mb_login_fs .btn_submit {position:absolute;top:20px;left:335px;height:49px}
|
||||
#mb_login_info {margin:0 0 30px;padding:20px;border:1px solid #cfded8;background:#f5f6fa}
|
||||
#mb_login_info div {text-align:right}
|
||||
|
||||
/* 쪽지 */
|
||||
#memo_view section {margin:0 auto 20px;padding:20px;width:87%}
|
||||
#memo_view section h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#memo_view_contents {margin:0 auto 20px;width:90%}
|
||||
#memo_view_contents h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
|
||||
.memo_view_li {position:relative;padding:5px 0}
|
||||
.memo_view_subj {display:inline-block;width:65px}
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
|
||||
|
||||
<div id="post_code" class="new_win">
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<form name="fzip" method="get" autocomplete="off">
|
||||
<input type="hidden" name="frm_name" value="<?php echo $frm_name ?>">
|
||||
@ -31,11 +31,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<dl>
|
||||
<dt>총 <?php echo $search_count ?>건 가나다순 정렬</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<?php
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
if ($i == 0) echo '<ul>';
|
||||
?>
|
||||
<li><a href='javascript:;' onclick="find_zip('<?php echo $list[$i][zip1] ?>', '<?php echo $list[$i][zip2] ?>', '<?php echo $list[$i][addr] ?>');"><span class="post_code"><?php echo $list[$i][zip1] ?>-<?php echo $list[$i][zip2] ?></span> <?php echo $list[$i][addr] ?> <?php echo $list[$i][bunji] ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php }
|
||||
if ($i > 0) echo '</ul>';
|
||||
?>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ for ($i=0; $i<count($list); $i++)
|
||||
<td class="td_group"><a href="./new.php?gr_id=<?php echo $list[$i]['gr_id'] ?>"><?php echo $gr_subject ?></a></td>
|
||||
<td class="td_board"><a href="./board.php?bo_table=<?php echo $list[$i]['bo_table'] ?>"><?php echo $bo_subject ?></a></td>
|
||||
<td><a href="<?php echo $list[$i]['href'] ?>"><?php echo $list[$i]['comment'] ?><?php echo $wr_subject ?></a></td>
|
||||
<td class="td_name"><div><?php echo $list[$i]['name'] ?></div></td>
|
||||
<td class="td_name sv_use"><div><?php echo $list[$i]['name'] ?></div></td>
|
||||
<td class="td_date"><?php echo $list[$i]['datetime2'] ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $outlogin_skin_url ?>/style.css">
|
||||
|
||||
<section id="ol_before" class="ol">
|
||||
<aside id="ol_before" class="ol">
|
||||
<h2>회원로그인</h2>
|
||||
<!-- 로그인 전 외부로그인 시작 -->
|
||||
<form name="foutlogin" action="<?php echo $outlogin_action_url ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
|
||||
@ -25,12 +25,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<script>
|
||||
$omi = $('#ol_id');
|
||||
$omp = $('#ol_pw');
|
||||
$omp.css('display','inline-block').css('width',119);
|
||||
$omp.css('display','inline-block').css('width',103);
|
||||
$omi_label = $('#ol_idlabel');
|
||||
$omi_label.addClass('ol_idlabel');
|
||||
$omp_label = $('#ol_pwlabel');
|
||||
|
||||
@ -5,9 +5,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $outlogin_skin_url ?>/style.css">
|
||||
|
||||
<!-- 로그인 후 외부로그인 시작 -->
|
||||
<section id="ol_after" class="ol">
|
||||
<aside id="ol_after" class="ol">
|
||||
<header id="ol_after_hd">
|
||||
<h2>나의 회원정보</h2>
|
||||
<h2>회원정보</h2>
|
||||
<strong><?php echo $nick ?>님</strong>
|
||||
<?php if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G4_ADMIN_URL ?>" class="btn_admin">관리자 모드</a><?php } ?>
|
||||
</header>
|
||||
@ -32,7 +32,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<a href="<?php echo G4_BBS_URL ?>/member_confirm.php?url=register_form.php" id="ol_after_info">정보수정</a>
|
||||
<a href="<?php echo G4_BBS_URL ?>/logout.php" id="ol_after_logout">로그아웃</a>
|
||||
</footer>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<script>
|
||||
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
/* 아웃로그인 스킨 */
|
||||
.ol {position:relative;padding:15px 0 14px 14px}
|
||||
.ol {position:relative;padding:15px 15px 14px 14px}
|
||||
.ol h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
.ol ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
#ol_before {}
|
||||
#ol_before fieldset {position:relative}
|
||||
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:183px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;line-height:1.6em}
|
||||
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:167px;height:22px;border:1px solid #b8c9c2;line-height:1.6em}
|
||||
.ol_idlabel {position:absolute;top:6px;left:5px;color:#333;font-size:0.95em}
|
||||
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:183px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:top;line-height:1.6em}
|
||||
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:167px;height:22px;border:1px solid #b8c9c2;vertical-align:top;line-height:1.6em}
|
||||
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#333;font-size:0.95em}
|
||||
#auto_login {}
|
||||
#auto_login_label {letter-spacing:-0.1em}
|
||||
@ -21,20 +21,18 @@
|
||||
|
||||
#ol_after {}
|
||||
#ol_after_hd {margin:0 0 3px}
|
||||
#ol_after_hd .btn_admin {margin-top:5px;width:174px;text-align:center}
|
||||
#ol_after_hd .btn_admin {margin-top:5px;width:158px;text-align:center}
|
||||
#ol_after_private {margin:0 0 3px;zoom:1}
|
||||
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_after_private li {float:left}
|
||||
#ol_after_private a {display:block;padding-top:8px;height:37px;background:#f7f7f7;text-align:center}
|
||||
#ol_after_private a strong {display:block;padding-top:3px;color:#000;font-weight:normal}
|
||||
#ol_after_private a:focus,
|
||||
#ol_after_private a:hover {background:#333;color:#fff;text-decoration:none}
|
||||
#ol_after_private a:focus, #ol_after_private a:hover {background:#333;color:#fff;text-decoration:none}
|
||||
#ol_after_private a:focus strong,
|
||||
#ol_after_private a:hover strong {color:#fff;text-decoration:none}
|
||||
#ol_after_memo {width:50px;margin-right:1px}
|
||||
#ol_after_pt {width:95px;margin-right:1px}
|
||||
#ol_after_pt {width:79px;margin-right:1px}
|
||||
#ol_after_scrap {width:48px;line-height:2.6em !important}
|
||||
#ol_after_ft {text-align:justify}
|
||||
#ol_after_ft a {display:inline-block;width:95px;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 {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}
|
||||
@ -7,7 +7,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<form name="fpoll" action="<?php echo G4_BBS_URL ?>/poll_update.php" onsubmit="return fpoll_submit(this);" method="post">
|
||||
<input type="hidden" name="po_id" value="<?php echo $po_id ?>">
|
||||
<input type="hidden" name="skin_dir" value="<?php echo $skin_dir ?>">
|
||||
<section id="poll">
|
||||
<aside id="poll">
|
||||
<header>
|
||||
<h2>설문조사</h2>
|
||||
<?php if ($is_admin == "super") { ?><a href="<?php echo G4_ADMIN_URL ?>/poll_form.php?w=u&po_id=<?php echo $po_id ?>" class="btn_admin">설문조사 관리</a><?php } ?>
|
||||
@ -22,7 +22,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<input type="submit" value="투표하기">
|
||||
<a href="<?php echo G4_BBS_URL."/poll_result.php?po_id=$po_id&skin_dir=$skin_dir" ?>" target="_blank" onclick="poll_result(this.href); return false;">결과보기</a>
|
||||
</footer>
|
||||
</section>
|
||||
</aside>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<link rel="stylesheet" href="<?php echo $poll_skin_url ?>/style.css">
|
||||
|
||||
<div id="poll_result" class="new_win">
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
|
||||
|
||||
<section id="poll_result_list">
|
||||
<h2><?php echo $po_subject ?> 결과</h2>
|
||||
@ -88,14 +88,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
<?php } ?>
|
||||
|
||||
<section id="poll_result_oth">
|
||||
<aside id="poll_result_oth">
|
||||
<h2>다른 투표 결과 보기</h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list3); $i++) { ?>
|
||||
<li><a href="./poll_result.php?po_id=<?php echo $list3[$i]['po_id'] ?>&skin_dir=<?php echo $skin_dir ?>">[<?php echo $list3[$i]['date'] ?>] <?php echo $list3[$i]['subject'] ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<div class="btn_win">
|
||||
<a href="javascript:;" onclick="window.close();">창닫기</a>
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
/* 설문조사 스킨 */
|
||||
#poll {border-top:1px solid #d9d9d9}
|
||||
#poll header {position:relative;padding:15px 0 0 14px}
|
||||
#poll {border-top:1px solid #d9e1e5}
|
||||
#poll header {position:relative;padding:15px 14px 0}
|
||||
#poll h2 {}
|
||||
#poll header .btn_admin {margin-top:5px;width:158px;text-align:center}
|
||||
#poll header p {padding:5px 0 0}
|
||||
#poll ul {margin:0 0 10px;padding:5px 14px;list-style:none}
|
||||
#poll li {padding:3px 0}
|
||||
#poll footer {padding:0 0 14px 14px}
|
||||
#poll footer input {width:95px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
|
||||
#poll footer a {display:inline-block;width:95px;height:22px;border:1px solid #ccc;background:#fafafa;text-align:center;line-height:2em}
|
||||
#poll footer {padding:0 14px 14px}
|
||||
#poll footer input {width:88px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
|
||||
#poll footer a {display:inline-block;width:86px;height:22px;border:1px solid #ccc;background:#fafafa;text-align:center;line-height:2em}
|
||||
#poll footer a:focus,
|
||||
#poll footer a:hover {text-decoration:none !important}
|
||||
/* 설문조사 결과 (새창) */
|
||||
|
||||
@ -4,13 +4,16 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $popular_skin_url ?>/style.css">
|
||||
|
||||
<section id="popular">
|
||||
<aside id="popular">
|
||||
<div>
|
||||
<h2>인기검색어</h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<?php
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
if ($i == 0) echo '<ul>'.PHP_EOL;
|
||||
?>
|
||||
<li><a href="<?php echo G4_BBS_URL ?>/search.php?sfl=wr_subject&sop=and&stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo $list[$i]['pp_word'] ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php }
|
||||
if ($i > 0) echo '</ul>'.PHP_EOL;
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
@ -1,10 +1,9 @@
|
||||
/* 인기검색어 */
|
||||
#popular {background:#515151}
|
||||
#popular {}
|
||||
#popular div {margin:0 auto;width:980px;zoom:1}
|
||||
#popular div:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#popular h2 {float:left;padding:10px 45px 10px 0;color:#fff}
|
||||
#popular ul {float:left;list-style:none}
|
||||
#popular li {float:left}
|
||||
#popular a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
|
||||
#popular a:focus,
|
||||
#popular a:hover {background:#333;color:#fff}
|
||||
#popular a:focus, #popular a:hover {background:#333;color:#fff}
|
||||
@ -6,8 +6,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<form name="fsearch" onsubmit="return fsearch_submit(this);" method="get">
|
||||
<input type="hidden" name="srows" value="<?php echo $srows ?>">
|
||||
<fieldset id="sch_result_detail">
|
||||
<legend class="sound_only">상세검색</legend>
|
||||
<fieldset id="sch_res_detail">
|
||||
<legend>상세검색</legend>
|
||||
<?php echo $group_select ?>
|
||||
<script>document.getElementById("gr_id").value = "<?php echo $gr_id ?>";</script>
|
||||
|
||||
@ -61,34 +61,33 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<div id="sch_result">
|
||||
|
||||
<?php if ($stx) { ?>
|
||||
<?php if ($board_count) { ?>
|
||||
<dl id="sch_result_hd">
|
||||
<dt><strong><?php echo $stx ?></strong>에 대한 검색 결과입니다.</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><span style="color:<?php echo $config['cf_search_color'] ?>"><?php echo $board_count ?></span>개의 게시판</li>
|
||||
<li><span style="color:<?php echo $config['cf_search_color'] ?>"><?php echo number_format($total_count) ?></span>개의 게시물</li>
|
||||
<li>현재 <?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지 열람 중</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<section id="sch_res_ov">
|
||||
<h2><?php echo $stx ?> 전체검색 결과</h2>
|
||||
<dl>
|
||||
<dt>게시판</dt>
|
||||
<dd><strong style="color:<?php echo $config['cf_search_color'] ?>"><?php echo $board_count ?>개</strong></dd>
|
||||
<dt>게시물</dt>
|
||||
<dd><strong style="color:<?php echo $config['cf_search_color'] ?>"><?php echo number_format($total_count) ?>개</strong></dd>
|
||||
</dl>
|
||||
<p><?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지 열람 중</p>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<dl id="sch_result_bo">
|
||||
<dt>검색결과가 있는 게시판 목록</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="?<?php echo $search_query ?>&gr_id=<?php echo $gr_id ?>" <?php echo $sch_all ?>>전체게시판</a></li>
|
||||
<?php echo $str_board_list; ?>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<ul id="sch_res_board">
|
||||
<li><a href="?<?php echo $search_query ?>&gr_id=<?php echo $gr_id ?>" <?php echo $sch_all ?>>전체게시판</a></li>
|
||||
<?php echo $str_board_list; ?>
|
||||
</ul>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
@ -97,37 +96,37 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<hr>
|
||||
|
||||
<?php if ($stx && $board_count) { ?><dl id="sch_result_atc"><?php } ?>
|
||||
<?php if ($stx && $board_count) { ?><section class="sch_res_list"><?php } ?>
|
||||
<?php
|
||||
$k=0;
|
||||
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
||||
$comment_def = "";
|
||||
$comment_href = "";
|
||||
?>
|
||||
<dt><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?>에서</a></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<?php
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
if ($list[$idx][$i][wr_is_comment])
|
||||
{
|
||||
$comment_def = "<span class=\"cmt_def\">댓글</span>";
|
||||
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" class="sch_result_title"><?php echo $comment_def ?><?php echo $list[$idx][$i][subject] ?></a>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" target="_blank">새창</a>
|
||||
<p><?php echo $list[$idx][$i][content] ?></p>
|
||||
<?php echo $list[$idx][$i][name] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i][wr_datetime] ?></span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 더보기</a></div>
|
||||
</dd>
|
||||
<h2><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
|
||||
<ul>
|
||||
<?php
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
if ($list[$idx][$i][wr_is_comment])
|
||||
{
|
||||
$comment_def = "<span class=\"cmt_def\">댓글</span>";
|
||||
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" class="sch_res_title"><?php echo $comment_def ?><?php echo $list[$idx][$i][subject] ?></a>
|
||||
<a href="<?php echo $list[$idx][$i][href] ?><?php echo $comment_href ?>" target="_blank">새창</a>
|
||||
<p><?php echo $list[$idx][$i][content] ?></p>
|
||||
<?php echo $list[$idx][$i][name] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i][wr_datetime] ?></span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><strong><?php echo $bo_subject[$idx] ?></strong> 결과 더보기</a></div>
|
||||
|
||||
<hr>
|
||||
<?php } ?>
|
||||
<?php if ($stx && $board_count) { ?></dl><?php } ?>
|
||||
<?php if ($stx && $board_count) { ?></section><?php } ?>
|
||||
|
||||
<?php echo $write_pages ?>
|
||||
|
||||
|
||||
@ -1,33 +1,23 @@
|
||||
/* 전체검색결과 스킨 */
|
||||
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
|
||||
#sch_result {padding:10px 0 0 0;border-top:1px solid #d9d9d9;background:url('../img/sch_result_bg.jpg') repeat-y}
|
||||
#sch_result ul {margin:0;padding:0;list-style:none}
|
||||
#sch_result p {margin:5px 0;padding:0}
|
||||
#sch_result_hd {margin:0;padding:0;zoom:1}
|
||||
#sch_result_hd:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_result_hd dt {float:left;padding:10px 0 15px}
|
||||
#sch_result_hd dd {float:right;margin:0;padding:10px 0 15px}
|
||||
#sch_result_hd ul {float:left}
|
||||
#sch_result_hd li {float:left;padding:0 10px;border-right:1px solid #d9d9d9}
|
||||
#sch_result_bo {float:left;margin:-1px 0 0;padding:0;width:170px}
|
||||
#sch_result_bo dt {margin:0;padding:0;border:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_result_bo dd {margin:0;padding:0}
|
||||
#sch_result_bo ul {margin-top:1px}
|
||||
#sch_result_bo li {position:relative;margin-top:-1px;height:40px}
|
||||
#sch_result_bo a {position:absolute;padding:0 10px;width:149px;height:40px;border:1px solid #618588;border-right:0;background:#151515;color:#fff;text-decoration:none;line-height:3.4em}
|
||||
#sch_result_bo .sch_on {width:150px;border-color:#d9d9d9;border-right:0;background:#fff;color:#000;font-weight:bold}
|
||||
#sch_result_bo .cnt_cmt {color:#fff}
|
||||
#sch_result_bo .sch_on .cnt_cmt {color:#000}
|
||||
#sch_result_atc {float:left;margin:-1px 0 0;padding:15px 25px;width:506px;border:1px solid #d9d9d9;background:#fff}
|
||||
#sch_result_atc dt a {display:inline-block;margin-bottom:15px;color:#000;font-size:1.2em;font-weight:bold;text-decoration:none}
|
||||
#sch_result_atc dd {margin:0 0 15px}
|
||||
#sch_result_atc dd a {}
|
||||
#sch_result_atc .sch_result_title {display:inline-block;margin-bottom:5px;font-size:1.1em;font-weight:bold;text-decoration:underline}
|
||||
#sch_result_atc li {padding:13px 0;border-bottom:1px solid #f0f0f0}
|
||||
#sch_result_atc p {padding:0 0 5px}
|
||||
#sch_result_atc a {display:inline-block;margin:0 10px 0 0}
|
||||
#sch_result_atc .cmt_def {display:inline-block;margin:0 10px 0 0}
|
||||
.sch_more {padding:10px 0 15px;text-align:right}
|
||||
.sch_more a {}
|
||||
.sch_datetime {display:inline-block;margin-right:15px;color:#999}
|
||||
.sch_word {font-weight:bold} /* 검색어 강조 */
|
||||
#sch_res_detail {padding:0 0 10px;border-bottom:1px solid #e9e9e9;text-align:center}
|
||||
#sch_res_detail legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_res_ov {margin:0 0 10px;padding:10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
|
||||
#sch_res_ov:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_ov h2 {float:left}
|
||||
#sch_res_ov dl {float:left;margin:0 0 0 10px}
|
||||
#sch_res_ov dt {float:left}
|
||||
#sch_res_ov dd {float:left;margin:0 10px 0 5px}
|
||||
#sch_res_ov p {float:right;margin:0;padding:0;line-height:1em}
|
||||
|
||||
#sch_res_board {margin:0 0 10px;padding-left:1px;width:728px;list-style:none;zoom:1}
|
||||
#sch_res_board:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_res_board li {float:left;margin-bottom:-1px}
|
||||
#sch_res_board a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:181px;border:1px solid #ddd;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
|
||||
#sch_res_board a:focus, #sch_res_board a:hover, #sch_res_board a:active {text-decoration:none}
|
||||
#sch_res_board .cnt_cmt {font-weight:normal !important}
|
||||
|
||||
.sch_res_list {margin:0 0 10px;padding:10px 0 15px}
|
||||
.sch_res_list h2 {margin:0 0 15px;font-size:1.2em}
|
||||
.sch_res_list ul {margin:0;padding:0;list-style:none}
|
||||
.sch_res_list li {margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid #e9e9e9}
|
||||
.sch_more {text-align:right}
|
||||
@ -1,5 +1,5 @@
|
||||
/* 방문자 집계 */
|
||||
#visit {background:#444}
|
||||
#visit {background:#515151}
|
||||
#visit div {margin:0 auto;width:980px;zoom:1}
|
||||
#visit div:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#visit h2 {float:left;padding:10px 45px 10px 0;color:#fff}
|
||||
@ -7,5 +7,4 @@
|
||||
#visit dt {float:left;margin:0;padding:10px 0 10px;color:#fff}
|
||||
#visit dd {float:left;margin:0 30px 0 0;padding:10px;color:#fff}
|
||||
#visit a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
|
||||
#visit a:focus,
|
||||
#visit a:hover {background:#333;color:#fff}
|
||||
#visit a:focus, #visit a:hover {background:#333;color:#fff}
|
||||
@ -6,7 +6,7 @@ global $is_admin;
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $visit_skin_url ?>/style.css">
|
||||
|
||||
<section id="visit">
|
||||
<aside id="visit">
|
||||
<div>
|
||||
<h2>접속자집계</h2>
|
||||
<dl>
|
||||
@ -21,4 +21,4 @@ global $is_admin;
|
||||
</dl>
|
||||
<?php if ($is_admin == "super") { ?><a href="<?php echo G4_ADMIN_URL ?>/visit_list.php">상세보기</a><?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
@ -8,10 +8,10 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<!--[if lte IE 7]>
|
||||
<script>
|
||||
$(function() {
|
||||
var $td_name = $(".td_name");
|
||||
var count = $td_name.length;
|
||||
var $sv_use = $(".sv_use");
|
||||
var count = $sv_use.length;
|
||||
|
||||
$td_name.each(function() {
|
||||
$sv_use.each(function() {
|
||||
$(this).css("z-index", count);
|
||||
$(this).css("position", "relative");
|
||||
count = count - 1;
|
||||
|
||||
Reference in New Issue
Block a user