299 lines
15 KiB
PHP
299 lines
15 KiB
PHP
<?php
|
|
/* @var string $action */
|
|
/* @var string $content */
|
|
/* @var array $config */
|
|
/* @var Session $session */
|
|
|
|
$titles = [
|
|
'main' => 'Dialysezentrum Berlin-Mahlsdorf | Praxis für Nephrologie & Dialyse',
|
|
'leistungen' => 'Leistungen & Schwerpunkte | Dialysezentrum Berlin-Mahlsdorf',
|
|
'praxis' => 'Praxisausstattung & Öffnungszeiten | Dialysezentrum Berlin-Mahlsdorf',
|
|
'team' => 'Unser Ärzteteam & Mitarbeiter | Dialysezentrum Berlin-Mahlsdorf',
|
|
'kontakt' => 'Kontakt & Anfahrt | Dialysezentrum Berlin-Mahlsdorf',
|
|
'kontakt-formular' => 'Kontaktanfrage | Dialysezentrum Berlin-Mahlsdorf',
|
|
'impressum' => 'Impressum | Dialysezentrum Berlin-Mahlsdorf',
|
|
'datenschutz' => 'Datenschutzerklärung | Dialysezentrum Berlin-Mahlsdorf',
|
|
];
|
|
$pageTitle = isset($titles[$action]) ? $titles[$action] : 'Dialysezentrum Berlin-Mahlsdorf';
|
|
$currentAction = isset($action) ? $action : 'main';
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?=htmlspecialchars($pageTitle)?></title>
|
|
|
|
<meta name="language" content="de">
|
|
<meta name="description" content="Dialysezentrum Berlin-Mahlsdorf: Ganzjährige Feriendialysen und individuelle Betreuung im modernen Zentrum für Innere Medizin und Dialyse.">
|
|
<meta name="robots" content="index, follow">
|
|
|
|
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
|
<link rel="icon" href="/img/favicon.png" type="image/png">
|
|
|
|
<!-- Modern Stylesheets -->
|
|
<link href="/css/frontend.css" rel="stylesheet" media="screen">
|
|
<link href="/css/lightbox.min.css" rel="stylesheet" media="screen">
|
|
|
|
<!-- Modern Libraries (Updated) -->
|
|
<script src="/js/jquery-3.7.1.min.js" type="text/javascript"></script>
|
|
<script src="/js/lightbox.min.js" type="text/javascript"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="outer-container">
|
|
|
|
<!-- Top Info Bar -->
|
|
<div class="top-bar">
|
|
<div class="container top-bar-inner">
|
|
<div class="top-bar-left">
|
|
<span class="top-bar-item">
|
|
<svg class="top-bar-icon" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
|
|
Thorner Str. 1, 12623 Berlin-Mahlsdorf
|
|
</span>
|
|
<span class="top-bar-item">
|
|
<svg class="top-bar-icon" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
|
|
Satellit: Blumberger Damm 130, 12685 Berlin
|
|
</span>
|
|
</div>
|
|
<div class="top-bar-right">
|
|
<a href="tel:0305662484" title="Telefon Dialyse">
|
|
<svg class="top-bar-icon" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
|
|
Dialyse: 030 / 566 24 84
|
|
</a>
|
|
<a href="tel:0305662539" title="Telefon Ambulanz">
|
|
<svg class="top-bar-icon" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
|
|
Ambulanz: 030 / 566 25 39
|
|
</a>
|
|
<span class="top-bar-item" title="Telefax">
|
|
<svg class="top-bar-icon" viewBox="0 0 24 24"><path d="M19 8h-1V3H6v5H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zM8 5h8v3H8V5zm8 14H8v-4h8v4zm2-6a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>
|
|
Fax: 030 / 566 25 30
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Main Navigation Header -->
|
|
<header class="site-header">
|
|
<div class="container header-inner">
|
|
<a href="/" class="site-logo">
|
|
<div class="logo-badge" aria-hidden="true">
|
|
<!-- Medical Cross / Stethoscope SVG -->
|
|
<svg viewBox="0 0 24 24"><path d="M19 10.5V6a2 2 0 0 0-2-2h-3V1.5a1.5 1.5 0 0 0-3 0V4H8a2 2 0 0 0-2 2v4.5C6 14.1 8.9 17 12.5 17h.5c3.6 0 6.5-2.9 6.5-6.5zm-5 6.45V19a3 3 0 0 1-6 0v-2.05A8.5 8.5 0 0 1 4 10.5V6h3v4.5a5.5 5.5 0 0 0 11 0V6h3v4.5a8.5 8.5 0 0 1-7 8.45zM12 21a1 1 0 0 0 1-1v-1h-2v1a1 1 0 0 0 1 1z"/></svg>
|
|
</div>
|
|
<div class="logo-text">
|
|
<div class="logo-title">DIALYSEZENTRUM <span>Berlin-Mahlsdorf</span></div>
|
|
<div class="logo-sub">Zentrum für Innere Medizin & Dialyse</div>
|
|
</div>
|
|
</a>
|
|
|
|
<!-- Navigation Menu -->
|
|
<nav id="siteNav">
|
|
<?php include('view/navigation.php'); ?>
|
|
</nav>
|
|
|
|
<!-- Actions & Mobile Toggle -->
|
|
<div class="header-actions">
|
|
<a href="/kontakt.html" class="header-cta-btn">
|
|
<svg viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>
|
|
<span>Kontakt / Termin</span>
|
|
</a>
|
|
<button class="nav-toggle" id="navToggle" aria-label="Menü öffnen" aria-expanded="false">
|
|
<svg viewBox="0 0 24 24" id="toggleIcon"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Holiday / Announcement Dialog (if configured) -->
|
|
<?php if(Helper::isHoliday($config) && $session->get('dialog') != 'dismissed'): ?>
|
|
<div id="holiday-wrapper" class="holiday-notice-banner">
|
|
<div class="container holiday-notice-inner">
|
|
<div class="holiday-notice-content">
|
|
<svg viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>
|
|
<div><?=Helper::parseHolidays($config)?></div>
|
|
</div>
|
|
<button type="button" class="holiday-dismiss-btn" data-dismiss="dialog">
|
|
<span>✕ Schließen</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<!-- Hero / Motto Banner on Homepage -->
|
|
<?php if($currentAction === 'main'): ?>
|
|
<section class="hero-banner">
|
|
<div class="container">
|
|
<div class="hero-content">
|
|
<div class="hero-badge">
|
|
<span>✔</span> „Die individuelle Dialyse im grünen Gürtel von Berlin“
|
|
</div>
|
|
<h1 class="hero-title">Dialysezentrum Berlin-Mahlsdorf</h1>
|
|
<div class="hero-subtitle">
|
|
Dr. med. B. Bischoff • Dr. med. J. Hoffzimmer
|
|
</div>
|
|
<div class="hero-doctors">
|
|
Fachärztinnen für Innere Medizin und Nephrologie
|
|
</div>
|
|
<div class="hero-actions">
|
|
<a href="/leistungen.html" class="btn btn-primary">Unsere Leistungen</a>
|
|
<a href="/praxis.html" class="btn btn-secondary">Praxis & Öffnungszeiten</a>
|
|
<a href="/kontakt.html" class="btn btn-outline">Kontakt aufnehmen</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hero-wave">
|
|
<svg viewBox="0 0 1000 100" preserveAspectRatio="none">
|
|
<path class="shape-fill" d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7 c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V100H0V30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4 c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path>
|
|
</svg>
|
|
</div>
|
|
</section>
|
|
<?php else: ?>
|
|
<div class="page-banner">
|
|
<div class="container page-banner-inner">
|
|
<div>
|
|
<div class="breadcrumb">
|
|
<a href="/">Startseite</a> ›
|
|
<span><?=htmlspecialchars(explode('|', $pageTitle)[0])?></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<!-- Main Content Area -->
|
|
<main class="site-main">
|
|
<div class="container">
|
|
<div class="content-card">
|
|
<?=$content?>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Modern Multi-Column Footer -->
|
|
<footer class="site-footer">
|
|
<div class="container footer-grid">
|
|
<!-- Col 1: About Praxis -->
|
|
<div>
|
|
<div class="footer-col-title">Dialysezentrum Berlin-Mahlsdorf</div>
|
|
<p class="footer-desc">
|
|
Zentrum für Innere Medizin und Dialyse.<br>
|
|
Dr. med. B. Bischoff und Dr. med. J. Hoffzimmer.<br>
|
|
Individuelle nephrologische Betreuung und ganzjährige Feriendialysen mit modernster Medizintechnik.
|
|
</p>
|
|
<div class="footer-contact-item">
|
|
<svg viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
|
|
<span><strong>Zentrumsdialyse:</strong> Thorner Straße 1, 12623 Berlin</span>
|
|
</div>
|
|
<div class="footer-contact-item">
|
|
<svg viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
|
|
<span><strong>Satellitendialyse:</strong> Blumberger Damm 130, 12685 Berlin</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Col 2: Navigation Links -->
|
|
<div>
|
|
<div class="footer-col-title">Navigation</div>
|
|
<ul class="footer-links">
|
|
<li><a href="/">› Startseite</a></li>
|
|
<li><a href="/leistungen.html">› Leistungen</a></li>
|
|
<li><a href="/praxis.html">› Praxisausstattung</a></li>
|
|
<li><a href="/team.html">› Unser Team</a></li>
|
|
<li><a href="/kontakt.html">› Kontakt & Anfahrt</a></li>
|
|
<li><a href="/kontakt-formular.html">› Kontaktformular</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- Col 3: Contact & Opening info -->
|
|
<div>
|
|
<div class="footer-col-title">Kontakt & Erreichbarkeit</div>
|
|
<div class="footer-contact-item">
|
|
<svg viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
|
|
<span>Dialyse: <strong>030 / 566 24 84</strong></span>
|
|
</div>
|
|
<div class="footer-contact-item">
|
|
<svg viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
|
|
<span>Ambulanz: <strong>030 / 566 25 39</strong></span>
|
|
</div>
|
|
<div class="footer-contact-item">
|
|
<svg viewBox="0 0 24 24"><path d="M19 8h-1V3H6v5H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zM8 5h8v3H8V5zm8 14H8v-4h8v4zm2-6a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>
|
|
<span>Telefax: <strong>030 / 566 25 30</strong></span>
|
|
</div>
|
|
<div class="footer-contact-item">
|
|
<svg viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/></svg>
|
|
<span><a href="/files/dialyse_flyer.pdf" target="_blank" style="color: #38bdf8; font-weight:600;">» Praxis-Flyer herunterladen (PDF)</a></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Footer Bottom Bar -->
|
|
<div class="container footer-bottom">
|
|
<div>
|
|
© <?=date('Y')?> Dialysezentrum Berlin-Mahlsdorf • Alle Rechte vorbehalten.
|
|
</div>
|
|
<div>
|
|
<a href="/impressum.html">Impressum</a>
|
|
<a href="/datenschutz.html">Datenschutz</a>
|
|
<a href="/kontakt.html">Kontakt</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<!-- Interactive Scripts -->
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
// Mobile Navigation Toggle
|
|
var $navToggle = $('#navToggle');
|
|
var $navMenu = $('#navMenu');
|
|
|
|
$navToggle.on('click', function(e) {
|
|
e.stopPropagation();
|
|
var isOpen = $navMenu.hasClass('is-open');
|
|
$navMenu.toggleClass('is-open');
|
|
$navToggle.attr('aria-expanded', !isOpen);
|
|
|
|
// Toggle hamburger icon to X
|
|
if(!isOpen) {
|
|
$('#toggleIcon').html('<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>');
|
|
} else {
|
|
$('#toggleIcon').html('<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>');
|
|
}
|
|
});
|
|
|
|
// Close menu on click outside
|
|
$(document).on('click', function(e) {
|
|
if (!$(e.target).closest('#siteNav, #navToggle').length) {
|
|
if ($navMenu.hasClass('is-open')) {
|
|
$navMenu.removeClass('is-open');
|
|
$navToggle.attr('aria-expanded', 'false');
|
|
$('#toggleIcon').html('<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>');
|
|
}
|
|
}
|
|
});
|
|
|
|
// Close on ESC
|
|
$(document).on('keydown', function(e) {
|
|
if (e.key === 'Escape' && $navMenu.hasClass('is-open')) {
|
|
$navMenu.removeClass('is-open');
|
|
$navToggle.attr('aria-expanded', 'false');
|
|
$('#toggleIcon').html('<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>');
|
|
}
|
|
});
|
|
|
|
// Holiday Notice Dismissal
|
|
$('[data-dismiss="dialog"]').on('click', function(e) {
|
|
e.preventDefault();
|
|
$.ajax({
|
|
url: '/api.php?action=dialog',
|
|
type: 'get',
|
|
success: function(response) {
|
|
$('#holiday-wrapper').slideUp(250);
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|