나리야 빌더 이용하고 있습니다. 접속자 제거하고 싶습니다. 도와주세요.

나리야 빌더 이용하고 있습니다. 접속자 제거하고 싶습니다. 도와주세요.

QA

나리야 빌더 이용하고 있습니다. 접속자 제거하고 싶습니다. 도와주세요.

답변 3

본문

안녕하세요.

현재 수정중에 있는데 해당부분을 제거 하고 싶은데 제거 방법을 잘몰라서요.

20306146_1599080209.1289.jpg

theme / tail.php 입니다. 어떻게 해야 제거가 될까요... 부탁드리겠습니다.


<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 헤더,테일 사용안함
if($tset['page_sub']) {
    if ($is_admin == 'super' || IS_DEMO)
        include_once(NA_THEME_ADMIN_PATH.'/theme_admin_menu.php');
    include_once(G5_THEME_PATH.'/tail.sub.php');
    return;
}
?>
    <?php if($is_page_col) { ?>
        <?php if($is_page_col == "two") { ?>
                </div>
                <div class="col-md-<?php echo (12 - $is_content_col); ?><?php echo ($tset['left_side']) ? ' order-md-1' : '';?> na-col">
                    <?php 
                        if($nt_side_path)
                            @include_once($nt_side_path.'/side.php'); // Side 
                    ?>
                </div>
            </div>
        <?php } ?>
        </div><!-- .nt-container -->
    <?php } ?>
    </div><!-- .nt-body -->
    <?php
    // FOOTER
    if($nt_footer_path)
        @include_once ($nt_footer_path.'/footer.php');
    ?>
</div><!-- .wrapper -->
<?php
// SIDEBAR
if($nt_sidebar_path)
    @include_once ($nt_sidebar_path.'/sidebar.php');
if ($config['cf_analytics']) {
    echo $config['cf_analytics'];
}
?>
<!-- } 하단 끝 -->
<?php if(!is_mobile()) { // PC에서만 실행 ?>
<script>
function nt_body_size() {
    var $nt_body = $(window).height() - $('#nt_header').height() - $('#nt_footer').height();
    $('#nt_body').css('min-height', $nt_body);
}
$(document).ready(function() {
    // 컨텐츠 영역 최소 높이
    nt_body_size();
    $(window).resize(function() {
        nt_body_size();
    });
});
</script>
<?php } ?>
<!-- Nariya <?php echo NA_VERSION ?> -->
<?php
if ($is_admin == 'super' || IS_DEMO)
    include_once(NA_THEME_ADMIN_PATH.'/theme_admin_menu.php');
include_once(G5_THEME_PATH.'/tail.sub.php');
?>

감사합니다.

 

이 질문에 댓글 쓰기 :

답변 3

테마 내 head.php 파일에 있을 것 같네요.

connect 키워드로 찾아보세요.

도움주셔서 감사합니다. 하지만 theme / head.php 에서 찾을수가 없습니다.

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

include_once(G5_THEME_PATH.'/head.sub.php');

/***************************************************************************************** 
 ■ 경고! 수정하면 제대로 작동하지 않을 수 있으니 주의해 주세요.
*****************************************************************************************/

// 로고 이미지
$tset['logo_img'] = ($tset['logo_img']) ? $tset['logo_img'] : '../img/logo.png';
$tset['logo_img'] = na_url($tset['logo_img']);

// 로고 텍스트
$tset['logo_text'] = ($tset['logo_text']) ? $tset['logo_text'] : '아미나';

// 사이트 너비
$tset['size'] = (int)$tset['size'];
if($tset['size'] > 0) {
	$tset['size'] = $tset['size'];
} else {
	$tset['size'] = (G5_IS_MOBILE) ? 1200 : 1100;
}

?>
<style>
	.nt-container { max-width:<?php echo $tset['size'];?>px; }
	.no-responsive .wrapper { min-width:<?php echo ($tset['size'] + 40);?>px; }
</style>
<?php
// 필수 : 헤더,테일 사용안함
if($tset['page_sub'])
	return;

//---------------------------------------------------------------------------------
include_once(G5_LIB_PATH.'/latest.lib.php');
include_once(G5_LIB_PATH.'/poll.lib.php');

//그누 스킨을 사용하려면 아래 주석을 풀어 주세요.
//include_once(G5_LIB_PATH.'/outlogin.lib.php');
//include_once(G5_LIB_PATH.'/visit.lib.php');
//include_once(G5_LIB_PATH.'/connect.lib.php');
//include_once(G5_LIB_PATH.'/popular.lib.php');
//---------------------------------------------------------------------------------

// 페이지 설정
$nt_side_url = $nt_side_path = $nt_title_url = $nt_title_path = '';
if($is_index) { //인덱스는 와이드 고정
	$is_content_col = 13;
	$is_page_col = '';
} else {
	// 페이지 타이틀
	$page_title = na_page_title($tset);
	list($nt_title_url, $nt_title_path) = na_layout_content('title', $tset['title'], 'title-basic');

	// 페이지 칼럼(다단)
	$is_content_col = (int)$tset['page'];
	$is_content_col = ($is_content_col) ? $is_content_col : 9;
	if($is_content_col == 13) {
		$is_page_col = ''; // wide
	} else if($is_content_col == 12) { //One Column
		$is_page_col = 'one';
	} else { // Two Column
		$is_page_col = 'two';
		list($nt_side_url, $nt_side_path) = na_layout_content('side', $tset['page_side'], 'side-basic');
	}
}

// 영역별 컨텐츠 경로
list($nt_top_url, $nt_top_path) = na_layout_content('top', $tset['top']);
list($nt_lnb_url, $nt_lnb_path) = na_layout_content('lnb', $tset['lnb'], 'lnb-basic');
list($nt_header_url, $nt_header_path) = na_layout_content('header', $tset['header'], 'header-basic');
list($nt_menu_url, $nt_menu_path) = na_layout_content('menu', $tset['menu'], 'menu-basic');
list($nt_wing_url, $nt_wing_path) = na_layout_content('wing', $tset['wing']);
list($nt_footer_url, $nt_footer_path) = na_layout_content('footer', $tset['footer'], 'footer-basic');
list($nt_sidebar_url, $nt_sidebar_path) = na_layout_content('sidebar', $tset['sidebar'], 'sidebar-basic');

// 필수 : 메뉴 및 현재위치 정보 불러오기 - 전역변수로 사용됨
list($menu, $tnav) = na_menu('bbs', $pset['mid']);

// 필수 : 메뉴수 - 전역변수로 사용됨
$menu_cnt = is_array($menu) ? count($menu) : 0;

// 회원정보 재가공
$member = na_member($member);

// 사이트 통계
$stats = na_stats($tset['stats']);

// 팝업레이어는 index에서만 실행
if($is_index) {
	if(G5_IS_MOBILE) {
		include G5_MOBILE_PATH.'/newwin.inc.php';
	} else {
		include G5_BBS_PATH.'/newwin.inc.php';
	}
}

// TOP
if($nt_top_path)
	@include_once ($nt_top_path.'/top.php');
?>
<div class="wrapper m-auto overflow-hidden">
	<div id="nt_header">
		<div id="nt_sticky">
		<?php
		// LNB
		if($nt_lnb_path)
			@include_once ($nt_lnb_path.'/lnb.php');

		// HEADER
		if($nt_header_path)
			@include_once ($nt_header_path.'/header.php');

		// MENU
		if($nt_menu_path)
			@include_once ($nt_menu_path.'/menu.php');
		?>
		</div>
		<?php
		// PAGE TITLE
		if($nt_title_path)
			@include_once ($nt_title_path.'/title.php');

		// WING
		if($is_wing && $nt_wing_path)
			@include_once ($nt_wing_path.'/wing.php');
		?>
	</div><!-- #nt_header -->

	<div id="nt_body" class="nt-body px-0 px-sm-4">
	<?php if($is_page_col) { ?>
		<div class="nt-container py-3 py-sm-4">
		<?php if($is_page_col == "two") { ?>
			<div class="row na-row">
				<div class="col-md-<?php echo $is_content_col ?><?php echo ($tset['left_side']) ? ' order-md-2' : '';?> na-col">
		<?php } ?>
	<?php } ?>

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 95
© SIRSOFT
현재 페이지 제일 처음으로