답변 2개
채택된 답변
+20 포인트
답변에 대한 댓글 7개
�
그누초보다
1년 전
이 방법말고 불러와서 출력하는 방법은 없나요? 이렇게 되면 목록 이외에 다른 추가한것들도 같이 딸려와서요 ㅠㅠ
�
그누초보다
1년 전
이 방법말고 불러와서 출력하는 방법은 없나요? 이렇게 되면 목록 이외에 다른 추가한것들도 같이 딸려와서요 ㅠㅠ
�
배르만
1년 전
view.skin.php 에서 다음 코드를 추가하는 방법도 있을것 같습니다.
[code]
<?php include_once(G5_BBS_PATH . '/list.php'); ?>
[/code]
[code]
<?php include_once(G5_BBS_PATH . '/list.php'); ?>
[/code]
�
그누초보다
1년 전
오 혹시 이안에서 "div class="tbl_head01 tbl_wrap" 이것만 불러오는 법이 있을까요?
�
배르만
1년 전
그런경우 다음처럼 시도해볼수 있을것 같습니다.
[code]
<div>
<?php
ob_start();
include_once(G5_BBS_PATH . '/list.php');
$list_in_view = ob_get_clean();
$listonly_in_view = [];
preg_match('!<div class="tbl_head01 tbl_wrap">\s*<table>.*?</table>\s*</div>!s', $list_in_view, $listonly_in_view);
if (count($listonly_in_view) == 1) {
echo $listonly_in_view[0];
}
?>
</div>
[/code]
[code]
<div>
<?php
ob_start();
include_once(G5_BBS_PATH . '/list.php');
$list_in_view = ob_get_clean();
$listonly_in_view = [];
preg_match('!<div class="tbl_head01 tbl_wrap">\s*<table>.*?</table>\s*</div>!s', $list_in_view, $listonly_in_view);
if (count($listonly_in_view) == 1) {
echo $listonly_in_view[0];
}
?>
</div>
[/code]
�
그누초보다
1년 전
진짜 감사합니다 .... 항상 댓글달아주셔서
�
그누초보다
1년 전
혹시 항상 1페이지만 불러오도록 할 수 있을까요? 2페이지 넘어가니까 2페이지 글이 보여서요!
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인