<?php
if (!defined('_GNUBOARD_')) exit; // Unable to access direct pages

if (GML_IS_MOBILE) {
    include_once(GML_THEME_MOBILE_PATH.'/tail.php');
    return;
}
?>

		<?php
		// don't display header, footer, side menu on login/register and etc.
		if (!defined("_DONT_WRAP_IN_CONTAINER_")) {
		?>
		
	    <?php start_event('container_end'); ?>
	    </div>
	</div>
</div>
<!-- } end contents -->

<!-- footer start { -->
<div id="ft">
    <div id="ft_wr" style="position: relative;border-bottom: 1px solid #eee;">
        <ul id="ft_menu" style="position: relative;width: 1230px;margin: 0 auto;">
            <li><a href="<?php echo GML_BBS_URL ?>/faq.php"><span>FAQ</span></a></li>
            <li><a href="<?php echo GML_BBS_URL ?>/qalist.php"><span><?php ep__('1:1', '1:1 inquiry'); ?></span></a></li>
            <li><a href="<?php echo GML_BBS_URL ?>/new.php"><span><?php ep__('New', 'New posts'); ?></span></a></li>
            <li><a href="<?php echo GML_BBS_URL ?>/current_connect.php" class="visit"><span><?php e__('Visitor'); ?></span> <strong class="visit-num"> <?php echo connect('basic');?></strong></a></li>
            <?php echo visit('basic'); // 접속자집계, 테마의 스킨을 사용하려면 스킨을 basic 과 같이 지정 ?>
        </ul>
        </div>  

        <div id="ft_link">
            <div class="ft_inner">
                <a href="<?php echo get_pretty_url('content', 'company') ?>"><?php e__('About Company'); ?></a>
                <a href="<?php echo get_pretty_url('content', 'privacy') ?>"><?php e__('Privacy Policy'); ?></a>
                <a href="<?php echo get_pretty_url('content', 'provision') ?>"><?php e__('Terms of service'); ?></a>
                <a href="<?php echo get_device_change_url(); ?>"><?php e__('View Mobile'); ?></a>

                <div class="lang_var_select">
                    <span class="sound_only"><?php e__('Select Site Language'); ?></span>
                    <?php echo get_lang_select_html('theme_lang_bar', $lang, 'class="theme_select_lang"', true); ?>
                </div>
            </div>
        </div>

        <div class="ft_inner">
            <div id="ft_catch"><img src="<?php echo GML_IMG_URL; ?>/ft_logo.png" alt="<?php echo GML_VERSION ?>"></div>
            <div id="ft_copy">Copyright &copy; <b><?php e__('Your domain.'); ?></b> All rights reserved.</div>
        </div>
        <button id="top_btn"><i class="fa fa-arrow-up" aria-hidden="true"></i><span class="sound_only"><?php e__('Top'); ?></span></button>
    
</div>


    <div id="ft_fix">
    	<div class="innr">
			<span class="quick_tit">퀵메뉴 <i class="fa fa-plus-circle" aria-hidden="true"></i></span>
	    	<ul>
	    		<li><a href="#">퀵메뉴</a></li>
	    		<li><a href="#">퀵메뉴</a></li>
	    		<li><a href="#">퀵메뉴</a></li>
	    		<li><a href="#">퀵메뉴</a></li>
	    	</ul>
    	</div>  
    </div>  

<?php
    if(GML_DEVICE_BUTTON_DISPLAY && !GML_IS_MOBILE) {

    }
    if ($config['cf_analytics']) {
        echo $config['cf_analytics'];
    }
?>

<!-- } end footer -->
<?php
}
?>

<script>
jQuery(function($) {

    $("#top_btn").on("click", function() {
        $("html, body").animate({scrollTop:0}, '500');
        return false;
    });

    // Font Resize by web Cookie
    font_resize("container", get_cookie("ck_font_resize_rmv_class"), get_cookie("ck_font_resize_add_class"));
});
</script>

<?php include_once(GML_THEME_PATH."/tail.sub.php"); ?>
