-
Notifications
You must be signed in to change notification settings - Fork 10
/
landing.php
62 lines (59 loc) · 1.29 KB
/
landing.php
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
<?php
include "etc/includes.php";
if (!$stakedDomains) {
header("Location: /login");
die();
}
if (@$tld) {
$tldInfo = getStakedTLD($tld);
if ($tldInfo) {
$tld = $tldInfo["tld"];
}
else {
unset($tld);
}
}
?>
<!DOCTYPE html>
<html data-theme="<?php echo @$userInfo["theme"]; ?>">
<head>
<?php
include "etc/head.php";
?>
</head>
<body>
<div id="blackout" class="flex"></div>
<div id="popovers">
<?php
$popoverDirectory = "content/popovers/";
$popovers = getFiles($popoverDirectory);
foreach ($popovers as $popover) {
include $popoverDirectory.$popover;
}
?>
</div>
<div class="header">
<div class="section left">
<div class="logo">
<a href="/">
<span><?php echo $GLOBALS["siteName"]; ?></span>
</a>
</div>
</div>
<div class="section right">
<div></div>
<div class="submit item" data-action="dashboard">Dashboard</div>
</div>
</div>
<div class="main" data-user="<?php echo @$userInfo["uuid"]; ?>" data-page="<?php echo $page; ?>" data-tld="<?php echo @$tld; ?>">
<div class="body">
<div class="holder">
<?php
include "content/domains.php";
?>
</div>
<div class="footer">© <?php echo date("Y"); ?> <a href="https://eskimo.software" target="_blank">Eskimo Software</a></div>
</div>
</div>
</body>
</html>