g4s 2013-04-11자 코드 적용

This commit is contained in:
chicpro
2013-04-11 10:13:19 +09:00
parent fc4c61c0c5
commit f39509c1c9
401 changed files with 731 additions and 396 deletions

View File

@ -1,21 +1,13 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 상단 파일 경로
if ($board['bo_include_head']) {
@include ($board['bo_include_head']);
}
// 게시판 관리의 상단 이미지 경로
if ($board['bo_image_head']) {
echo '<img src="'.G4_DATA_PATH.'/file/'.$bo_table.'/'.$board['bo_image_head'].'">';
}
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 상단 내용
if (G4_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
include_once('./_head.php');
} else if ($board['bo_content_head']) {
echo stripslashes($board['bo_content_head']);
echo stripslashes($board['bo_mobile_content_head']);
} else {
@include ($board['bo_include_head']);
echo stripslashes($board['bo_content_head']);
}
?>