사용자:게시판 읽기, 게시물 스크랩하기
This commit is contained in:
@ -22,14 +22,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<dd><?=number_format($view['wr_hit'])?>회</dd>
|
||||
<dt>댓글</dt>
|
||||
<dd><?=number_format($view['wr_comment'])?>건</dd>
|
||||
<? if ($is_good) { ?>
|
||||
<dt>추천</dt>
|
||||
<dd><?=number_format($view['wr_good'])?>회</dd>
|
||||
<? } ?>
|
||||
<? if ($is_nogood) { ?>
|
||||
<dt>비추천</dt>
|
||||
<dd><?=number_format($view['wr_nogood'])?>회</dd>
|
||||
<? } ?>
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
@ -37,31 +29,31 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<h2>게시물 상단 링크</h2>
|
||||
<!-- 링크 버튼 -->
|
||||
<? if ($update_href || $delete_href) {?>
|
||||
<ul id="bo_v_topmy">
|
||||
<ul id="bo_v_my">
|
||||
<? 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();
|
||||
?>
|
||||
<ul class="bo_v_com">
|
||||
<? 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><? } ?>
|
||||
</ul>
|
||||
<?
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<? if ($view['file'][$i]) {?>
|
||||
<section>
|
||||
<section id="bo_v_file">
|
||||
<h2>첨부파일</h2>
|
||||
<ul>
|
||||
<?
|
||||
@ -87,7 +79,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<? } ?>
|
||||
|
||||
<? if ($view['link'][$i]) {?>
|
||||
<section>
|
||||
<section id="bo_v_link">
|
||||
<h2>관련링크</h2>
|
||||
<ul>
|
||||
<?
|
||||
@ -112,7 +104,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
<? } ?>
|
||||
|
||||
<article id="bo_view">
|
||||
<article id="bo_v_article">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
</header>
|
||||
@ -133,11 +125,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<? if ($is_signature) { ?><p><?=$signature?></p><? } ?>
|
||||
|
||||
<? if ($scrap_href || $good_href || $nogood_href) { ?>
|
||||
<ul>
|
||||
<? if ($scrap_href) { ?><li><a href="javascript:;" onclick="win_scrap('<?=$scrap_href?>');">스크랩</a></li><? } ?>
|
||||
<? if ($good_href) {?><li>추천 <?=number_format($view['wr_good'])?> <a href="<?=$good_href?>" target="hiddenframe">추천</a></li><? } ?>
|
||||
<? if ($nogood_href) {?><li>비추천 <?=number_format($view['wr_nogood'])?> <a href="<?=$nogood_href?>" target="hiddenframe">비추천</a></li><? } ?>
|
||||
</ul>
|
||||
<div id="bo_v_act">
|
||||
<? if ($scrap_href) { ?><a href="javascript:;" class="btn02" onclick="win_scrap('<?=$scrap_href?>');">스크랩</a><? } ?>
|
||||
<? if ($good_href) {?><a href="<?=$good_href?>" class="btn02" target="hiddenframe">추천 <strong><?=number_format($view['wr_good'])?></strong></a><? } ?>
|
||||
<? if ($nogood_href) {?><a href="<?=$nogood_href?>" class="btn02" target="hiddenframe">비추천 <strong><?=number_format($view['wr_nogood'])?></strong></a><? } ?>
|
||||
</div>
|
||||
<? } ?>
|
||||
</article>
|
||||
|
||||
@ -146,17 +138,17 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<aside id="bo_v_bottom">
|
||||
<aside id="bo_v_bot">
|
||||
<h2>게시물 하단 링크</h2>
|
||||
<ul>
|
||||
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>">이전</a></li><? } ?>
|
||||
<? if ($next_href) { ?><li><a href="<?=$next_href?>">다음</a></li><? } ?>
|
||||
<? if ($prev_href || $next_href) { ?>
|
||||
<ul id="bo_v_nb">
|
||||
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>" class="btn02">이전</a></li><? } ?>
|
||||
<? if ($next_href) { ?><li><a href="<?=$next_href?>" class="btn02">다음</a></li><? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
|
||||
<!-- 링크 버튼 -->
|
||||
<ul>
|
||||
<?=$link_buttons?>
|
||||
</ul>
|
||||
<?=$link_buttons?>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user