<? 
include "include/header.php"; 
?>
<?
include($_SERVER[DOCUMENT_ROOT] . "/module/popup/popup.inc.php");
include_once $_SERVER[DOCUMENT_ROOT] . "/module/board/board.lib.php";
//DB연결
$dblink = SetConn($_conf_db["main_db"]);

//공지사항 게시판
$boardid = "notice";
$arrBoardInfo = getBoardInfo($_conf_tbl[board_info], mysql_real_escape_string($boardid));
$arrNoticeList = getBoardListBase("notice", "", "", "", "5", 0);
$arrDataList = getBoardListBase("data", "", "", "", "5", 0);

//DB해제
SetDisConn($dblink);
?>
<div id="container">
	<!--// HOME -->
	<div class="visual-section">
		<div class="inner">
			<ul id="mainSlide">
				<li><img src="images/main/visual1.jpg" alt=""></li>
				<li><img src="images/main/visual2.jpg" alt=""></li>
				<li><img src="images/main/visual3.jpg" alt=""></li>
			</ul>
		</div>
	</div>
	<!-- HOME //-->

	<!--// INFORMATION -->
	<div class="info-section">
		<div class="contain">
			<div class="head">
				<h2>Prime IDC 주력상품(서버) 안내</h2>
			</div>
			<div class="table">
				<table>
					<colgroup>
						<col style="width:16.66%;" span="6">
					</colgroup>

					<thead>
						<tr>
							<th scope="col"></th>
							<th scope="col">B Type</th>
							<th scope="col">C Type</th>
							<th scope="col">D Type</th>
							<th scope="col">E Type</th>
							<th scope="col">E2 Type</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<th scope="row">CPU</th>
							<td>E5530 or E5540</td>
							<td>X5560*2</td>
							<td>X5650*2</td>
							<td>E5-2690v2*2</td>
							<td>E5-2690v4*4</td>
						</tr>
						<tr>
							<th scope="row">Core</th>
							<td class="bg1">4 core/2.4Ghz</td>
							<td class="bg1">8 core/2.8Ghz</td>
							<td class="bg1">12 core/2.6Ghz</td>
							<td class="bg1">12 core/2.6Ghz</td>
							<td class="bg1">20 core/3.0Ghz</td>
						</tr>
						<tr>
							<th scope="row">RAM</th>
							<td>16G</td>
							<td>16G</td>
							<td>16G</td>
							<td>32G</td>
							<td>32G</td>
						</tr>
						<tr>
							<th scope="row">HDD</th>
							<td class="bg1">SSD250G*2 + SSD500G*2</td>
							<td class="bg1">SSD250G*2 + SSD500G*2</td>
							<td class="bg1">SSD250G*2 + SSD500G*2</td>
							<td class="bg1">SSD250G*2 + SSD500G*2</td>
							<td class="bg1">SSD250G*2 + SSD500G*2</td>
							</td>
						</tr>
						<tr>
							<th scope="row">Cost</th>
							<td><span>65만원</span>-&gt<span style="color:red;">할인가 45만원</span></td>
							<td><span>75만원</span>-&gt<span style="color:red;">할인가 55만원</span></td>
							<td><span>85만원</span>-&gt<span style="color:red;">할인가 65만원</span></td>
							<td><span>95만원</span>-&gt<span style="color:red;">할인가 75만원</span></td>
							<td><span style="color:red;">할인가 85만원</span></td>
						</tr>
					</tbody>
				</table>
				<div style="color:red;"> 기본 HDD : SSD 250G*2 + SSD 500G*2 (Raid 1)</div>
				<div style="color:red;"> SAS / SSD / SATA 혼합구성 가능</div>
			</div>

			<div class="link">
				<div class="left">
					<a href="sub/sub02_01.php">
						<h3>호스팅</h3>
						<p>
							Prime IDC의 호스팅 서비스를<br>
							확인하실 수 있습니다.
						</p>
						<p class="btn">바로가기 <span>></span></p>
					</a>
				</div>
				<div class="right">
					<a href="sub/sub04_01.php">
						<h3>부가서비스</h3>
						<p>
							Prime IDC의 부가 서비스를<br>
							확인하실 수 있습니다.
						</p>
						<p class="btn">바로가기 <span>></span></p>
					</a>
				</div>
			</div>
		</div>
	</div>
	<!-- INFORMATION //-->

	<!--// SERVICE -->
	<div class="service-section">
		<div class="contain">
			<div class="head">
				<h2>Prime IDC 회선서비스</h2>
			</div>

			<div class="con">
				<ul>
					<li>
						<a href="sub/sub03_01.php">
							<div class="icon"><img src="images/main/mCon_icon1.png" alt=""></div>
							<h3>회선 종류</h3>
							<p>
								Prime IDC의 다양한 회선종류를<br>
								지금 바로 확인하실 수 있습니다.
							</p>
							<p class="btn">View More <span>→</span></p>
						</a>
					</li>
					<li>
						<a href="sub/sub03_02.php">
							<div class="icon"><img src="images/main/mCon_icon2.png" alt=""></div>
							<h3>코로케이션</h3>
							<p>
								Prime IDC의 코로케이션 서비스 내용을<br>
								지금 바로 확인하실 수 있습니다.
							</p>
							<p class="btn">View More <span>→</span></p>
						</a>
					</li>
					<li>
						<a href="sub/sub03_03.php">
							<div class="icon"><img src="images/main/mCon_icon3.png" alt=""></div>
							<h3>VPN</h3>
							<p>
								Prime IDC의 VPN 서비스 내용을 <br>
								지금 바로 확인하실 수 있습니다.
							</p>
							<p class="btn">View More <span>→</span></p>
						</a>
					</li>
					<li>
						<a href="sub/sub03_04.php">
							<div class="icon"><img src="images/main/mCon_icon4.png" alt=""></div>
							<h3>전용선</h3>
							<p>
								 Prime IDC의 합리적인 가격의 전용선을<br>
								지금 바로 확인하실 수 있습니다.
							</p>
							<p class="btn">View More <span>→</span></p>
						</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<!-- SERVICE //-->

	<!--// COMMUNITY -->
	<div class="comm-section">
		<div class="contain">
			<div class="con con1">
				<h2>공지사항</h2>
				<ul>
					<?
					//공지사항 출력
					if($arrNoticeList["list"]["total"] > 0){
					for($i=0; $i < $arrNoticeList["list"]["total"]; $i++){
						//신규글 표시
						if(strtotime($arrNoticeList["list"][$i][wdate])+($arrBoardInfo["list"][0]["newmark"]*86400) > time()){
							$newImage =" <img src='/images/bbs/icon_new.gif' alt='New' />";
						}else{
							$newImage ="";
						}
					?>
					<li>
						<a href="/sub/sub05_01.php?mode=view&idx=<?=$arrNoticeList["list"][$i][idx]?>">
						<?=text_cut(stripslashes($arrNoticeList["list"][$i][subject]),40)?></a> <?=$newImage?>
						<span><?=substr($arrNoticeList["list"][$i][wdate],0,10)?></span>
					</li>
					<?}}else{?>
					<li>등록된 게시물이 없습니다.</li>
					<?}?>
					<!-- <li><a href="sub/sub05_01.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <img src="images/bbs/icon_new.gif" alt="새 글"> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_01.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_01.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_01.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_01.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li> -->
				</ul>
				<a href="sub/sub05_01.php" class="more">더보기 <span>></span></a>
			</div>
			<div class="con con2">
				<h2>자료실</h2>
				<ul>
					<?
					//자료실 출력
					if($arrDataList["list"]["total"] > 0){
					for($i=0; $i < $arrDataList["list"]["total"]; $i++){
						//신규글 표시
						if(strtotime($arrDataList["list"][$i][wdate])+($arrBoardInfo["list"][0]["newmark"]*86400) > time()){
							$newImage =" <img src='/images/bbs/icon_new.gif' alt='New' />";
						}else{
							$newImage ="";
						}
					?>
					<li>
						<a href="/sub/sub05_02.php?mode=view&idx=<?=$arrDataList["list"][$i][idx]?>">
						<?=text_cut(stripslashes($arrDataList["list"][$i][subject]),40)?></a> <?=$newImage?>
						<span><?=substr($arrDataList["list"][$i][wdate],0,10)?></span>
					</li>
					<?}}else{?>
					<li>등록된 게시물이 없습니다.</li>
					<?}?>
					<!-- <li><a href="sub/sub05_02.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_02.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_02.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_02.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li>
					<li><a href="sub/sub05_02.php"> 타이틀이 들어갑니다. 타이틀이 들어...</a> <span>2018-10-30</span></li> -->
				</ul>
				<a href="sub/sub05_02.php" class="more">더보기 <span>></span></a>
			</div>
			<div class="con con3">
				<h2>연락처 안내</h2>
				<p>
					<!--<span> <a href="https://join.skype.com/invite/kwt1iCxp59UZ"><img src="images/common/skype.png">prime-idc@outlook.kr</a><br>-->
					<a href="https://t.me/prime_idc"><img src="/images/common/telegram.webp">@prime_idc</a><br>
					<span> 연락처 : </span>1544-7652
				</p>
			</div>
		</div>
	</div>
	<!-- COMMUNITY //-->

	<!--// CUSTOMER -->
	<!--// <div class="costomer-section">
		<div class="inner">
			<img src="images/main/customer_center.jpg" alt="">
		</div>
	</div> //-->
	<!-- CUSTOMER //-->

	<!--// BANNER -->
	<div class="banner-section">
		<div class="contain">
			<div class="banner-wrap">
				<ul id="mainSlide2">
					<li><a href="https://www.cisco.com"><img src="images/main/banner1.png" alt=""></a></li>
					<li><a href="http://www.kddi.com"><img src="images/main/banner2.png" alt=""></a></li>
					<li><a href="https://www.softbank.jp/en/"><img src="images/main/banner3.png" alt=""></a></li>
					<li><a href="https://www8.hp.com/kr/ko/home.html"><img src="images/main/banner4.png" alt=""></a></li>
					<li><a href="http://www.ntt.co.jp/index_e.html"><img src="images/main/banner5.png" alt=""></a></li>
				</ul>
			</div>
		</div>
	</div>
	<!-- BANNER //-->

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