35 lines
1018 B
PHP
35 lines
1018 B
PHP
<?php
|
|
// File: unsubscribe_failed.php
|
|
// Version: 1.0
|
|
// Purpose: Displays error message if an unsubscribe request fails or is invalid.
|
|
|
|
use WizdomNetworks\WizeWeb\Core\View;
|
|
|
|
ob_start();
|
|
?>
|
|
|
|
<section class="verify-section section pt-5" style="padding-top: 7rem;">
|
|
<div class="container text-center">
|
|
<div class="icon mb-4" style="padding-top: 3rem;">
|
|
<i class="bi bi-x-circle text-danger" style="font-size: 4rem;"></i>
|
|
</div>
|
|
<h2 class="mb-3">Unsubscribe Failed</h2>
|
|
<p class="lead">
|
|
<?= htmlspecialchars($reason ?? 'We were unable to process your unsubscribe request.') ?>
|
|
</p>
|
|
|
|
<div class="my-4">
|
|
<img src="/assets/img/newsletter-thanks.webp" alt="Error" class="img-fluid rounded shadow" style="max-width: 400px;">
|
|
</div>
|
|
|
|
<div class="mt-4 text-center">
|
|
<a href="/" class="btn btn-outline-primary">Return to Home</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<?php
|
|
$html = ob_get_clean();
|
|
View::render('layouts/arsha', ['content' => $html, 'hideNavbar' => true]);
|
|
?>
|