vb_book/app/Views/payment_failure.php
2024-11-08 12:12:22 +05:30

86 lines
2.2 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Failure</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
text-align: center;
background-color: #fff;
padding: 20px 40px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container h1 {
color: #d9534f;
}
.container p {
color: #777;
margin: 20px 0;
}
.container .icon {
font-size: 50px;
color: #d9534f;
margin-bottom: 20px;
}
.container .btn {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
border-radius: 5px;
color: #fff;
background-color: #d9534f;
text-decoration: none;
transition: background-color 0.3s;
}
.container .btn:hover {
background-color: #c9302c;
}
.container .btn-secondary {
background-color: #5bc0de;
}
.container .btn-secondary:hover {
background-color: #31b0d5;
}
</style>
</head>
<body>
<div class="container">
<div class="icon"> <!-- Red Cross Mark -->
<h4> Payment Failed</h4></div>
<p>Unfortunately, your payment could not be processed at this time. Please try again later.</p>
<p>If the problem persists, contact customer support for assistance.</p>
<a class="btn btn-info" href="<?=base_url('/subscription_renewal')?>">Click here to try again</a>
<br>
</div>
</body>
<script>
window.location.hash = "no-back-button";
window.location.hash = "Again-No-back-button";
window.onhashchange = function(){
window.location.hash = "no-back-button";
}
</script>
</html>