27 lines
860 B
PHP
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>
|