forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.html
More file actions
56 lines (55 loc) · 2.23 KB
/
header.html
File metadata and controls
56 lines (55 loc) · 2.23 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
<title><?php echo $_SERVER['HTTP_HOST']; ?> - <?=_($TAB)?> - <?=_('Hestia Control Panel');?></title>
<link type="text/css" rel="stylesheet" href="/css/styles.min.css?<?=JS_LATEST_UPDATE?>" />
<link type="text/css" rel="stylesheet" href="/css/active-theme.css?<?php echo rand(); ?>" />
<link type="text/css" href="/css/animate.min.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
<link type="text/css" href="/css/jquery-custom-dialogs.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
<link type="text/css" href="/css/all.min.css?<?=JS_LATEST_UPDATE?>" rel="stylesheet" />
<script type="text/javascript" src="/inc/jquery/jquery-3.5.1.min.js"></script>
<script>
//
// GLOBAL SETTINGS
//
var GLOBAL = {};
GLOBAL.FTP_USER_PREFIX = 'admin_';
GLOBAL.DB_USER_PREFIX = 'admin_';
GLOBAL.DB_DBNAME_PREFIX = 'admin_';
GLOBAL.AJAX_URL = '';
if (window.requestIdleCallback) {
requestIdleCallback(function () {
Fingerprint2.get(function (components) {
var values = components.map(function (component) { return component.value })
var murmur = Fingerprint2.x64hash128(values.join(''), 31);
$('#murmur').val(murmur);
})
})
} else {
setTimeout(function () {
Fingerprint2.get(function (components) {
var values = components.map(function (component) { return component.value })
var murmur = Fingerprint2.x64hash128(values.join(''), 31);
$('#murmur').val(murmur);
})
}, 500);
}
</script>
</head>
<body class="body-<?=strtolower($TAB)?> lang-<?=$_SESSION['language']?>">
<?php if (($_SESSION['DEBUG_MODE']) == "true" ) {?>
<div style="font-size:12px !important; padding:8px;">
<?php
echo "<h3>Server Variables</h3>";
foreach ($_SERVER as $key=>$val)
echo "<b>".$key."= </b> ".$val." ";
?>
<?php
echo "<h3>Session Variables</h3>";
foreach ($_SESSION as $key=>$val)
echo "<b>".$key."= </b> ".$val." ";
?>
</div>
<?php } ?>