<?if ($mNum == "") {
    $mNum = 0;
}
?>
<?if ($sNum == "") {
    $sNum = 0;
}
?>
<?
session_start();
include $_SERVER[DOCUMENT_ROOT] . "/common/conf/config.inc.php";

if (!$_SESSION[$_SITE["DOMAIN"]]["SESSIONID"]) {
    $_SESSION[$_SITE["DOMAIN"]]["SESSIONID"] = md5(rand() . microtime()); //쇼핑몰 고유 세션 아이디
}

//하루에 한번만 로그를 기록함
include $_SERVER[DOCUMENT_ROOT] . "/module/log/log.lib.php";
if ($_COOKIE[websight_log_count] != "1") {
    setcookie("websight_log_count", "1", time() + (86400), "/", $_SITE["DOMAIN"]);
    $dblink = SetConn($_conf_db["main_db"]);
    insertLog();
    SetDisConn($dblink);
}
?>
<!DOCTYPE html>
<html lang="ko">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="format-detection" content="telephone=no">
	<meta name="viewport" id="viewport" content="width=1200px">
  <?if ($arrSetInfo['list'][0]['naver_meta']) {?><meta name="naver-site-verification" content="<?=stripslashes($arrSetInfo['list'][0]['naver_meta'])?>"/><?}?>
  <?if ($arrSetInfo['list'][0]['google_meta']) {?><meta name="google-site-verification" content="<?=stripslashes($arrSetInfo['list'][0]['google_meta'])?>" /><?}?>
  <title><?=$arrSetInfo["list"][0][shop_title]?></title>
  <meta name="subject" content="<?=$arrSetInfo["list"][0][shop_title]?>">
  <meta name="description" content="<?=$arrSetInfo["list"][0][shop_content]?>">
  <meta name="keywords" content="<?=$arrSetInfo["list"][0][shop_keyword]?>">
  <meta property="og:type" content="website">
  <meta property="og:title" content="<?=$_SITE["NAME"]?>">
  <meta property="og:description" content="<?=$arrSetInfo["list"][0][shop_content]?>">
  <meta property="og:image" content="http://<?=$_SITE["DOMAIN"]?>/images/sns_link.png">
  <meta property="og:url" content="http://<?=$_SITE["DOMAIN"]?>">

	<link rel="stylesheet" type="text/css" href="/css/notosanskr.css">
	<link rel="stylesheet" type="text/css" href="/css/GmarketSans.css">
	<link rel="stylesheet" type="text/css" href="/css/S-CoreDream.css">
	<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="/css/slick.css">
	<link rel="stylesheet" type="text/css" href="/css/style.css">

	<script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
	<script type="text/javascript" src="/js/slick.min.js"></script>
	<script type="text/javascript" src="/js/jquery.gnb.js"></script>
	<script type="text/javascript" src="/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
	<script type="text/javascript" src="/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
	<link rel="stylesheet" type="text/css" href="/fancybox/source/jquery.fancybox.css?v=2.1.5" media="screen">
	<script type="text/javascript" src="/js/jquery.js"></script>
	<!--[if lte IE 9]
		<script src="/js/html5.js"></script>
	<![endif]-->
	<meta name="google-site-verification" content="cJj73gRDWkiGuwMnMrDV4-D_OqOg_qn7-gb2sh1m5tE" />
</head>
<body id="<?=$main == "main" ? "main" : "sub"?>">
<div id="skipToContent">
	<?if ($main == "main"): ?>
	<a href="#container">본문 바로가기</a>
	<?else: ?>
	<a href="#contArea">본문 바로가기</a>
	<?endif?>
	<a href="#gnb">주메뉴 바로가기</a>
</div>
<div id="wrapper">
	<!-- // header -->
    <header id="header">
		<div class="contain">
			<h1 class="sitelogo"><a href="/index.php"><img src="/images/common/logo.png" alt="GD IDC"></a></h1>
			<div id="gnb" class="gnb">
				<ul>
					<li><a href="/sub/sub01_01.php">IDC소개</a>
						<div class="submenu">
							<ul>
								<li><a href="/sub/sub01_01.php">인사말</a></li>
								<li><a href="/sub/sub01_02.php">센터소개</a></li>
							</ul>
						</div>
					</li>
					<li><a href="/sub/sub02_01.php">호스팅</a>
						<div class="submenu">
							<ul>
								<li><a href="/sub/sub02_01.php">서버호스팅</a>
									<ul>
										<li><a href="/sub/sub02_01.php">- 신청절차</a></li>
										<li><a href="/sub/sub02_01_02.php">- 제품안내</a></li>
									</ul>
								</li>
								<!-- <li><a href="/sub/sub02_02.php">웹호스팅</a>
									<ul>
										<li><a href="/sub/sub02_02.php">- 신청절차</a></li>
										<li><a href="/sub/sub02_02_02.php">- 제품안내</a></li>
									</ul>
								</li> -->
							</ul>
						</div>
					</li>
					<li><a href="/sub/sub03_01.php">회선서비스</a>
						<div class="submenu">
							<ul>
								<li><a href="/sub/sub03_01.php">회선종류</a></li>
								<li><a href="/sub/sub03_02.php">코로케이션</a></li>
							</ul>
						</div>
					</li>
					<li><a href="/sub/sub04_01.php">DDOS방어</a>
						<div class="submenu">
							<ul>
								<li><a href="/sub/sub04_01.php">기본방어</a></li>
								<li><a href="/sub/sub04_02.php">V방어</a></li>
								<li><a href="/sub/sub04_03.php">CDN방어</a></li>
							</ul>
						</div>
					</li>
					<li><a href="/sub/sub05_01.php">부가서비스</a>
						<div class="submenu">
							<ul>
								<li><a href="/sub/sub05_01.php">방화벽 서비스</a></li>
							</ul>
						</div>
					</li>
					<li><a href="/sub/sub06_01.php">고객지원</a>
						<div class="submenu">
							<ul>
								<li><a href="/sub/sub06_01.php">공지사항</a></li>
								<li><a href="/sub/sub06_02.php">자료실</a></li>
							</ul>
						</div>
					</li>
				</ul>
			</div>
			<script type="text/javascript">
				jQuery(document).ready(function(){
					jQuery('#gnb').gnb({ d1: <?=$mNum?> });
				});
			</script>
		</div>
		<div class="submenu-bg"></div>
	</header>
	<!-- header //-->
