사용자: 게시판스킨 목록 번호, 체크박스 및 읽기 작업 중
This commit is contained in:
30
css/def.css
30
css/def.css
@ -228,10 +228,11 @@ h6 {margin:0 0 20px}
|
||||
.latest_more a {display:inline-block;padding:5px 0}
|
||||
|
||||
/* 테이블 항목별 정의 */
|
||||
.td_chk {width:40px;text-align:center}
|
||||
.td_group {width:100px;text-align:center}
|
||||
.td_board {width:120px;text-align:center}
|
||||
.td_num {width:50px;text-align:center}
|
||||
.td_bignum {width:100px;text-align:center}
|
||||
.td_bignum {width:80px;text-align:center}
|
||||
.td_mb_id {width:120px;text-align:center}
|
||||
.td_nick {width:120px;text-align:center}
|
||||
.td_name {width:120px;text-align:left}
|
||||
@ -275,7 +276,6 @@ h6 {margin:0 0 20px}
|
||||
#bo_cate {margin-bottom:10px}
|
||||
#fcategory {display:inline-block}
|
||||
#fcategory select {margin-right:5px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
|
||||
|
||||
#bo_list caption {padding:0;height:0;overflow:hidden}
|
||||
.bo_cate_link {display:inline-block;margin-right:10px;color:#ff7200;font-weight:bold;text-decoration:none}
|
||||
.td_subject img {margin-left:5px}
|
||||
@ -284,9 +284,29 @@ h6 {margin:0 0 20px}
|
||||
#bo_w caption {padding:0;height:0;overflow:hidden}
|
||||
|
||||
/* 게시판 읽기 */
|
||||
#bo_v {margin-bottom:30px;border:1px solid #ddd}
|
||||
#bo_v_h1 {padding:25px 15px 15px;border-bottom:1px solid #efeada;font-size:0.9em}
|
||||
#bo_v aside h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_title {text-align:center}
|
||||
#bo_v {position:relative;margin-bottom:30px;border-top:3px solid #666;border-bottom:1px solid #ccc}
|
||||
#bo_v_h1 {margin:0 !important;padding:15px 0 0;font-size:1em}
|
||||
#bo_v_info {padding:0 0 10px;border-bottom:1px solid #efeada;zoom:1}
|
||||
#bo_v_info:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_info dl {font-size:0.75em}
|
||||
#bo_v_info dt {float:left}
|
||||
#bo_v_info dd {float:left;margin:0 20px 0 10px}
|
||||
#bo_v_top {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 {padding:0;list-style:none}
|
||||
#bo_v_topmy {float:left}
|
||||
#bo_v_topmy li {float:left;margin-right:5px}
|
||||
#bo_v_topcom {float:right}
|
||||
#bo_v_topcom li {float:left;margin-left:5px}
|
||||
#bo_view h1 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_bottom {zoom:1}
|
||||
#bo_v_bottom:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_bottom h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_bottom ul {float:right;padding:0;list-style:none}
|
||||
#bo_v_bottom li {float:left;margin-left:5px}
|
||||
|
||||
/* 우편번호 검색 */
|
||||
#post_num dl {margin:0 auto 10px;padding:0;width:90%}
|
||||
|
||||
@ -97,7 +97,7 @@ for ($i=0; $i<count($list); $i++) {
|
||||
echo $list[$i]['num'];
|
||||
?>
|
||||
</td>
|
||||
<? if ($is_checkbox) { ?><td><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
||||
<? if ($is_checkbox) { ?><td class="td_chk"><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
||||
<td class="td_subject">
|
||||
<?
|
||||
echo $list[$i]['reply'];
|
||||
|
||||
@ -2,50 +2,11 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<p id="bo_v_title"><strong><?=$board['bo_subject']?></strong></p>
|
||||
|
||||
<div id="bo_v">
|
||||
<h1 id="bo_v_h1"><?=cut_hangul_last(get_text($view['wr_subject']))?></h1>
|
||||
|
||||
<aside>
|
||||
<h2>게시물 상단 링크</h2>
|
||||
<!-- 링크 버튼 -->
|
||||
<? if ($update_href || $delete_href) {?>
|
||||
<ul>
|
||||
<? if ($update_href) { ?>
|
||||
<li><a href="<?=$update_href?>">수정</a></li>
|
||||
<? } ?>
|
||||
<? if ($delete_href) { ?>
|
||||
<li><a href="<?=$delete_href?>">삭제</a></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
|
||||
<ul>
|
||||
<?
|
||||
ob_start();
|
||||
?>
|
||||
<? if ($copy_href) { ?>
|
||||
<li><a href="<?=$copy_href?>">복사</a></li>
|
||||
<? } ?>
|
||||
<? if ($move_href) { ?>
|
||||
<li><a href="<?=$move_href?>">이동</a></li>
|
||||
<? } ?>
|
||||
<? if ($search_href) { ?>
|
||||
<li><a href="<?=$search_href?>">검색</a></li>
|
||||
<? } ?>
|
||||
<li><a href="<?=$list_href?>">목록</a></li>
|
||||
<? if ($reply_href) { ?>
|
||||
<li><a href="<?=$reply_href?>">답변</a></li>
|
||||
<? } ?>
|
||||
<? if ($write_href) { ?>
|
||||
<li><a href="<?=$write_href?>">글쓰기</a></li>
|
||||
<? } ?>
|
||||
<?
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<section id="bo_v_info">
|
||||
<h2>게시물 정보</h2>
|
||||
<dl>
|
||||
@ -72,6 +33,33 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<aside id="bo_v_top">
|
||||
<h2>게시물 상단 링크</h2>
|
||||
<!-- 링크 버튼 -->
|
||||
<? if ($update_href || $delete_href) {?>
|
||||
<ul id="bo_v_topmy">
|
||||
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
|
||||
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" class="btn02">삭제</a></li><? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
|
||||
<ul id="bo_v_topcom">
|
||||
<?
|
||||
ob_start();
|
||||
?>
|
||||
<? if ($copy_href) { ?><li><a href="<?=$copy_href?>" class="btn03">복사</a></li><? } ?>
|
||||
<? if ($move_href) { ?><li><a href="<?=$move_href?>" class="btn03">이동</a></li><? } ?>
|
||||
<? if ($search_href) { ?><li><a href="<?=$search_href?>" class="btn02">검색</a></li><? } ?>
|
||||
<li><a href="<?=$list_href?>" class="btn02">목록</a></li>
|
||||
<? if ($reply_href) { ?><li><a href="<?=$reply_href?>" class="btn02">답변</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
|
||||
<?
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<? if ($view['file'][$i]) {?>
|
||||
<section>
|
||||
<h2>첨부파일</h2>
|
||||
@ -124,7 +112,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
<? } ?>
|
||||
|
||||
<article>
|
||||
<article id="bo_view">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
</header>
|
||||
@ -158,7 +146,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<aside>
|
||||
<aside id="bo_v_bottom">
|
||||
<h2>게시물 하단 링크</h2>
|
||||
<ul>
|
||||
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>">이전</a></li><? } ?>
|
||||
|
||||
Reference in New Issue
Block a user