<?
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();
}

if ($handle = opendir($_SERVER["DOCUMENT_ROOT"] . "/images/")) {
	$cc=0;
	while (false !== ($sns_file = readdir($handle))) {
		if (strpos($sns_file, 'sns_link') !== false) {
			$sns_icon = $sns_file;
		}
	}
}
?>
<? if($mNum=="") $mNum=0 ?>
<? if($sNum=="") $sNum=0 ?>
<!DOCTYPE html>
<html lang="ko">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" id="viewport" content="width=1280">
	<meta name="format-detection" content="telephone=no">
	<title><?=$arrSetInfo["list"][0]["shop_name"]?></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"]?>">

	<?if($arrSetInfo["list"][0]["shop_navermeta"]!=""){?>
	<meta name="naver-site-verification" content="<?=$arrSetInfo["list"][0]["shop_navermeta"]?>"/> 
	<?}?>

	<meta property="og:type" content="website">
	<meta property="og:title" content="<?=$arrSetInfo["list"][0]["shop_title"]?>">
	<meta property="og:description" content="<?=$arrSetInfo["list"][0]["shop_content"]?>">
	<?if($sns_icon!=""){?>
	<meta property="og:image" content="http://<?=$arrSetInfo["list"][0]["shop_url"]?>/images/<?=$sns_icon?>">
	<?}?>
	<meta property="og:url" content="http://<?=$arrSetInfo["list"][0]["shop_url"]?>/">
	<link rel="stylesheet" type="text/css" href="/css/jquery.bxslider.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/jquery.gnb.js"></script>
	<script type="text/javascript" src="/js/jquery.bxslider.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>
<!추가 21.07.21 추가 함SEO  >
<meta name="google-site-verification" content="s7cJFwWKu59TT_mr_M8lFWJGS5hCPBJ_KXTULYUubiM" />


</head>
<body class="<?=$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 -->
    <div id="header">
		<div class="contain">
			<h1 class="sitelogo">
				<a href="/index.php"><img src="/images/common/logo.png" alt="Prime IDC"></a>
			</h1>
			<div class="util">
				<ul>
					<li><a href="/index.php">HOME</a></li>
					<li><a href="/sub/sitemap.php">SITEMAP</a></li>
				</ul>
			</div>
			<div class="gnb-wrap">							
				<div id="gnb" class="gnb">
					<h2 class="hide">주메뉴</h2>
					<ul>
						<li><a href="/sub/sub01_01.php">About Us</a>
							<div class="submenu">
								<ul>
									<li><a href="/sub/sub01_01.php">인사말</a></li>
									<li><a href="/sub/sub01_02.php">센터소개</a></li>
									<li><a href="/sub/sub01_03.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></li>
									<li><a href="/sub/sub02_02.php">신청절차</a></li>
									<li><a href="/sub/sub02_03.php">제품안내</a></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>
									<li><a href="/sub/sub03_03.php">VPN</a></li>
									<li><a href="/sub/sub03_04.php">전용선</a></li>
								</ul>
							</div>
						</li>
						<li><a href="/sub/sub04_01.php">부가서비스</a>
							<div class="submenu">
								<ul>
									<li><a href="/sub/sub04_01.php">방화벽</a></li>
									<li><a href="/sub/sub04_02.php">웹방화벽</a></li>
									<li><a href="/sub/sub04_03.php">우회망</a></li>
									<li><a href="/sub/sub04_04.php">도메인 구매대행</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>
									<li><a href="/sub/sub05_02.php">자료실</a></li>
								</ul>
							</div>
						</li>
					</ul>
				</div>
				<script type="text/javascript">
					jQuery(document).ready(function(){	
						jQuery('#gnb').gnb({ d1: <?=$mNum?> , d2: <?=$sNum?> });
					});
				</script>
			</div>
		</div>
		<div class="submenu_bg"></div>
	</div>
	<!-- header //-->
