테스트 사이트 - 개발 중인 베타 버전입니다

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

· 9년 전 · 4458 · 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 게시판을 이용해주시길바랍니다.
죄송합니다... 잘못 올렸네요... ㅠㅠ

게시글 목록

번호 제목
1483
1481
1479
1474
1473
1463
1458
1457
1456
1452
1449
1448
1442
1441
1426
1411
1389
1388
1372
1359
1357
1355
1348
1347
1338
1332
1328
1313
1307
1303