php 간단한것좀 여쭤볼게요
본문
if ($bo_table == 'customer ') { < 이부분에 또 다른 테이블명을 추가할려고 하는데 어찌해야하나요
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 상단 내용
if (G5_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
if ($bo_table == 'customer') {
include_once(G5_THEME_MOBILE_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']);
}
?>
답변 2
if ($bo_table == 'customer ' || $bo_table == '')
이렇게 하시면 됩니다.
$bo_table == 'customer ' || $bo_table == '추가 게시판'
이런식으로 추가해 주시면 됩니다.
답변을 작성하시기 전에 로그인 해주세요.