skin.board.link/view.skin.php

35 lines
1.3 KiB
PHP
Raw Normal View History

2024-10-22 17:57:41 +09:00
<?php
2024-10-22 17:40:53 +09:00
if (!defined("_GNUBOARD_"))
2024-10-23 00:15:08 +09:00
exit;
2024-10-22 17:57:41 +09:00
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:57:41 +09:00
<?php ob_start(); ?>
2024-10-22 17:40:53 +09:00
<div class="bo_v_com">
2024-10-22 17:57:41 +09:00
<a href="<?php echo $list_href ?>" class="ui-btn left">목록</a>
<?php if ($update_href) { ?><a href="<?php echo $update_href ?>" class="ui-btn">수정</a><?php } ?>
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn admin"
onclick="del(this.href); return false;">삭제</a><?php } ?>
<?php if ($write_href) { ?><a href="<?php echo $write_href ?>" class="ui-btn point">링크 추가</a><?php } ?>
2024-10-22 17:40:53 +09:00
</div>
2024-10-22 17:57:41 +09:00
<?php
2024-10-22 17:40:53 +09:00
$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">
<!-- 본문 내용 시작 { -->
2024-10-22 17:57:41 +09:00
<div id="bo_v_con"><?php echo get_view_thumbnail($view['content']); ?></div>
<?php //echo $view['rich_content']; // {이미지:0} 과 같은 코드를 사용할 경우 ?>
2024-10-22 17:40:53 +09:00
<!-- } 본문 내용 -->
</div>
2024-10-22 14:27:23 +09:00
</div>
2024-10-22 17:40:53 +09:00
<!-- } 게시글 읽기 -->