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

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}
#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}
/* 게시판 쓰기 */
#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 dt {margin-bottom:15px}

View File

@ -101,7 +101,7 @@ for ($i=0; $i<count($list); $i++) {
echo $list[$i]['icon_reply'];
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']?>

View File

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