지정된 게시판에 출력안하게 하려면 어떻게 하죠?
본문
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 상단 내용
if (G5_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
include_once('./_head.php');
echo stripslashes($board['bo_mobile_content_head']);
} else {
@include ($board['bo_include_head']);
include_once(G5_PATH.'/ad/index.php');
echo stripslashes($board['bo_content_head']);
}
?>
위 내용에서 아래부분을
include_once(G5_PATH.'/ad/index.php');
지정된 게시판 혹은 그룹에는 출력 안되게 하려면 어떻게 하면 되나요??
답변 1
if ($board['bo_table'] != 'table' && $board['gr_id'] != 'group') include_once (G5_PATH.'/ad/index.php');
답변을 작성하시기 전에 로그인 해주세요.