-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.php
67 lines (56 loc) · 3.55 KB
/
setup.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
63
64
65
66
67
<?php
//? |-----------------------------------------------------------------------------------------------|
//? | setup.php |
//? | |
//? | Copyright (c) 2018-2021 Belikhun. All right reserved |
//? | Licensed under the MIT License. See LICENSE in the project root for license information. |
//? |-----------------------------------------------------------------------------------------------|
// SET PAGE TYPE
define("PAGE_TYPE", "NORMAL");
require_once $_SERVER["DOCUMENT_ROOT"] ."/libs/belibrary.php";
require_once $_SERVER["DOCUMENT_ROOT"] ."/data/info.php";
header("Cache-Control: max-age=0, must-revalidate", true);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Setup</title>
<!-- Load Library First -->
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/default.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/progressBar.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/button.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/input.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/textView.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/table.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/switch.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/slider.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/spinner.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/scrollbar.css?v=<?php print VERSION; ?>" />
<!-- Page Style -->
<link rel="stylesheet" type="text/css" media="screen" href="/static/css/setup.css?v=<?php print VERSION; ?>" />
<!-- Fonts -->
<link rel="stylesheet" type="text/css" media="screen" href="/assets/fonts/calibri/calibri.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/fonts/opensans/opensans.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/fonts/nunito/nunito.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/fonts/consolas/consolas.css?v=<?php print VERSION; ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/fonts/fontawesome/fontawesome.css?v=<?php print VERSION; ?>" />
</head>
<body>
<script src="/assets/js/belibrary.js?v=<?php print VERSION; ?>" type="text/javascript"></script>
<div class="mainContainer">
<span id="loadingScreen">
<div class="simpleSpinner"></div>
</span>
<div id="header">
<t class="title">Trình Thiết Lập</t>
</div>
<div id="screens"></div>
</div>
<script type="text/javascript">
const VALID_SETUP = `<?php print boolval(isset($_SESSION["setup"]) && $_SESSION["setup"] === true); ?>` === "1";
</script>
<script src="/static/js/setup.js?v=<?php print VERSION; ?>" type="text/javascript"></script>
</body>
</html>