skin.board.link/view.skin.php

35 lines
1.3 KiB
PHP
Raw Normal View History

2024-10-22 14:27:23 +09:00
<?
2024-10-22 17:40:53 +09:00
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
2024-10-22 14:27:23 +09:00
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
2024-10-22 17:40:53 +09:00
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
if ($board['bo_table_width'] == 0)
$width = "100%"; ?>
2024-10-22 14:27:23 +09:00
<!-- 링크 버튼 시작 { -->
<div id="bo_v_bot">
2024-10-22 17:40:53 +09:00
<? ob_start(); ?>
<div class="bo_v_com">
<a href="<? echo $list_href ?>" class="ui-btn left">목록</a>
<? if ($update_href) { ?><a href="<? echo $update_href ?>" class="ui-btn">수정</a><? } ?>
<? if ($delete_href) { ?><a href="<? echo $delete_href ?>" class="ui-btn admin"
onclick="del(this.href); return false;">삭제</a><? } ?>
<? if ($write_href) { ?><a href="<? echo $write_href ?>" class="ui-btn point">링크 추가</a><? } ?>
</div>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</div>
<!-- } 링크 버튼 -->
2024-10-22 14:27:23 +09:00
<div class="board-viewer">
2024-10-22 17:40:53 +09:00
<div class="contents">
<!-- 본문 내용 시작 { -->
<div id="bo_v_con"><? echo get_view_thumbnail($view['content']); ?></div>
<?//echo $view['rich_content']; // {이미지:0} 과 같은 코드를 사용할 경우 ?>
<!-- } 본문 내용 -->
</div>
2024-10-22 14:27:23 +09:00
</div>
2024-10-22 17:40:53 +09:00
<!-- } 게시글 읽기 -->