-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcod_oder_Success.php
More file actions
82 lines (74 loc) · 2.21 KB
/
cod_oder_Success.php
File metadata and controls
82 lines (74 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Success</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<script src="https://unpkg.com/@dotlottie/player-component@2.7.12/dist/dotlottie-player.mjs" type="module"></script>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.popup {
display: none;
background-color: #fff;
border-radius: 10px;
padding: 40px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
text-align: center;
max-width: 400px;
animation: popupAnimation 0.5s ease-out forwards;
}
.popup h2 {
color: #28a745;
font-size: 24px;
margin-bottom: 10px;
}
.popup p {
font-size: 18px;
color: #555;
margin-bottom: 20px;
}
.popup i {
font-size: 50px;
color: #28a745;
margin-bottom: 20px;
}
@keyframes popupAnimation {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
</style>
</style>
</head>
<body>
<div class="popup" id="successPopup">
<i class="fas fa-check-circle"></i>
<h2>Your order has been successfully placed! </h2>
<p>Thank you for your purchase. </p>
<p>You will be redirected to the homepage shortly.</p>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const popup = document.getElementById('successPopup');
popup.style.display = 'block';
setTimeout(function () {
window.location.href = 'index.php';
}, 5000);
});
</script>
</body>
</html>