e0c7ea917ea356ede4cd7c35a26ff34d69b5ed52.svn-base 3.09 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["admin_name"]?></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>
				<?if($loginInfo["admin_type"] == "1"){ ?>
				<li>
					<a matchUrl="/admin/operateManage" href="/admin/operateManage/adminUserList.php">운영 관리</a>
				</li>
				<?} else { ?>
				<li>
					<a matchUrl="/admin/operateManage" href="/admin/operateManage/shopList.php">운영 관리</a>
				</li>
				<?} ?>
				<?if($loginInfo["admin_type"] == "1"){ ?>
				<li>
					<a matchUrl="/admin/rentManage" href="/admin/rentManage/buildingList.php">임대관리</a>
				</li>
				
				<li>
					<a matchUrl="/admin/statsManage" href="/admin/statsManage/userPointStatsView.php">통계 관리</a>
				</li>
				<?} ?>
				<?if($loginInfo["admin_type"] == "2"){ ?>
				<li>
					<a matchUrl="/admin/statsManage" href="/admin/statsManage/groupPointStatsView.php">통계 관리</a>
				</li>
				<?} ?>
				<?if($loginInfo["admin_type"] == "3"){ ?>
				<li>
					<a matchUrl="/admin/statsManage" href="/admin/statsManage/shopPointStatsView.php">통계 관리</a>
				</li>
				<?} ?>
				<?if($loginInfo["admin_type"] == "1"){ ?>
				<li>
					<a matchUrl="/admin/pushManage" href="/admin/pushManage/pushView.php">푸시 관리</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">