45 lines
1.3 KiB
PHP
45 lines
1.3 KiB
PHP
<?php
|
||
$pageKey = 'fakecheck';
|
||
|
||
/*
|
||
* USBCheck Fake USB Check - Landingpage
|
||
* --------------------------------------*/
|
||
require_once $_SERVER['DOCUMENT_ROOT']. '/../config/fileload.php';
|
||
|
||
|
||
// public/fakecheck/index.php
|
||
|
||
|
||
// 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 = $GLOBALS['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'); ?>
|