게시판 출력불가 오류
본문
안녕하세요
게시판 커스텀 하여 사용하려고합니다.
그치만 write 페이지에서는 잘 나오고 내용을 입력하면 '내용을 입력하세요' 라는 문구가 떠서
view 페이지에서는 나오지않습니다ㅠ
이유가 무엇일까요?
==================================================
<< write.skin 내용 >>
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가// 내용 필수 입력 해제
if ($bo_table != 'product01' || $bo_table != 'download') {
$editor_js = '';
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
}
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
?>
<div class="bo_w_tit write_div">
<label for="wr_subject" class="sound_only">제품명<strong>필수</strong></label>
<div id="autosave_wrapper" class="write_div">
<input type="text" name="wr_subject" value="<?php echo $subject ?>" id="wr_subject" required class="frm_input full_input required" size="50" maxlength="255" placeholder="제품명">
<?php if ($is_member) { // 임시 저장된 글 기능 ?>
<script src="<?php echo G5_JS_URL; ?>/autosave.js"></script>
<?php if($editor_content_js) echo $editor_content_js; ?>
<button type="button" id="btn_autosave" class="btn_frmline">임시 저장된 글 (<span id="autosave_count"><?php echo $autosave_count; ?></span>)</button>
<div id="autosave_pop">
<strong>임시 저장된 글 목록</strong>
<ul></ul>
<div><button type="button" class="autosave_close">닫기</button></div>
</div>
<?php } ?>
</div>
</div>
<div class="info_box">
<div class="bo_w_tit write_div">
<label for="wr_1" class="sound_only">물품식별번호</label>
<input type="text" name="wr_1" id="wr_1" value="<?php echo $write['wr_1'] ?>" placeholder="물품식별번호" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_2" class="sound_only">타입</label>
<input type="text" name="wr_2" id="wr_2" value="<?php echo $write['wr_2'] ?>" placeholder="타입" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_3" class="sound_only">램프</label>
<input type="text" name="wr_3" id="wr_3" value="<?php echo $write['wr_3'] ?>" placeholder="램프" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_4" class="sound_only">몸체</label>
<input type="text" name="wr_4" id="wr_4" value="<?php echo $write['wr_4'] ?>" placeholder="몸체" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_5" class="sound_only">커버</label>
<input type="text" name="wr_5" id="wr_5" value="<?php echo $write['wr_5'] ?>" placeholder="커버" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_6" class="sound_only">사용전압</label>
<input type="text" name="wr_6" id="wr_6" value="<?php echo $write['wr_6'] ?>" placeholder="사용전압" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_7" class="sound_only">규격</label>
<input type="text" name="wr_7" id="wr_7" value="<?php echo $write['wr_7'] ?>" placeholder="규격" class="frm_input">
</div>
<div class="bo_w_tit write_div">
<label for="wr_8" class="sound_only">적용장소</label>
<input type="text" name="wr_8" id="wr_8" value="<?php echo $write['wr_8'] ?>" placeholder="적용장소" class="frm_input">
</div>
</div>
<label for="bf_file" class="wr_txt">제품사진(1~5번 첨부) / 도면(6번 첨부) | 사이즈 648×526px</label>
<?php for ($i=0; $is_file && $i<$file_count; $i++) { ?>
<div class="bo_w_flie write_div">
<div class="file_wr write_div">
<label for="bf_file_<?php echo $i+1 ?>" class="lb_icon"><i class="fa fa-folder-open" aria-hidden="true"></i><span class="sound_only"> 파일 #<?php echo $i+1 ?></span></label>
<input type="file" name="bf_file[]" id="bf_file_<?php echo $i+1 ?>" title="파일첨부 <?php echo $i+1 ?> : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file ">
</div>
<?php if ($is_file_content) { ?>
<input type="text" name="bf_content[]" value="<?php echo ($w == 'u') ? $file[$i]['bf_content'] : ''; ?>" title="파일 설명을 입력해주세요." class="full_input frm_input" size="50" placeholder="파일 설명을 입력해주세요.">
<?php } ?>
<?php if($w == 'u' && $file[$i]['file']) { ?>
<span class="file_del">
<input type="checkbox" id="bf_file_del<?php echo $i ?>" name="bf_file_del[<?php echo $i; ?>]" value="1"> <label for="bf_file_del<?php echo $i ?>"><?php echo $file[$i]['source'].'('.$file[$i]['size'].')'; ?> 파일 삭제</label>
</span>
<?php } ?>
</div>
<?php } ?>
======================================================
<< view.skin 내용 >>
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
add_stylesheet('<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">');
add_stylesheet('<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>', 0);
?>
<div class="bo_inner sub_sec_inner wd_1430">
<article id="bo_v" style="width:<?php echo $width; ?>">
<?php if ($admin_href) { ?>
<section id="bo_v_info">
<!-- 게시물 상단 버튼 시작 { -->
<div id="bo_v_top">
<?php ob_start(); ?>
<ul class="btn_bo_user bo_v_com">
<li><a href="<?php echo $list_href ?>&sca=<?php echo $sca ?>" class="btn_b01 btn" title="목록"><i class="fa fa-list" aria-hidden="true"></i><span class="sound_only">목록</span></a></li>
<?php if ($reply_href) { ?><li><a href="<?php echo $reply_href ?>" class="btn_b01 btn" title="답변"><i class="fa fa-reply" aria-hidden="true"></i><span class="sound_only">답변</span></a></li><?php } ?>
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b01 btn" title="글쓰기"><i class="fa fa-pencil" aria-hidden="true"></i><span class="sound_only">글쓰기</span></a></li><?php } ?>
<?php if($update_href || $delete_href || $copy_href || $move_href || $search_href) { ?>
<li>
<button type="button" class="btn_more_opt is_view_btn btn_b01 btn" title="게시판 리스트 옵션"><i class="fa fa-ellipsis-v" aria-hidden="true"></i><span class="sound_only">게시판 리스트 옵션</span></button>
<ul class="more_opt is_view_btn">
<?php if ($update_href) { ?><li><a href="<?php echo $update_href ?>">수정<i class="fa fa-pencil-square-o" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($delete_href) { ?><li><a href="<?php echo $delete_href ?>" onclick="del(this.href); return false;">삭제<i class="fa fa-trash-o" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($copy_href) { ?><li><a href="<?php echo $copy_href ?>" onclick="board_move(this.href); return false;">복사<i class="fa fa-files-o" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($move_href) { ?><li><a href="<?php echo $move_href ?>" onclick="board_move(this.href); return false;">이동<i class="fa fa-arrows" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($search_href) { ?><li><a href="<?php echo $search_href ?>">검색<i class="fa fa-search" aria-hidden="true"></i></a></li><?php } ?>
</ul>
</li>
<?php } ?>
</ul>
<script>
jQuery(function($){
// 게시판 보기 버튼 옵션
$(".btn_more_opt.is_view_btn").on("click", function(e) {
e.stopPropagation();
$(".more_opt.is_view_btn").toggle();
})
;
$(document).on("click", function (e) {
if(!$(e.target).closest('.is_view_btn').length) {
$(".more_opt.is_view_btn").hide();
}
});
});
</script>
<?php
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</div>
<!-- } 게시물 상단 버튼 끝 -->
</section>
<?php } ?>
<section id="bo_v_atc">
<h2 id="bo_v_atc_title">본문</h2>
<!-- 슬라이드 시작 -->
<div class="left">
<div class="pro_swiper pro_mySwiper2">
<div class="swiper-wrapper">
<?php
// 파일 출력
$v_img_count = count($view['file']);
if($v_img_count) {
// $i=1 - > 첨부파일 2번째부터 view 하겠다
for ($i=0; $i<$view['file']['count']; $i++) {
echo "<div class=\"swiper-slide\">";
echo get_file_thumbnail($view['file'][$i]);
echo "</div>";
}};
?>
</div>
</div>
<div thumbsSlider="" class="pro_swiper pro_mySwiper">
<div class="swiper-wrapper">
<?php
$v_img_count = count($view['file']);
$file_count = 6;
if($v_img_count) {
for ($i=0; $i<$file_count; $i++) {
echo "<div class=\"swiper-slide\">";
echo get_file_thumbnail($view['file'][$i]);
echo "</div>";
}};
?>
</div>
</div>
</div>
<!-- 본문 내용 시작 { -->
<div class="bo_v_txt_group">
<h2 id="bo_v_title">
<?php if ($category_name) { ?>
<span class="bo_v_cate montserrat"><?php echo $view['ca_name']; // 분류 출력 끝 ?></span>
<?php } ?>
<span class="bo_v_tit montserrat">
<?php echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력 ?></span>
</h2>
<div class="bo_v_info suit">
<p class="bo_v_page_tit">제품사양</p>
<ul>
<li>
<?php echo '<span>물품식별번호</span>'; echo $view['wr_1'] ;?>
</li>
<li>
<?php echo '<span>타입</span>'; echo $view['wr_2'] ;?>
</li>
<li>
<?php echo '<span>램프</span>'; echo $view['wr_3'] ;?>
</li>
<li>
<?php echo '<span>몸체</span>'; echo $view['wr_4'] ;?>
</li>
<li>
<?php echo '<span>커버</span>'; echo $view['wr_5'] ;?>
</li>
<li>
<?php echo '<span>사용전압</span>'; echo $view['wr_6'] ;?>
</li>
<li>
<?php echo '<span>규격</span>'; echo $view['wr_7'] ;?>
</li>
<li>
<?php echo '<span>적용장소</span>'; echo $view['wr_8'] ;?>
</li>
</ul>
</div>
<div class="bo_v_btns">
<a href="javascript:menu5sub3();" class="btn_b01 btn suit" title="제품 문의하기">제품 문의하기<!--span><img src="/skin/board/product/img/arrow_w.png" alt="제품 문의하기"></span--></a>
<a href="" class="btn_b02 btn suit" title="나라장터종합쇼핑몰" target="_blank">나라장터종합쇼핑몰<!--span><img src="/skin/board/product/img/arrow_b.png" alt="나라장터종합쇼핑몰"></span--></a>
<a href="<?php echo $list_href ?>&sca=<?php echo $sca ?>" class="btn_b03 btn suit" title="목록">목록으로<!--span><img src="/skin/board/product/img/arrow_b.png" alt="목록으로"></span--></a>
</div>
</div>
</section>
<!--section id="bo_v_atc" class="bottom">
<p class="bo_v_page_tit">도면</p>
<?php
// 파일 출력
$v_img_count = count($view['file']);
if($v_img_count) {
// $i=1 - > 첨부파일 2번째부터 view 하겠다
for ($i=5; $i<$view['file']['count']; $i++) {
echo "<div class=\"bo_v_img\">";
echo get_file_thumbnail($view['file'][$i]);
echo "</div>";
}};
?>
<?php echo get_view_thumbnail($view['content']); ?>
</section-->
<?php
$cnt = 0;
if ($view['file']['count']) {
for ($i=0; $i<count($view['file']); $i++) {
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
$cnt++;
}
}
?>
<?php if($cnt) { ?>
<!-- 첨부파일 시작 { -->
<section id="bo_v_file">
<h2>첨부파일</h2>
<ul>
<?php
// 가변 파일
for ($i=0; $i<count($view['file']); $i++) {
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
?>
<li>
<i class="fa fa-folder-open" aria-hidden="true"></i>
<a href="<?php echo $view['file'][$i]['href']; ?>" class="view_file_download">
<strong><?php echo $view['file'][$i]['source'] ?></strong> <?php echo $view['file'][$i]['content'] ?> (<?php echo $view['file'][$i]['size'] ?>)
</a>
<br>
<span class="bo_v_file_cnt"><?php echo $view['file'][$i]['download'] ?>회 다운로드 | DATE : <?php echo $view['file'][$i]['datetime'] ?></span>
</li>
<?php
}
}
?>
</ul>
</section>
<!-- } 첨부파일 끝 -->
<?php } ?>
<?php if(isset($view['link']) && array_filter($view['link'])) { ?>
<!-- 관련링크 시작 { -->
<section id="bo_v_link">
<h2>관련링크</h2>
<ul>
<?php
// 링크
$cnt = 0;
for ($i=1; $i<=count($view['link']); $i++) {
if ($view['link'][$i]) {
$cnt++;
$link = cut_str($view['link'][$i], 70);
?>
<li>
<i class="fa fa-link" aria-hidden="true"></i>
<a href="<?php echo $view['link_href'][$i] ?>" target="_blank">
<strong><?php echo $link ?></strong>
</a>
<br>
<!-- <span class="bo_v_link_cnt"><?php echo $view['link_hit'][$i] ?>회 연결</span> -->
</li>
<?php
}
}
?>
</ul>
</section>
<!-- } 관련링크 끝 -->
<?php } ?>
<?php if ($prev_href || $next_href) { ?>
<!-- <ul class="bo_v_nb">
<?php if ($prev_href) { ?><li class="btn_prv"><span class="nb_tit"><i class="fa fa-chevron-up" aria-hidden="true"></i> 이전글</span><a href="<?php echo $prev_href ?>"><?php echo $prev_wr_subject;?></a> <span class="nb_date"><?php echo str_replace('-', '.', substr($prev_wr_date, '2', '8')); ?></span></li><?php } ?>
<?php if ($next_href) { ?><li class="btn_next"><span class="nb_tit"><i class="fa fa-chevron-down" aria-hidden="true"></i> 다음글</span><a href="<?php echo $next_href ?>"><?php echo $next_wr_subject;?></a> <span class="nb_date"><?php echo str_replace('-', '.', substr($next_wr_date, '2', '8')); ?></span></li><?php } ?>
</ul> -->
<?php } ?>
</article>
<!-- } 게시판 읽기 끝 -->
</div>
답변 2
입력할때 wr_content 없는거 아님?
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
add_stylesheet('<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">');
add_stylesheet('<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>', 0);
?>
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
<div class="bo_inner sub_sec_inner wd_1430">
<article id="bo_v" style="width:<?php echo $width; ?>">
<?php if ($admin_href) { ?>
<section id="bo_v_info">
<!-- 게시물 상단 버튼 시작 { -->
<div id="bo_v_top">
<?php ob_start(); ?>
<ul class="btn_bo_user bo_v_com">
<li><a href="<?php echo $list_href ?>&sca=<?php echo $sca ?>" class="btn_b01 btn" title="목록"><i class="fa fa-list" aria-hidden="true"></i><span class="sound_only">목록</span></a></li>
<?php if ($reply_href) { ?><li><a href="<?php echo $reply_href ?>" class="btn_b01 btn" title="답변"><i class="fa fa-reply" aria-hidden="true"></i><span class="sound_only">답변</span></a></li><?php } ?>
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b01 btn" title="글쓰기"><i class="fa fa-pencil" aria-hidden="true"></i><span class="sound_only">글쓰기</span></a></li><?php } ?>
<?php if($update_href || $delete_href || $copy_href || $move_href || $search_href) { ?>
<li>
<button type="button" class="btn_more_opt is_view_btn btn_b01 btn" title="게시판 리스트 옵션"><i class="fa fa-ellipsis-v" aria-hidden="true"></i><span class="sound_only">게시판 리스트 옵션</span></button>
<ul class="more_opt is_view_btn">
<?php if ($update_href) { ?><li><a href="<?php echo $update_href ?>">수정<i class="fa fa-pencil-square-o" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($delete_href) { ?><li><a href="<?php echo $delete_href ?>" onclick="del(this.href); return false;">삭제<i class="fa fa-trash-o" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($copy_href) { ?><li><a href="<?php echo $copy_href ?>" onclick="board_move(this.href); return false;">복사<i class="fa fa-files-o" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($move_href) { ?><li><a href="<?php echo $move_href ?>" onclick="board_move(this.href); return false;">이동<i class="fa fa-arrows" aria-hidden="true"></i></a></li><?php } ?>
<?php if ($search_href) { ?><li><a href="<?php echo $search_href ?>">검색<i class="fa fa-search" aria-hidden="true"></i></a></li><?php } ?>
</ul>
</li>
<?php } ?>
</ul>
<script>
jQuery(function($){
// 게시판 보기 버튼 옵션
$(".btn_more_opt.is_view_btn").on("click", function(e) {
e.stopPropagation();
$(".more_opt.is_view_btn").toggle();
})
;
$(document).on("click", function (e) {
if(!$(e.target).closest('.is_view_btn').length) {
$(".more_opt.is_view_btn").hide();
}
});
});
</script>
<?php
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</div>
<!-- } 게시물 상단 버튼 끝 -->
</section>
<?php } ?>
<section id="bo_v_atc">
<h2 id="bo_v_atc_title">본문</h2>
<!-- 슬라이드 시작 -->
<div class="left">
<div class="pro_swiper pro_mySwiper2">
<div class="swiper-wrapper">
<?php
// 파일 출력
$v_img_count = count($view['file']);
if($v_img_count) {
// $i=1 - > 첨부파일 2번째부터 view 하겠다
for ($i=0; $i<$view['file']['count']; $i++) {
echo "<div class=\"swiper-slide\">";
echo get_file_thumbnail($view['file'][$i]);
echo "</div>";
}};
?>
</div>
</div>
<div thumbsSlider="" class="pro_swiper pro_mySwiper">
<div class="swiper-wrapper">
<?php
$v_img_count = count($view['file']);
$file_count = 6;
if($v_img_count) {
for ($i=0; $i<$file_count; $i++) {
echo "<div class=\"swiper-slide\">";
echo get_file_thumbnail($view['file'][$i]);
echo "</div>";
}};
?>
</div>
</div>
</div>
<!-- 본문 내용 시작 { -->
<div class="bo_v_txt_group">
<h2 id="bo_v_title">
<?php if ($category_name) { ?>
<span class="bo_v_cate montserrat"><?php echo $view['ca_name']; // 분류 출력 끝 ?></span>
<?php } ?>
<span class="bo_v_tit montserrat">
<?php echo cut_str(get_text($view['wr_subject']), 70); // 글제목 출력 ?></span>
</h2>
<div id="bo_v_con"><?php echo get_view_thumbnail($view['content']); ?></div>
<div class="bo_v_info suit">
<p class="bo_v_page_tit">제품사양</p>
<ul>
<li>
<?php echo '<span>물품식별번호</span>'; echo $view['wr_1'] ;?>
</li>
<li>
<?php echo '<span>타입</span>'; echo $view['wr_2'] ;?>
</li>
<li>
<?php echo '<span>램프</span>'; echo $view['wr_3'] ;?>
</li>
<li>
<?php echo '<span>몸체</span>'; echo $view['wr_4'] ;?>
</li>
<li>
<?php echo '<span>커버</span>'; echo $view['wr_5'] ;?>
</li>
<li>
<?php echo '<span>사용전압</span>'; echo $view['wr_6'] ;?>
</li>
<li>
<?php echo '<span>규격</span>'; echo $view['wr_7'] ;?>
</li>
<li>
<?php echo '<span>적용장소</span>'; echo $view['wr_8'] ;?>
</li>
</ul>
</div>
<div class="bo_v_btns">
<a href="javascript:menu5sub3();" class="btn_b01 btn suit" title="제품 문의하기">제품 문의하기<!--span><img src="/skin/board/product/img/arrow_w.png" alt="제품 문의하기"></span--></a>
<a href="" class="btn_b02 btn suit" title="나라장터종합쇼핑몰" target="_blank">나라장터종합쇼핑몰<!--span><img src="/skin/board/product/img/arrow_b.png" alt="나라장터종합쇼핑몰"></span--></a>
<a href="<?php echo $list_href ?>&sca=<?php echo $sca ?>" class="btn_b03 btn suit" title="목록">목록으로<!--span><img src="/skin/board/product/img/arrow_b.png" alt="목록으로"></span--></a>
</div>
</div>
</section>
<!--section id="bo_v_atc" class="bottom">
<p class="bo_v_page_tit">도면</p>
<?php
// 파일 출력
$v_img_count = count($view['file']);
if($v_img_count) {
// $i=1 - > 첨부파일 2번째부터 view 하겠다
for ($i=5; $i<$view['file']['count']; $i++) {
echo "<div class=\"bo_v_img\">";
echo get_file_thumbnail($view['file'][$i]);
echo "</div>";
}};
?>
<?php echo get_view_thumbnail($view['content']); ?>
</section-->
<?php
$cnt = 0;
if ($view['file']['count']) {
for ($i=0; $i<count($view['file']); $i++) {
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
$cnt++;
}
}
?>
<?php if($cnt) { ?>
<!-- 첨부파일 시작 { -->
<section id="bo_v_file">
<h2>첨부파일</h2>
<ul>
<?php
// 가변 파일
for ($i=0; $i<count($view['file']); $i++) {
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
?>
<li>
<i class="fa fa-folder-open" aria-hidden="true"></i>
<a href="<?php echo $view['file'][$i]['href']; ?>" class="view_file_download">
<strong><?php echo $view['file'][$i]['source'] ?></strong> <?php echo $view['file'][$i]['content'] ?> (<?php echo $view['file'][$i]['size'] ?>)
</a>
<br>
<span class="bo_v_file_cnt"><?php echo $view['file'][$i]['download'] ?>회 다운로드 | DATE : <?php echo $view['file'][$i]['datetime'] ?></span>
</li>
<?php
}
}
?>
</ul>
</section>
<!-- } 첨부파일 끝 -->
<?php } ?>
<?php if(isset($view['link']) && array_filter($view['link'])) { ?>
<!-- 관련링크 시작 { -->
<section id="bo_v_link">
<h2>관련링크</h2>
<ul>
<?php
// 링크
$cnt = 0;
for ($i=1; $i<=count($view['link']); $i++) {
if ($view['link'][$i]) {
$cnt++;
$link = cut_str($view['link'][$i], 70);
?>
<li>
<i class="fa fa-link" aria-hidden="true"></i>
<a href="<?php echo $view['link_href'][$i] ?>" target="_blank">
<strong><?php echo $link ?></strong>
</a>
<br>
<!-- <span class="bo_v_link_cnt"><?php echo $view['link_hit'][$i] ?>회 연결</span> -->
</li>
<?php
}
}
?>
</ul>
</section>
<!-- } 관련링크 끝 -->
<?php } ?>
<?php if ($prev_href || $next_href) { ?>
<!-- <ul class="bo_v_nb">
<?php if ($prev_href) { ?><li class="btn_prv"><span class="nb_tit"><i class="fa fa-chevron-up" aria-hidden="true"></i> 이전글</span><a href="<?php echo $prev_href ?>"><?php echo $prev_wr_subject;?></a> <span class="nb_date"><?php echo str_replace('-', '.', substr($prev_wr_date, '2', '8')); ?></span></li><?php } ?>
<?php if ($next_href) { ?><li class="btn_next"><span class="nb_tit"><i class="fa fa-chevron-down" aria-hidden="true"></i> 다음글</span><a href="<?php echo $next_href ?>"><?php echo $next_wr_subject;?></a> <span class="nb_date"><?php echo str_replace('-', '.', substr($next_wr_date, '2', '8')); ?></span></li><?php } ?>
</ul> -->
<?php } ?>
</article>
<!-- } 게시판 읽기 끝 -->
</div>