Copy
<?phpif (!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개 / 댓글 1개
채택된 답변
+20 포인트
11년 전
if ($board['bo_table'] != 'table' && $board['gr_id'] != 'group') include_once (G5_PATH.'/ad/index.php');
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.