[좀 읽어주세요] 최근글목록이 않나오고 에러메세지가 나와서요..다른사람처럼안되서요. 정보
[좀 읽어주세요] 최근글목록이 않나오고 에러메세지가 나와서요..다른사람처럼안되서요.본문
안녕하세여...탭기능인데요..최근글목록이 않나오고 에러메세지가 나와서요..
메인페이지는 chaing.html 부분에 <? include "tab_latest1/ted.php"; ?> 삽입하구요
FTP폴더안에 tab_latest1폴더 만들고 ted.php 라는 문서..(아래테그)입니다.
최근글목록이 안나오구 에러메세지가 떠서요..ㅠㅠ
chaing.html 아니구 chaing.php 로 해야 최근글목록이 나오나요..
어찌해야될까요..ㅠㅠ 흑흑
제FTP 폴더리스트는 이렇습니다.
gnuboard4 폴더
index.html
chaing.html <---여기 문서안에 위과정처럼했는데..최근글목록이 않나와서요
top.html
_____________________________________________________________________________________
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/head.sub.php");
?>
<?
$_img_url = "http://xxxxxx.co.kr/tab_latest1/"; //탭이미지 경로
?>
<head>
<script language="javascript">
function tab_img_change(t){
for(var i = 1; i <= 3; i++) {
img = document.getElementById('tab_bbs'+i);
img.src = "<?=$_img_url?>tab"+i+"_off.gif";
eval("document.getElementById('tab_view"+i+"')").style.display="none";
if ( t == i ) {
img.src = "<?=$_img_url?>tab"+i+"_on.gif";
eval("document.getElementById('tab_view"+i+"')").style.display="";
}
}
}
</script>
</head>
<table align="center" cellpadding="0" cellspacing="0" width="341">
<tr>
<td width="341" colspan="2"><img src="<?=$_img_url?>web01.gif"><img id="tab_bbs1" style="cursor:pointer;" onMouseOver="tab_img_change(1)" src="<?=$_img_url?>tab1_on.gif" /><img id="tab_bbs2" style="cursor:pointer;" onMouseOver="tab_img_change(2)" src="<?=$_img_url?>tab2_off.gif" /><img id="tab_bbs3" style="cursor:pointer;" onMouseOver="tab_img_change(3)" src="<?=$_img_url?>tab3_off.gif" /><img src="<?=$_img_url?>web02.gif">
</td>
</tr>
<tr>
<td width="16" height="90">
</td>
<td width="341" >
<div id="tab_view1">
<?=latest("basic", "gong_gi", 4, 15)?>
</div>
<div id="tab_view2" style="display: none">
</div>
<div id="tab_view3" style="display: none">
</div>
</td>
</tr>
</table>
메인페이지는 chaing.html 부분에 <? include "tab_latest1/ted.php"; ?> 삽입하구요
FTP폴더안에 tab_latest1폴더 만들고 ted.php 라는 문서..(아래테그)입니다.
최근글목록이 안나오구 에러메세지가 떠서요..ㅠㅠ
chaing.html 아니구 chaing.php 로 해야 최근글목록이 나오나요..
어찌해야될까요..ㅠㅠ 흑흑
제FTP 폴더리스트는 이렇습니다.
gnuboard4 폴더
index.html
chaing.html <---여기 문서안에 위과정처럼했는데..최근글목록이 않나와서요
top.html
_____________________________________________________________________________________
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/head.sub.php");
?>
<?
$_img_url = "http://xxxxxx.co.kr/tab_latest1/"; //탭이미지 경로
?>
<head>
<script language="javascript">
function tab_img_change(t){
for(var i = 1; i <= 3; i++) {
img = document.getElementById('tab_bbs'+i);
img.src = "<?=$_img_url?>tab"+i+"_off.gif";
eval("document.getElementById('tab_view"+i+"')").style.display="none";
if ( t == i ) {
img.src = "<?=$_img_url?>tab"+i+"_on.gif";
eval("document.getElementById('tab_view"+i+"')").style.display="";
}
}
}
</script>
</head>
<table align="center" cellpadding="0" cellspacing="0" width="341">
<tr>
<td width="341" colspan="2"><img src="<?=$_img_url?>web01.gif"><img id="tab_bbs1" style="cursor:pointer;" onMouseOver="tab_img_change(1)" src="<?=$_img_url?>tab1_on.gif" /><img id="tab_bbs2" style="cursor:pointer;" onMouseOver="tab_img_change(2)" src="<?=$_img_url?>tab2_off.gif" /><img id="tab_bbs3" style="cursor:pointer;" onMouseOver="tab_img_change(3)" src="<?=$_img_url?>tab3_off.gif" /><img src="<?=$_img_url?>web02.gif">
</td>
</tr>
<tr>
<td width="16" height="90">
</td>
<td width="341" >
<div id="tab_view1">
<?=latest("basic", "gong_gi", 4, 15)?>
</div>
<div id="tab_view2" style="display: none">
</div>
<div id="tab_view3" style="display: none">
</div>
</td>
</tr>
</table>
댓글 전체

코드만 봐서는 다른 분들도 모를 것 같고요 ( 대충 느낌상 경로를 못 찾는 것 같아요 $g4[path]생활화 하세요 )
해당 URL 과 오류메세지를 적어주시면 제 밑에분이 답변 주실겁니다.
해당 URL 과 오류메세지를 적어주시면 제 밑에분이 답변 주실겁니다.