Refactor product pages to utilize dynamic content: Updated mail-gateway.php, vpc.php, vps.php, and webhosting.php to replace static text with dynamic PHP variables for product names, descriptions, and call-to-action elements. This change enhances maintainability and allows for easier updates to product information.

This commit is contained in:
𝓜𝓪𝓬𝓮™
2026-04-02 12:01:30 +02:00
parent 20ee9c2513
commit cc804c01de
4 changed files with 28 additions and 33 deletions

View File

@@ -27,12 +27,11 @@ includeHeader($page_title, $page_description, $current_page);
]);
?>
<h1 class="product-hero-title">
Mail Gateway
<span class="highlight">für Unternehmen</span>
<?php echo htmlspecialchars($product['name']); ?>
<span class="highlight"><?php echo htmlspecialchars($product['hero_highlight'] ?? ''); ?></span>
</h1>
<p class="product-hero-description">
Professionelle E-Mail-Infrastruktur mit maximalem Schutz vor Spam und Malware.
Sichern Sie Ihre geschäftliche Kommunikation mit unseren Mail Gateway Lösungen.
<?php echo htmlspecialchars($product['hero_description'] ?? $product['description']); ?>
</p>
<div class="product-hero-features">
<div class="hero-feature">
@@ -64,9 +63,9 @@ includeHeader($page_title, $page_description, $current_page);
<section class="packages">
<div class="container">
<div class="section-header">
<h2 class="section-title">Mail Gateway Pakete</h2>
<h2 class="section-title"><?php echo htmlspecialchars($product['packages_title'] ?? ($product['short_name'] . ' Pakete')); ?></h2>
<p class="section-description">
Wählen Sie das passende Mail Gateway Paket für Ihr Unternehmen
<?php echo htmlspecialchars($product['packages_description'] ?? 'Wählen Sie das passende Paket für Ihre Anforderungen'); ?>
</p>
</div>
<div class="packages-grid">
@@ -164,8 +163,8 @@ includeHeader($page_title, $page_description, $current_page);
<section class="cta">
<div class="container">
<div class="cta-content glass-card">
<h2>Bereit für professionelle E-Mail-Kommunikation?</h2>
<p>Starten Sie noch heute mit unserem Mail Gateway</p>
<h2><?php echo htmlspecialchars($product['cta_title'] ?? ('Bereit für ' . $product['name'] . '?')); ?></h2>
<p><?php echo htmlspecialchars($product['cta_description'] ?? ('Starten Sie noch heute mit ' . $product['name'])); ?></p>
<div class="cta-actions">
<a href="contact.php?product=mail-gateway" class="btn btn-primary">Jetzt bestellen</a>
<a href="/contact" class="btn btn-secondary">Beratung anfordern</a>