head.php 오류 문의좀드릴께요.. > 그누4 질문답변

그누4 질문답변

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

head.php 오류 문의좀드릴께요.. 정보

head.php 오류 문의좀드릴께요..

본문

Fatal error: Call to undefined function latest() in C:\KebiHome\myhome\gnuboard4\head.php on line 27


27번째라인 에러라고 나오는데여..

[내 게시글+코멘트] / [내정보]  이 버튼들 누르면 에러가 나네여..

27번째라인에 <?= latest("latest_onetap07", "Products", 10, 30);?>  이렇게적어둿는데...
잘못적엇나요..?  위에 = 이거빼면 최근게시물이 안떠버리구요..ㅠㅠ


<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>


<center>
<!-- 상단 배경 시작 -->
<embed src="main234.swf" width="1024" height="531" vspace="0" loop="true" play="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
<table width="1028" height="58" border="0">
  <tr>
    <th width="45" height="20" align="left" valign="top" scope="col"><?=outlogin("naver"); // 외부 로그인 ?></th>
    <th colspan="2" align="left" valign="top" scope="col">
<?= latest("latest_onetap07", "Products", 10, 30);?>
    </tr>
  <tr>
    <td height="15"></td>
    <td width="469"><?

    // 이 함수가 바로 최신글을 추출하는 역할을 합니다.
    // 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.

    // 사용방법
    // latest(스킨, 게시판아이디, 출력라인, 글자수);
    echo latest("basic", "company_info", 10, 40);
    echo "<p>\n";

?></td>
    <td width="500">&nbsp;</td>
  </tr>
  <tr>
    <td height="15">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</center>

</p>
<tr>
  <td width=3>&nbsp;</td>
    <!-- 왼쪽 메뉴 --><!-- 중간 -->
  <td width=683 align="left" valign=top></td>

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT