mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 05:08:43 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -27,13 +27,11 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
]);
|
||||
?>
|
||||
<h1 class="product-hero-title">
|
||||
Virtual Private Container
|
||||
<span class="highlight">auf Proxmox LXC</span>
|
||||
<?php echo htmlspecialchars($product['name']); ?>
|
||||
<span class="highlight"><?php echo htmlspecialchars($product['hero_highlight'] ?? ''); ?></span>
|
||||
</h1>
|
||||
<p class="product-hero-description">
|
||||
Erleben Sie die Effizienz von Linux-Containern mit der Zuverlässigkeit
|
||||
von Proxmox. Unsere VPC-Lösungen bieten optimale Performance bei
|
||||
minimalem Ressourcenverbrauch.
|
||||
<?php echo htmlspecialchars($product['hero_description'] ?? $product['description']); ?>
|
||||
</p>
|
||||
<div class="product-hero-features">
|
||||
<div class="hero-feature">
|
||||
@@ -64,9 +62,9 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="packages">
|
||||
<div class="container">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">VPC 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 perfekte Container-Paket für Ihre Anforderungen
|
||||
<?php echo htmlspecialchars($product['packages_description'] ?? 'Wählen Sie das passende Paket für Ihre Anforderungen'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="packages-grid">
|
||||
@@ -165,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 Ihren VPC?</h2>
|
||||
<p>Starten Sie noch heute mit einem Virtual Private Container</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=vpc" class="btn btn-primary">Jetzt bestellen</a>
|
||||
<a href="/contact" class="btn btn-secondary">Beratung anfordern</a>
|
||||
|
||||
@@ -27,12 +27,11 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
]);
|
||||
?>
|
||||
<h1 class="product-hero-title">
|
||||
Virtual Private Server
|
||||
<span class="highlight">auf Proxmox KVM</span>
|
||||
<?php echo htmlspecialchars($product['name']); ?>
|
||||
<span class="highlight"><?php echo htmlspecialchars($product['hero_highlight'] ?? ''); ?></span>
|
||||
</h1>
|
||||
<p class="product-hero-description">
|
||||
Maximale Flexibilität und Kontrolle mit vollwertiger KVM-Virtualisierung.
|
||||
Installieren Sie jedes Betriebssystem und genießen Sie vollständigen Root-Zugriff.
|
||||
<?php echo htmlspecialchars($product['hero_description'] ?? $product['description']); ?>
|
||||
</p>
|
||||
<div class="product-hero-features">
|
||||
<div class="hero-feature">
|
||||
@@ -68,9 +67,9 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="packages">
|
||||
<div class="container">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">VPS 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 perfekte VPS-Paket für Ihre Anforderungen
|
||||
<?php echo htmlspecialchars($product['packages_description'] ?? 'Wählen Sie das passende Paket für Ihre Anforderungen'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="packages-grid">
|
||||
@@ -169,8 +168,8 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="cta">
|
||||
<div class="container">
|
||||
<div class="cta-content glass-card">
|
||||
<h2>Bereit für Ihren VPS?</h2>
|
||||
<p>Starten Sie noch heute mit einem Virtual Private Server</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=vps" class="btn btn-primary">Jetzt bestellen</a>
|
||||
<a href="/contact" class="btn btn-secondary">Beratung anfordern</a>
|
||||
|
||||
@@ -27,12 +27,11 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
]);
|
||||
?>
|
||||
<h1 class="product-hero-title">
|
||||
Webhosting
|
||||
<span class="highlight">Alles für Ihre Website</span>
|
||||
<?php echo htmlspecialchars($product['name']); ?>
|
||||
<span class="highlight"><?php echo htmlspecialchars($product['hero_highlight'] ?? ''); ?></span>
|
||||
</h1>
|
||||
<p class="product-hero-description">
|
||||
Klassisches Webhosting mit allem, was Sie für eine erfolgreiche Website benötigen.
|
||||
PHP, MySQL, SSL-Zertifikate und E-Mail-Postfächer - alles inklusive.
|
||||
<?php echo htmlspecialchars($product['hero_description'] ?? $product['description']); ?>
|
||||
</p>
|
||||
<div class="product-hero-features">
|
||||
<div class="hero-feature">
|
||||
@@ -65,9 +64,9 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="packages">
|
||||
<div class="container">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Webhosting Pakete</h2>
|
||||
<h2 class="section-title"><?php echo htmlspecialchars($product['packages_title'] ?? ($product['short_name'] . ' Pakete')); ?></h2>
|
||||
<p class="section-description">
|
||||
Von der ersten Website bis zum professionellen Online-Shop
|
||||
<?php echo htmlspecialchars($product['packages_description'] ?? 'Wählen Sie das passende Paket für Ihre Anforderungen'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="packages-grid">
|
||||
@@ -168,8 +167,8 @@ includeHeader($page_title, $page_description, $current_page);
|
||||
<section class="cta">
|
||||
<div class="container">
|
||||
<div class="cta-content glass-card">
|
||||
<h2>Bereit für Ihr Webhosting?</h2>
|
||||
<p>Starten Sie noch heute mit professionellem Webhosting</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=webhosting" class="btn btn-primary">Jetzt bestellen</a>
|
||||
<a href="/contact" class="btn btn-secondary">Beratung anfordern</a>
|
||||
|
||||
Reference in New Issue
Block a user