메인화면에 최근겔러리 넣을려면 어떻게 해요?

초보인데요... ★표부분에 최근겔러리를 넣고 싶어요
스킨명은 "thum_gallery"
스킨을 넣었더니 결과가 Warning: latest(./skin/latest/thum_gallery/latest.skin.php): failed to open stream: No such file or directory in /web/home/pcink/html/lib/latest.lib.php on line 28

Warning: latest(./skin/latest/thum_gallery/latest.skin.php): failed to open stream: No such file or directory in /web/home/pcink/html/lib/latest.lib.php on line 28

Warning: latest(): Failed opening './skin/latest/thum_gallery/latest.skin.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/pcink/html/lib/latest.lib.php on line 28




메인화면에 최근겔러리 나오게 할려면 어떻게 써넣어야 하나요?
★표로 넣고싶은곳을 체크해 놓았습니다.

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); //최근게시물 불러오게 만든는 명령문

$g4[title] = "";
include_once("./_head.php");
?>

<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td valign=top><?=latest("basic","news","5","25")?></td>
<td width=5></td>
<td valign=top><?=latest("basic","lecture","5","25")?></td>
</tr>
<tr>
<td valign=top colspan=3><?=latest("thum_gallery","5","40")?></td> //★여기에 최근겔러리요 ★
</tr>
<tr>
<td valign=top>최신글3-1</td>
<td valign=top></td>
<td valign=top>fdkjs</td>
</tr>


</table>
<!-- 메인화면 최신글 끝 -->

<?
include_once("./_tail.php");
?>
|

댓글 3개

<?=latest("스킨명","게시판아이디","출력갯수","제목글자수");?>

애렇게 한번 해보세요 저두 초보라;;
유키님 답변처럼 게시판명(게시판 테이블명)이 있어야 자료를 가져 올것 아니겟습니까?

그에 앞서 에러 메세지로 보아서는 skin/latest/thum_gallery 라는 폴더 자체가 없는 모양이군요
폴더를 만들엇다면 폴더내에 latest.skin.php 화일이 없거나...
그러게요 스킨명이 빠졌네요...
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
20년 전 조회 1,572
20년 전 조회 1,431
20년 전 조회 1,401
20년 전 조회 1,806
20년 전 조회 2,325
20년 전 조회 1,610
20년 전 조회 1,606
20년 전 조회 1,766
20년 전 조회 4,371
20년 전 조회 1,569
20년 전 조회 1,557
20년 전 조회 1,544
20년 전 조회 1,614
20년 전 조회 1,609
20년 전 조회 1,470
20년 전 조회 1,659
20년 전 조회 1,597
20년 전 조회 1,546
20년 전 조회 1,532
20년 전 조회 1,237