메인화면에 최근겔러리 넣을려면 어떻게 해요?
초보인데요... ★표부분에 최근겔러리를 넣고 싶어요
스킨명은 "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");
?>
스킨명은 "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개
애렇게 한번 해보세요 저두 초보라;;
그에 앞서 에러 메세지로 보아서는 skin/latest/thum_gallery 라는 폴더 자체가 없는 모양이군요
폴더를 만들엇다면 폴더내에 latest.skin.php 화일이 없거나...