<?$main = "main";?>
<?include "include/header.php";?>
<?include $_SERVER['DOCUMENT_ROOT'] . "/module/popup/popup.inc.php";?>
<div id="container">
	<div class="main-visual">
		<div class="inner">
			<div class="visual-tt">
				<h3 class="ff-gsB">GDIDC</h3>
				<p class="ff-sd5">고객만족을 위해 최상의 솔루션을 제공합니다.</p>
			</div>
			<ul class="mainSlide">
				<li class="item"><img src="images/main/visual1.webp" alt=""></li>
				<li class="item"><img src="images/main/visual2.webp" alt=""></li>
				<li class="item"><img src="images/main/visual3.webp" alt=""></li>
			</ul>
		</div>
	</div>

	<div class="main-s-host">
		<div class="contain">
			<h2 class="main-tit">SERVER HOSTING 주력상품 안내</h2>
			<div class="table-wrap">
				<table class="prod-tbl">
					<colgroup>
						<col width="20%" span="5">
					</colgroup>
					<thead>
						<tr>
							<th> </th>
							<th>A Type</th>
							<th>B Type</th>
							<th>C Type</th>
							<th>D Type</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<th>CPU</th>
							<td>E5530</td>
							<td>X5560*2</td>
							<td>E5-2630v2*2</td>
							<td>E5-2690v2*2</td>
						</tr>
						<tr>
							<th>Core</th>
							<td>4core</td>
							<td>8core</td>
							<td>12Core</td>
							<td>20core</td>
						</tr>
						<tr>
							<th>RAM</th>
							<td>8G</td>
							<td>16G</td>
							<td>16G</td>
							<td>32G</td>
						</tr>
						<tr>
							<th>HDD</th>
							<td>SSD128G*2, SATA500G*2</td>
							<td>SSD128G*2, SATA500G*2</td>
							<td>SSD128G*2, SATA500G*2</td>
							<td>SSD128G*2, SATA500G*2</td>
						</tr>
						<tr>
							<th>Cost</th>
							<td>30만원</td>
							<td>40만원</td>
							<td>60만원</td>
							<td>70만원</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>

	<!-- <div class="main-w-host">
		<div class="contain">
			<h2 class="main-tit">WEB HOSTING 주력상품 안내</h2>
			<div class="row">
				<div class="col">
					<div class="img"><img src="images/main/prod1.jpg" alt=""></div>
					<div class="txt">
						<h3>Single Web Hosting</h3>
						<ul class="hpn-list">
							<li>- 1 웹 사이트</li>
							<li>- 10G 웹 공간</li>
							<li>- 매월 10,000 개의 연결</li>
							<li>-  무료 SSL</li>
							<li>-  무료 CDN</li>
							<li>- 가격 :</li>
						</ul>
					</div>
				</div>
				<div class="col">
					<div class="img"><img src="images/main/prod2.jpg" alt=""></div>
					<div class="txt">
						<h3>Premium Web Hosting</h3>
						<ul class="hpn-list">
							<li>- 5 웹 사이트</li>
							<li>- 20G 웹 공간</li>
							<li>- 매월 25,000 개의 연결</li>
							<li>-  무료 SSL</li>
							<li>-  무료 CDN</li>
							<li>- 가격 :</li>
						</ul>
					</div>
				</div>
				<div class="col">
					<div class="img"><img src="images/main/prod3.jpg" alt=""></div>
					<div class="txt">
						<h3>Business Web Hosting</h3>
						<ul class="hpn-list">
							<li>- 무제한 웹 사이트</li>
							<li>- 40G 웹 공간</li>
							<li>- 매월 100,000 개의 연결</li>
							<li>-  무료 SSL</li>
							<li>-  무료 CDN</li>
							<li>- 가격 :</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div> -->

	<div class="main-board">
		<div class="contain">
			<div class="row">
				<div class="col">
					<div class="noti">
						<h3>공지사항</h3>
						<ul>
              <?php
$dblink = SetConn($_conf_db["main_db"]);
$latest = getArticleList("tbl_board_notice", "5");
if ($latest["list"]["total"] > 0) {
    for ($i = 0; $i < $latest["list"]["total"]; $i++) {
        if (strtotime($latest["list"][$i][wdate]) + (3 * 86400) > time()) {
            $newImage = " <img src=\"/images/bbs/icon_new.gif\" alt=\"새 글\">";
        } else {
            $newImage = "";
        }
        ?>
							<li>
								<a href="/sub/sub06_01.php?boardid=notice&mode=view&idx=<?=$latest["list"][$i][idx]?>">
									<span class="title"><?=text_cut(stripslashes($latest["list"][$i][subject]), "60")?></span><?=$newImage?>
									<span class="date"><?=date("Y-m-d", strtotime($latest["list"][$i][wdate]))?></span>
								</a>
							</li>
              <?php }} else {?>
              <li class="none">등록된 공지사항이 없습니다.</li>
              <?php }?>
              <?php SetDisConn($dblink);?>
						</ul>
						<a href="sub/sub06_01.php" class="more-btn" title="공지사항 바로가기"><img src="images/main/more.png" alt=""></a>
					</div>
				</div>
				<div class="col">
					<div class="info-cs">
						<h3>고객센터</h3>
						<p>365일 24시간 가능</p>
						<div class="num ff-rb">1661-4598</div>
						<div class="skype">
							<a href="https://join.skype.com/invite/yeOMvA8a0BtI"><img src="images/main/ico_skype.png" alt="">gdidc0125@gmail.com</a>
						</div>
						<div class="telegram">
							<a href="https://t.me/GDIDC0125"><img src="images/main/ico_telegram.png" alt="">@GDIDC0125</a>
						</div>
					</div>
				</div>
				<div class="col">
					<div class="info-ns">
						<h3>네임서버 정보안내</h3>
						<div class="clearfix">
							<div class="tt">1차</div>
							<div class="txt">margo.ns.cloudflare.com</div>
							<div class="tt">2차</div>
							<div class="txt">rosemary.ns.cloudflare.com</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="main-secu">
		<div class="contain">
			<h2 class="main-tit">DDOS방어 요청사항 (DDOS방어서비스)</h2>
			<div class="row">
				<div class="col">
					<a href="sub/sub04_01.php">
						<div class="ico ico1"></div>
						<h3>기본방어</h3>
						<p>UDP DDoS 50G<br>무료 방어</p>
					</a>
				</div>
				<div class="col">
					<a href="sub/sub04_02.php">
						<div class="ico ico2"></div>
						<h3>단독방어</h3>
						<p>방어솔루션이설치된<br>서버를 이용한<br>DDoS & DoS 방어</p>
					</a>
				</div>
				<div class="col">
					<a href="sub/sub04_03.php">
						<div class="ico ico3"></div>
						<h3>CDN-B</h3>
						<p>CDN-F 방어를 포함한 보다<br>강력한 방어 서비스</p>
					</a>
				</div>
			</div>
		</div>
	</div>

	<div class="main-ptn">
		<div class="contain">
			<ul class="ptnSlide">
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn01.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn02.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn03.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn04.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn05.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn01.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn02.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn03.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn04.jpg" alt=""></div></a></li>
				<li><a href="" target="_blank"><div class="img"><img src="/images/main/ptn05.jpg" alt=""></div></a></li>
			</ul>
		</div>
	</div>

<?include "include/footer.php";?>
