2026-03-23 16:26:45 +01:00
|
|
|
<?php
|
|
|
|
|
require __DIR__ . '/helpers.php';
|
|
|
|
|
|
2026-05-21 11:52:40 +02:00
|
|
|
$lang = strtolower((string)(filter_input(INPUT_GET, 'lang', FILTER_SANITIZE_FULL_SPECIAL_CHARS) ?: 'en')) === 'de' ? 'de' : 'en';
|
2026-03-23 16:26:45 +01:00
|
|
|
$settings = load_site_settings();
|
2026-05-21 11:52:40 +02:00
|
|
|
$imprint = $settings['imprint'][$lang] ?? ($settings['imprint']['en'] ?? []);
|
2026-03-23 16:26:45 +01:00
|
|
|
|
|
|
|
|
$langSwitchLabel = $lang === 'de' ? 'DE' : 'EN';
|
2026-05-21 11:52:40 +02:00
|
|
|
$langSwitchHref = lang_url($lang === 'de' ? 'en' : 'de');
|
2026-03-23 16:26:45 +01:00
|
|
|
|
|
|
|
|
$t = [
|
2026-05-21 11:52:40 +02:00
|
|
|
'title' => $lang === 'de' ? 'Impressum' : 'Imprint',
|
|
|
|
|
'owner' => $lang === 'de' ? 'Medieninhaber' : 'Media owner',
|
|
|
|
|
'address' => $lang === 'de' ? 'Adresse' : 'Address',
|
|
|
|
|
'contact' => $lang === 'de' ? 'Kontakt' : 'Contact',
|
|
|
|
|
'legal' => $lang === 'de' ? 'Rechtliches' : 'Legal',
|
|
|
|
|
'purpose' => $lang === 'de' ? 'Unternehmensgegenstand / Blattlinie' : 'Business purpose / editorial line',
|
|
|
|
|
'authority' => $lang === 'de' ? 'Aufsichts-/Gewerbebehörde' : 'Supervisory authority',
|
2026-03-23 16:26:45 +01:00
|
|
|
'membership' => $lang === 'de' ? 'WKO-Mitgliedschaft' : 'Chamber membership',
|
2026-05-21 11:52:40 +02:00
|
|
|
'uid' => $lang === 'de' ? 'UID' : 'VAT ID',
|
|
|
|
|
'odr' => $lang === 'de' ? 'Verbraucherstreitbeilegung / ODR' : 'Consumer dispute resolution / ODR',
|
2026-03-23 16:26:45 +01:00
|
|
|
'last_updated' => $lang === 'de' ? 'Stand' : 'Last updated',
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
function legal_item(string $label, ?string $value): void {
|
|
|
|
|
$value = trim((string) $value);
|
2026-05-21 11:52:40 +02:00
|
|
|
if ($value === '') return;
|
2026-03-23 16:26:45 +01:00
|
|
|
echo '<div class="legal-item"><span class="legal-label">' . e($label) . '</span><span>' . nl2br(e($value)) . '</span></div>';
|
|
|
|
|
}
|
2026-05-21 11:52:40 +02:00
|
|
|
|
|
|
|
|
$pageTitle = e($t['title']) . ' | FlixCooks';
|
|
|
|
|
$description = $lang === 'de'
|
|
|
|
|
? 'Pflichtangaben für diese Website gemäß ECG, MedienG und GewO.'
|
|
|
|
|
: 'Mandatory website information in line with Austrian ECG, Media Act and Trade Regulation.';
|
|
|
|
|
|
|
|
|
|
include __DIR__ . '/partials/head.php';
|
|
|
|
|
include __DIR__ . '/partials/header.php';
|
2026-03-23 16:26:45 +01:00
|
|
|
?>
|
|
|
|
|
<main class="legal-page">
|
|
|
|
|
<h1><?php echo e($t['title']); ?></h1>
|
|
|
|
|
<p><?php echo $lang === 'de'
|
|
|
|
|
? 'Pflichtangaben für diese Website gemäß ECG, MedienG und GewO.'
|
|
|
|
|
: 'Mandatory website information in line with Austrian ECG, Media Act and Trade Regulation.'; ?></p>
|
|
|
|
|
|
|
|
|
|
<div class="legal-card legal-section">
|
|
|
|
|
<h2><?php echo e($t['owner']); ?></h2>
|
|
|
|
|
<?php
|
2026-05-21 11:52:40 +02:00
|
|
|
legal_item($t['owner'], $imprint['owner_name'] ?? '');
|
2026-03-23 16:26:45 +01:00
|
|
|
legal_item($t['address'], $imprint['address'] ?? '');
|
|
|
|
|
legal_item($t['contact'], ($imprint['email'] ?? '') . ($imprint['phone'] ? ' | ' . $imprint['phone'] : ''));
|
2026-05-21 11:52:40 +02:00
|
|
|
legal_item($t['legal'], $imprint['legal_form'] ?? '');
|
2026-03-23 16:26:45 +01:00
|
|
|
legal_item($t['purpose'], $imprint['business_purpose'] ?? '');
|
|
|
|
|
legal_item($t['membership'], $imprint['wko_membership'] ?? '');
|
2026-05-21 11:52:40 +02:00
|
|
|
legal_item($t['authority'], $imprint['authority'] ?? '');
|
|
|
|
|
legal_item($t['uid'], $imprint['uid'] ?? '');
|
2026-03-23 16:26:45 +01:00
|
|
|
if (!empty($imprint['odr'])) {
|
2026-03-23 16:34:39 +01:00
|
|
|
$odrText = $lang === 'de'
|
|
|
|
|
? 'Die EU-ODR-Plattform wurde am 20. Juli 2025 eingestellt. Informationen zur Verbraucherstreitbeilegung finden Sie hier:'
|
|
|
|
|
: 'The EU ODR platform was discontinued on 20 July 2025. Consumer dispute resolution information:';
|
2026-05-21 11:52:40 +02:00
|
|
|
echo '<div class="legal-item"><span class="legal-label">' . e($t['odr']) . '</span><span>' . e($odrText) . ' <a href="' . e($imprint['odr']) . '" target="_blank" rel="noopener" class="underline-link">consumer-redress.ec.europa.eu</a></span></div>';
|
2026-03-23 16:26:45 +01:00
|
|
|
}
|
|
|
|
|
legal_item($t['last_updated'], $imprint['last_updated'] ?? '');
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</main>
|
|
|
|
|
<?php include __DIR__ . '/partials/footer.php'; ?>
|
2026-05-21 11:52:40 +02:00
|
|
|
<script>
|
|
|
|
|
if (typeof Lenis !== 'undefined') {
|
|
|
|
|
var lenis = new Lenis({ duration: 1.2, smooth: true, smoothTouch: false });
|
|
|
|
|
window.lenis = lenis;
|
|
|
|
|
function raf(t) { lenis.raf(t); requestAnimationFrame(raf); }
|
|
|
|
|
requestAnimationFrame(raf);
|
|
|
|
|
}
|
|
|
|
|
</script>
|