header.php
3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<? 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">