Repository navigation
Expand file tree
/
Copy pathimprint.php
More file actions
124 lines (98 loc) · 5.52 KB
/
Copy pathimprint.php
File metadata and controls
124 lines (98 loc) · 5.52 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
/**
* Imprint Page
*
* Provides legal information and contact details in accordance with
* Portuguese law and EU regulations (DSA - Digital Services Act).
*
* PHP version 7.4+
*
* @category LegalPage
* @package WebDevTools
* @license MIT License
*/
declare(strict_types=1);
// Start output buffering for HTML minification
ob_start();
require_once __DIR__ . '/config/config.php';
require_once __DIR__ . '/config/helpers.php';
require_once __DIR__ . '/config/security-headers.php';
$lang = 'en';
$currentTool = 'imprint';
$assetPrefix = BASE_PATH . '/';
$toolBaseUrl = BASE_PATH;
$homeUrl = BASE_PATH;
$pageTitle = 'Imprint – Legal Information Contact Details WebDev-Tools';
$pageDescription = 'Legal information and contact details for WebDev-Tools.';
$i18nData = loadI18n($lang) ?: [];
$manifest = getManifest();
$buildHash = $manifest['generatedAt'] ?? '1.0.0';
$langUrls = getAllLanguageUrls('/imprint.php');
$currentUrl = getFullUrl('/imprint.php', $lang);
?>
<!DOCTYPE html>
<html lang="en" data-bs-theme="auto">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?= htmlspecialchars($pageDescription, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') ?>">
<meta name="robots" content="noindex, follow">
<meta name="googlebot" content="noindex, follow">
<meta name="theme-color" content="#066fd1">
<meta name="color-scheme" content="light dark">
<meta name="author" content="Ramon Kaes">
<link rel="canonical" href="<?= htmlspecialchars($currentUrl, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') ?>">
<!-- Hreflang -->
<link rel="alternate" hreflang="x-default" href="<?= htmlspecialchars($baseUrl . '/imprint.php', ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') ?>">
<?php foreach ($langUrls as $hreflang => $url): ?>
<link rel="alternate" hreflang="<?= $hreflang ?>" href="<?= htmlspecialchars($url, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') ?>">
<?php endforeach; ?>
<!-- Favicon -->
<link rel="icon" type="image/png" href="<?= $assetPrefix ?>assets/img/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="<?= $assetPrefix ?>assets/img/favicon.svg" />
<link rel="shortcut icon" href="<?= $assetPrefix ?>favicon.ico" />
<link rel="icon" type="image/x-icon" href="<?= $assetPrefix ?>favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="<?= $assetPrefix ?>assets/img/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="WebDev-Tools" />
<link rel="manifest" href="<?= BASE_PATH . getLangPrefix($lang) ?>/site.webmanifest" />
<link rel="stylesheet" href="<?= $assetPrefix ?>assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="<?= $assetPrefix ?>assets/bootstrap-icons/bootstrap-icons.min.css">
<link rel="stylesheet" href="<?= assetSrc('css/style.css') ?>">
<script src="<?= $assetPrefix ?>assets/js/theme-init.js"></script>
<title><?= htmlspecialchars($pageTitle, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') ?></title>
</head>
<body class="d-flex flex-column bg-body">
<?php include __DIR__ . '/partials/header-with-sidebar.php'; ?>
<div class="d-flex flex-grow-1 position-relative">
<div class="left-sidebar-spacer"></div>
<main id="main-content" class="flex-grow-1 p-4 p-md-5 bg-body shadow-sm overflow-auto">
<div class="tool-container-inner mx-auto">
<div class="text-center mb-5">
<h1 class="display-5 mb-3">Imprint</h1>
</div>
<div class="card mb-4 shadow-sm">
<div class="card-body p-4">
<p>
<strong>Ramon Kaes</strong><br>
Sitio dos Caliços<br>
8700-069 Moncarapacho<br>
Phone: +351 921 173 235<br>
Email: ramon.kaes@webdev-tools.info
</p>
<h2 class="h5 card-title mb-3 mt-4">Disclaimer – legal information</h2>
<h3 class="h6 mt-4">§ 1 Warning regarding content</h3>
<p>The free and freely accessible content on this website has been compiled with the greatest possible care. However, the provider of this website does not guarantee the accuracy and timeliness of the free and freely accessible journalistic guides and news provided. Contributions marked by name reflect the opinion of the respective author and not always the opinion of the provider. Simply accessing the free and freely accessible content does not constitute any contractual relationship between the user and the provider; in this respect, there is no legally binding intention on the part of the provider.</p>
<h3 class="h6 mt-4">§ 2 External links</h3>
<p>This website contains links to third-party websites ("external links"). These websites are subject to the liability of the respective operators. When the external links were first created, the provider checked the third-party content for any legal violations. At that time, no legal violations were apparent. The provider has no influence on the current and future design and content of the linked pages. The inclusion of external links does not mean that the provider endorses the content behind the reference or link. Constant monitoring of external links is not reasonable for the provider without concrete evidence of legal violations. However, upon becoming aware of legal violations, such external links will be deleted immediately.</p>
</div>
</div>
</div>
</main>
</div>
<?php include __DIR__ . '/partials/footer.php'; ?>
</body>
</html>
<?php
// Output minified HTML
echo minify_html_output(ob_get_clean());
?>