-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththankYouCardView.php
More file actions
151 lines (129 loc) · 5.58 KB
/
thankYouCardView.php
File metadata and controls
151 lines (129 loc) · 5.58 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?php
include "files/allFunction.php";
if(isset($_GET['thankYouCardID']) AND !empty($_GET['thankYouCardID']) AND is_numeric($_GET['thankYouCardID']))
{
$run=$con->prepare("SELECT * FROM `thankyou` WHERE id=?");
$run->bindParam(1,$_GET['thankYouCardID'],PDO::PARAM_INT);
if($run->execute())
{
if($run->rowCount()>0)
{
$thankYouData=$run->fetch(PDO::FETCH_ASSOC);
}
}
}
if(!is_array($thankYouData))
{
header('location:thank-list.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Online Card Maker</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="./files/assets/img/DESIGNER'S.png" rel="icon">
<link href="./files/assets/img/DESIGNER_S__1_-removebg-preview.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Roboto:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="files/asset/vendor/aos/aos.css" rel="stylesheet">
<link href="files/asset/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="files/asset/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="files/asset/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="files/asset/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="files/asset/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="files/asset/css/style.css" rel="stylesheet">
<style>
.card {
max-width: 400px;
margin: 0 auto;
margin-top: 50px;
padding: 20px;
background-color: #f8f9fa;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.thank-you {
font-size: 24px;
padding: 10px;
text-align: center;
margin-bottom: 20px;
}
.message {
text-align: center;
}
.message {
text-align: center;
}
</style>
</head>
<body>
<?php include 'files/header.php'; ?>
<main id="main" style="margin-top:100px">
<!-- ======= About Section ======= -->
<div class="container-fluid text-center">
<div class="container">
<div class="row ">
<div class="col-md-3"></div>
<div class="col-md-6 printable-content">
<div class="card" style="color: <?php echo $thankYouData['font_color']; ?> !important;
font-family: <?php echo $thankYouData['font_style']; ?> !important;
font-size: <?php echo $thankYouData['font_size']; ?>;
background-image: url('files/upload/thankYouBgImages/<?php echo $thankYouData['background_img']; ?>'); background-size:cover;">
<h2 class="thank-you" id="title"><?php echo htmlspecialchars($thankYouData['title']); ?></h2>
<p class="message"><?php echo htmlspecialchars($thankYouData['message']); ?></p>
</div>
</div>
</div>
</div>
</main>
<!-- ======= Footer ======= -->
<footer id="footer" style="margin-top:300px">
<div class="container">
<div class="copyright-wrap d-md-flex py-4">
<div class="me-md-auto text-center text-md-start">
<div class="copyright">
© Copyright <strong><span>Huzaifa Bin Afzal</span></strong>. All Rights Reserved
</div>
<div class="credits">
<!-- All the links in the footer should remain intact. -->
<!-- You can delete the links only if you purchased the pro version. -->
<!-- Licensing information: https://bootstrapmade.com/license/ -->
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/techie-free-skin-bootstrap-3/ -->
Designed by <a href="https://bootstrapmade.com/">Huzaifa Bin Afzal</a>
</div>
</div>
<div class="social-links text-center text-md-right pt-3 pt-md-0">
<a href="#" class="twitter"><i class="bx bxl-twitter"></i></a>
<a href="#" class="facebook"><i class="bx bxl-facebook"></i></a>
<a href="#" class="instagram"><i class="bx bxl-instagram"></i></a>
<a href="#" class="google-plus"><i class="bx bxl-skype"></i></a>
<a href="#" class="linkedin"><i class="bx bxl-linkedin"></i></a>
</div>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<div id="preloader"></div>
<!-- Vendor JS Files -->
<script src="files/asset/vendor/purecounter/purecounter_vanilla.js"></script>
<script src="files/asset/vendor/aos/aos.js"></script>
<script src="files/asset/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="files/asset/vendor/glightbox/js/glightbox.min.js"></script>
<script src="files/asset/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="files/asset/vendor/swiper/swiper-bundle.min.js"></script>
<script src="files/asset/vendor/php-email-form/validate.js"></script>
<script src="files/html2canvas.min.js"></script>
<!-- Template Main JS File -->
<script src="files/asset/js/main.js"></script>
<script src="files/jquery-3.6.0.min.js"></script>
<script src="files/custom.js"></script>
</body>
</html>