Files
usbcheck.it/public/landingpage/fakecheck/index.php
2025-11-25 22:43:43 +01:00

44 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
$pageKey = 'fakecheck';
require_once __DIR__ . '/../../../config/fileload.php';
// public/fakecheck/index.php
// Sprachlogik wie auf der Startseite
$lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
// User-Dummy (später über Login ersetzen)
$userInitials = null;
// Seitentitel & Description (SEO)
$pageTitle = app_primary_domain() . ' Fake USB Check';
$pageDescription = 'Fake USB-Sticks erkennen: Browser-basierter Schnelltest für Kapazität, Schreib-/Lesegeschwindigkeit und Datenintegrität ohne Installation.';
// Header-Navigation: auf dieser Seite KEINE Onepager-Anchors anzeigen
$navAnchors = [];
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http';
$host = $_SERVER['HTTP_HOST'] ?? app_primary_domain();
$baseUrl = $scheme . '://' . $host;
$lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
// Basis-URL für Reports
$baseUrl = app_primary_url();
if (function_exists('tpl_add_script')) {
tpl_add_script('/assets/js/fakecheck.js', 'footer', true, false, '', null);
}
if (function_exists('tpl_add_style')) {
tpl_add_style('/assets/css/fakecheck.css', 'header');
}
?>
<?php tpl('layout_start', 'structure'); ?>
<?php tpl('hero', 'landing', 'fakecheck'); ?>
<?php tpl('webcheck', 'landing', 'fakecheck'); ?>
<?php tpl('layout_end', 'structure'); ?>