개

모바일 상단 보드 제외 수정 코딩 문의

· 2016-02-17 (수) 18:17:53 · 5213 · 2
/bbs 폴더 내의 board_head.php, board_tail.php 파일에서
아래의 소스로 모바일 상단 설정에서 1번, 2번 보드를 제외시키려고 합니다.

if ($bo_table != "1" && $bo_table != "2" && G5_IS_MOBILE) {

위 부분을 아래 코드에 어떻게 넣어야 하는지 조언을 구합니다.


[code]<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

// 게시판 관리의 상단 내용
if (G5_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
include_once(G5_BBS_PATH.'/_head.php');
if($is_bo_content_head) {
echo stripslashes($board['bo_mobile_content_head']);
}
} else {
@include ($board['bo_include_head']);
if($is_bo_content_head) {
echo stripslashes($board['bo_content_head']);
}
}
?>
[/code]
|

댓글 2개

[code]
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

// 게시판 관리의 상단 내용
if ($bo_table != "1" && $bo_table != "2" && G5_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
include_once(G5_BBS_PATH.'/_head.php');
if($is_bo_content_head) {
echo stripslashes($board['bo_mobile_content_head']);
}
} else {
@include ($board['bo_include_head']);
if($is_bo_content_head) {
echo stripslashes($board['bo_content_head']);
}
}
?>
[/code]
이게 아닐까요 ?? 그리고 Q&A 게시판을 이용해주시길바랍니다.
죄송합니다... 잘못 올렸네요... ㅠㅠ
댓글을 작성하시려면 로그인이 필요합니다.
+
제목 글쓴이 날짜 조회
16-07-19 조회 8,530
16-07-19 조회 6,159
16-07-17 조회 5,113
16-07-14 조회 7,426
16-07-14 조회 5,592
16-07-09 조회 6,177
16-06-27 조회 1.7만
16-06-27 조회 8,243
16-06-22 조회 4,889
16-06-12 조회 5,877
16-06-02 조회 5,098
16-05-27 조회 1.1만
16-05-25 조회 6,340
16-05-18 조회 5,494
16-05-16 조회 6,011
16-05-13 조회 5,619
16-05-11 조회 5,280
16-04-20 조회 6,085
16-04-18 조회 5,407
16-04-16 조회 1만
16-03-29 조회 5,631
16-03-27 조회 9,925
16-02-17 조회 5,214
16-01-21 조회 5,854
16-01-15 조회 6,624
16-01-14 조회 8,138
16-01-14 조회 7,085
16-01-12 조회 5,596
16-01-10 조회 6,365
16-01-08 조회 1.2만