사용자: 게시판스킨 읽기 작업 중

This commit is contained in:
whitedot
2013-01-08 17:16:32 +09:00
parent 2ff9657293
commit 0e825d05f8
3 changed files with 158 additions and 148 deletions

View File

@ -272,12 +272,15 @@ h6 {margin:0 0 20px}
#fcategory select {margin-right:10px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle} #fcategory select {margin-right:10px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
#board_list caption {padding:0;height:0;overflow:hidden} #board_list caption {padding:0;height:0;overflow:hidden}
.board_cate_link {display:inline-block;margin-right:10px;font-weight:bold} .board_cate_link {display:inline-block;margin-right:10px;color:#ff7200;font-weight:bold;text-decoration:none}
.td_subject img {margin-left:5px} .td_subject img {margin-left:5px}
/* 게시판 쓰기 */ /* 게시판 쓰기 */
#board_write caption {padding:0;height:0;overflow:hidden} #board_write caption {padding:0;height:0;overflow:hidden}
/* 게시판 읽기 */
#board_view {margin-bottom:30px;padding:10px;border:1px solid #ddd}
/* 우편번호 검색 */ /* 우편번호 검색 */
#post_num dl {margin:0 auto 10px;padding:0;width:90%} #post_num dl {margin:0 auto 10px;padding:0;width:90%}
#post_num dt {margin-bottom:15px} #post_num dt {margin-bottom:15px}

View File

@ -101,7 +101,7 @@ for ($i=0; $i<count($list); $i++) {
echo $list[$i]['icon_reply']; echo $list[$i]['icon_reply'];
if ($is_category && $list[$i]['ca_name']) { if ($is_category && $list[$i]['ca_name']) {
?> ?>
<a href="'.$list[$i]['ca_name_href'].'" class="board_cate_link"><?=$list[$i]['ca_name']?></a> <a href="<?=$list[$i]['ca_name_href']?>" class="board_cate_link"><?=$list[$i]['ca_name']?></a>
<? } ?> <? } ?>
<a href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?> <a href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?>

View File

@ -2,9 +2,10 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?> ?>
<h1><? if ($is_category) { echo ($category_name ? "[{$view['ca_name']}] " : ""); } ?><?=cut_hangul_last(get_text($view['wr_subject']))?></h1> <div id="board_view">
<h1><? if ($is_category) { echo ($category_name ? "{$view['ca_name']} " : ""); } ?><?=cut_hangul_last(get_text($view['wr_subject']))?></h1>
<aside> <aside>
<h2>게시물 상단 링크</h2> <h2>게시물 상단 링크</h2>
<!-- 링크 버튼 --> <!-- 링크 버튼 -->
<? if ($update_href || $delete_href) {?> <? if ($update_href || $delete_href) {?>
@ -43,9 +44,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
ob_end_flush(); ob_end_flush();
?> ?>
</ul> </ul>
</aside> </aside>
<section> <section>
<h2>게시물 정보</h2> <h2>게시물 정보</h2>
<dl> <dl>
<dt>작성자</dt> <dt>작성자</dt>
@ -65,9 +66,10 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<dd><?=number_format($view['wr_nogood'])?></dd> <dd><?=number_format($view['wr_nogood'])?></dd>
<? } ?> <? } ?>
</dl> </dl>
</section> </section>
<section> <? if ($view['file'][$i]) {?>
<section>
<h2>첨부파일</h2> <h2>첨부파일</h2>
<ul> <ul>
<? <?
@ -89,9 +91,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
} }
?> ?>
</ul> </ul>
</section> </section>
<? } ?>
<section> <? if ($view['link'][$i]) {?>
<section>
<h2>관련링크</h2> <h2>관련링크</h2>
<ul> <ul>
<? <?
@ -113,9 +117,10 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
} }
?> ?>
</ul> </ul>
</section> </section>
<? } ?>
<article> <article>
<h1>본문</h1> <h1>본문</h1>
<div> <div>
<? <?
@ -140,14 +145,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? if ($nogood_href) {?><li>비추천 <?=number_format($view['wr_nogood'])?> <a href="<?=$nogood_href?>" target="hiddenframe">비추천</a></li><? } ?> <? if ($nogood_href) {?><li>비추천 <?=number_format($view['wr_nogood'])?> <a href="<?=$nogood_href?>" target="hiddenframe">비추천</a></li><? } ?>
</ul> </ul>
<? } ?> <? } ?>
</article> </article>
<? <?
// 코멘트 입출력 // 코멘트 입출력
include_once('./view_comment.php'); include_once('./view_comment.php');
?> ?>
<aside> <aside>
<h2>게시물 하단 링크</h2> <h2>게시물 하단 링크</h2>
<ul> <ul>
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>">이전</a></li><? } ?> <? if ($prev_href) { ?><li><a href="<?=$prev_href?>">이전</a></li><? } ?>
@ -158,7 +163,9 @@ include_once('./view_comment.php');
<ul> <ul>
<?=$link_buttons?> <?=$link_buttons?>
</ul> </ul>
</aside> </aside>
</div>
<script> <script>
function file_download(link, file) { function file_download(link, file) {