모바일 특정게시판 헤더부분
본문
ekl < 라는 테이블명에서만 다른헤더를 보여주고 싶은데요
아래 소스코드가 잘못된건지 왜그런지 답변좀 주시면 감사하겠습니다.
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 상단 내용
if (G5_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
if ($bo_table == 'ekl') {
include_once(G5_THEME_PATH.'/head1.php');
} else {
include_once(G5_BBS_PATH.'/_head.php');
}
echo stripslashes($board['bo_mobile_content_head']);
} else {
@include ($board['bo_include_head']);
echo stripslashes($board['bo_content_head']);
}
?>
답변을 작성하시기 전에 로그인 해주세요.