-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsuccess.php
106 lines (90 loc) · 2.51 KB
/
success.php
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
if (!empty($_GET['tid']) && !empty($_GET['product'])) {
$GET = filter_var_array($_GET);
$tid = $GET['tid'];
$product = $GET['product'];
} else {
header('Location: donate.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #dd3d36;
color: #fff;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
}
.succWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #5cb85c;
color: #fff;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
}
h2 {
text-align: center;
color: #34bcaa;
}
body {
font-family: Arial, sans-serif;
background-color: #333;
margin: 0;
padding: 0;
text-align: center;
}
h1 {
color: #debf12;
}
.success-container {
text-align: center;
background-color: #333;
padding: 20px;
border: 2px solid #debf12; /* Add border */
box-shadow: 0px 0px 10px #34bcaa; /* Add shadow */
max-width: 600px; /* Control the width */
margin: 0 auto; /* Center the container horizontally */
}
.success-container h2 {
font-size: 24px;
color: #debf12;
}
.success-container p {
font-size: 16px;
color: #fff;
}
</style>
<title>Thank You</title>
</head>
<body style="background-color: #333">
<header>
<h1>HTH Worldwide</h1>
<p style="color: #debf12">Every donation is 100% used for our cause!</p>
</header>
<?php
// Include the navigation bar
include('navbar.php');
?>
</br>
</br>
<div class="container mt-4">
<h2>Thank you for purchasing <?php echo $product; ?></h2>
<hr>
<div class="success-container">
<p>Your transaction ID is <?php echo $tid; ?></p>
<p>Check your email for more info</p>
<p><a href="donate.php" class="btn btn-light mt-2">Go Back</a></p>
</div>
</div>
</body>
</html>