홈페이지 메인화면 질문이여 ㅠ
본문
위화면의 메인부분의 오류는
Fatal error: Call to undefined function latest() in /host/home3/rgwc9351/html/index.html on line 35
이런식으로 오류가 나버립니다
홈페이지의 index.html 은
<?php
$g4[path]="./html/gnuboard4/";
include_once("$g4[path]/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<title>령강노인종합복지센터 홈페이지</title>
<link rel="shortcut icon" href="./images/heart.ico">
</head>
<body leftmargin="0" topmargin="0">
<table align="center" width="1024" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="8" height="40" background="./images/header.gif"></td>
</tr>
<tr>
<td height="84" width="232"><a href="index.html"><img src="./images/menu12.gif" border="0"></a></td>
<td width="132"><a href="index2.html"><img src="./images/menu2.gif" onmouseover="this.src='./images/menu2_over.gif'" onmouseout="this.src='./images/menu2.gif'" border="0"></a></td>
<td width="132"><a href="index3.html"><img src="./images/menu3.gif" onmouseover="this.src='./images/menu3_over.gif'" onmouseout="this.src='./images/menu3.gif'" border="0"></a></td>
<td width="132"><a href="index4.html"><img src="./images/menu4.gif" onmouseover="this.src='./images/menu4_over.gif'" onmouseout="this.src='./images/menu4.gif'" border="0"></a></td>
<td width="132"><a href="index5.html"><img src="./images/menu5.gif" onmouseover="this.src='./images/menu5_over.gif'" onmouseout="this.src='./images/menu5.gif'" border="0"></a></td>
<td width="132"><a href="index6.html"><img src="./images/menu6.gif" onmouseover="this.src='./images/menu6_over.gif'" onmouseout="this.src='./images/menu6.gif'" border="0"></a></td>
<td width="132"><a href="index7.html"><img src="./images/menu7.gif" onmouseover="this.src='./images/menu7_over.gif'" onmouseout="this.src='./images/menu7.gif'" border="0"></a></td>
</tr>
<tr>
<td colspan="8">
<table width="1024" height="764" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="..."><?=latest("simple_blue","notice",5,20) ?> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="8" height="102" background="./images/footer.gif"></td>
</tr>
</table>
</body>
</html>
이렇게 되잇습니다..... 여러번 문의를 해보았지만 도저히 모르겠습니다 ㅠ
답변 3
$g4[path]="./gnuboard4";
이렇게 바꾸세요.
1번째 코드표 부분이 수정해야될 부분입니다. 2번째 코드표 부분이 수정완료 부분입니다.
1CODE
<td background="..."><?=latest("simple_blue","notice",5,20) ? > </td>
2CODE
<td background="..."><?=latest("simple_blue","notice",5,20)?> </td>
이렇게 수정해보시길바랍니다. 문제는 즉슨) ? > , ?> 이 것의 차이입니다.~
!-->!-->
위의 댓글을 토대로 수정을 하니이런식으로 웹페이지가 안열립니다.