header.php 2.4 KB
<? include $_SERVER["DOCUMENT_ROOT"] . "/common/classes/Admin.php" ?>
<?
	$headObj = new Admin($_REQUEST, "");
	$webRoot = $headObj->webRoot;
	
	$loginInfo = $headObj->getAdminInfo();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<!--<title>GROUPBY Application Back Office</title>-->
<title>한중특장 Application Back Office</title>
<? include $_SERVER["DOCUMENT_ROOT"] . "/admin/inc/php/metaData.php" ?>
<?
if($loginInfo == null)
{
	echo "<script>alert('로그인 후 이용가능합니다.'); location.href = '/admin'; </script>";
	return;
}
?>
<script type="text/javascript">
	$(document).ready(function(){
		$("div.nav").find("a").removeClass("selected");
		$("div.nav").find("a[matchUrl='" + _urlPath + "']").addClass("selected");
	});
</script>

</head>

<body>

<div id="Wrap">
	<!-- header -->
	<div id="Header">

		<!-- topmenu area -->
		<div class="hgroup">			
			<table>
				<tr>
					<td class="logo">한중특장</td>
					<!--<td class="logo">GROUPBY <span>관리자</span></td> -->
					<td class="log">
						<strong><?=$loginInfo["adminName"]?></strong>님이 로그인하였습니다.  
						<a href="/action_front.php?cmd=Admin.logout&flow=ToS"><img src="/admin/inc/images/btn_logout.gif"  alt="로그아웃" width="48" height="12" align="absmiddle"></a>
					</td> 
				</tr>
			</table>
		</div>

		<!-- topmenu area -->

		<!-- 메인메뉴요 -->
		<div class="nav">
			<ul>
				<li>
					<!--<a matchUrl="/admin/userManage" href="/admin/userManage/userList.php">회원 관리</a>-->
					<a matchUrl="/admin/userManage" href="/admin/userManage/userList.php">회원 관리</a>
				</li>
				<li>
					<a matchUrl="" href="">제품 관리</a>
				</li>
				<li>
					<a matchUrl="" href="">업체 관리</a>
				</li>
				<li>
					<a matchUrl="" href="">게시물 관리</a>
				</li>
				<li>
					<a matchUrl="" href="">고객센터</a>
				</li>
				<li>
					<a matchUrl="/admin/pushManage" href="/admin/pushManage/pushView.php">푸시 관리</a>
				</li>
				<li>
					<a matchUrl="" href="">사양서 관리</a>
				</li>
				<li>
					<a matchUrl="/admin/etcManage" href="/admin/etcManage/changePWD.php">계정 관리</a>
				</li>
			</ul>
		</div>
		<!-- //메인메뉴요 -->

	</div>
	<!-- // header -->

	<div class="conHeight">
		<!-- contents start-->
		<div class="contWrap">