36716-vm/payment-cancel.php
2025-12-07 05:00:42 +00:00

27 lines
860 B
PHP

<?php
session_start();
// Clear the pending booking from the session if it exists
if (isset($_SESSION['pending_booking'])) {
unset($_SESSION['pending_booking']);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Cancelled</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container mt-5">
<div class="alert alert-warning" role="alert">
<h4 class="alert-heading">Payment Cancelled</h4>
<p>Your payment was cancelled. You can try booking again from the coach's profile.</p>
<hr>
<a href="dashboard.php" class="btn btn-primary">Go to Dashboard</a>
</div>
</div>
</body>
</html>