-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
55 lines (50 loc) · 1.36 KB
/
Copy pathfunctions.php
File metadata and controls
55 lines (50 loc) · 1.36 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
<?php
/**
* this File is part of xTLS - (c) 20225 xTLS
*
* NOTICE OF LICENSE
*
* EUROPEAN UNION PUBLIC LICENCE v. 1.2
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://eupl.eu/
*
*
* @author Micro
* @copyright 2025 xTLS
* @link
* @see Internal Documentation ~/doc/
* @version 1.0.0
* @todo
*/
function HTML_HEAD($bgcolor){
echo '<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>xvpn CA Dashboard</title>
<link rel="stylesheet" href="/css/bootstrap/css/bootstrap.min.css">
<script src="/css/jquery/jquery-3.7.1.min.js"></script>
<script src="/css/bootstrap/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="/css/main.css">
</head>
<body class="' . $bgcolor . ' d-flex h-100 ' . $bgcolor . ' text-dark">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<!-- /html_head -->
';
}
function HTML_FOOT(){
echo '
<!-- html_foot -->
<footer class="mt-auto text-center py-3">
<p class="mb-0">
<a href="http://info.home" class="text-decoration-none">xVPN TLS</a> © 2025 by Micro.
</p>
</footer>
</div>
</body>
</html>
<!-- /html_foot -->
';
}