-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·80 lines (72 loc) · 2.59 KB
/
header.php
File metadata and controls
executable file
·80 lines (72 loc) · 2.59 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
<!DOCTYPE html>
<html lang="<?=LANGUAGE?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?=NAME?> - <?=SLOGAN?></title>
<link href="<?=BASE_URL?>/assets/css/root.css" rel="stylesheet">
<link href="<?=BASE_URL?>/custom/custom.css" rel="stylesheet">
<link rel="icon" type="image/png" href="<?=FAVICON?>" />
<style>
#top {
background: <?=COLOR?>;
}
</style>
</head>
<body>
<!-- Start Page Loading -->
<div class="loading"><img src="<?=BASE_URL?>/img/loading.gif" alt="loading-img"></div>
<!-- End Page Loading -->
<div id="top" class="clearfix">
<div class="applogo">
<a href="<?=BASE_URL?>" class="logo">
<?php
if (HEADER_LOGO == 0) {
echo NAME;
}else {
echo "<img src='".LOGO."' alt='".NAME."' style='width: 59px;margin-top: -19px;'>";
}
?>
</a>
</div>
<!-- Start Sidebar Show Hide Button -->
<a href="#" class="sidebar-open-button"><i class="fa fa-bars"></i></a>
<a href="#" class="sidebar-open-button-mobile"><i class="fa fa-bars"></i></a>
<!-- End Sidebar Show Hide Button -->
<?php
if (file_exists("modules/general/topmenu.php")) {
include_once("modules/general/topmenu.php");
}
else{
?>
<ul class="top-right">
<?php
if (in_array("Admin", $modulesthislevel)) {
?>
<li class="link">
<a href="<?=BASE_URL?>/m/general/configuration" class="notifications"><i class="fa fa-cog"></i></a>
</li>
<li class="link">
<a href="<?=BASE_URL?>/m/general/db-backups" class="notifications"><i class="fa fa-database"></i></a>
</li>
<li class="link">
<a href="<?=BASE_URL?>/m/general/api" class="notifications"><i class="fa fa-code-fork"></i></a>
</li>
<?php
}
?>
<li class="dropdown link">
<a href="#" data-toggle="dropdown" class="dropdown-toggle profilebox"><img src="<?=$avatar?>" alt="img"><b><?=$user->name?></b><span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-list dropdown-menu-right">
<li role="presentation" class="dropdown-header"><?=$lan["profile"]?></li>
<li><a href="<?=BASE_URL?>/m/general/my-account"><i class="fa falist fa-square"></i><?=$lan["my_account"]?></a></li>
<li class="divider"></li>
<li><a href="<?=BASE_URL?>/logout"><i class="fa falist fa-power-off"></i><?=$lan["logout"]?></a></li>
</ul>
</li>
</ul>
<?php
}
?>
</div>