-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearchData.php
More file actions
186 lines (148 loc) · 6.18 KB
/
searchData.php
File metadata and controls
186 lines (148 loc) · 6.18 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?php
include "files/allFunction.php";
if(!isset($_SESSION['userLogin']) AND empty($_SESSION['userLogin'][0]) AND empty($_SESSION['userLogin'][1]))
{
header('location:login.php');
}
$userData=getUser($_SESSION['userLogin'][0]);
//check($userData);
?>
<!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">
</head>
<body>
<?php include 'files/header.php'; ?>
<main id="main" style="margin-top:100px">
<!-- ======= About Section ======= -->
<div class="container-fluid text-center">
<div class="msgShow" style="margin: 300px;">
<div class="alert alert-danger alert-dismissible fade show d-flex justify-content-center" role="alert">
No matching keyword found.....!
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">×</button></div>
</div>
</div>
</main>
<!-- ======= Footer ======= -->
<footer id="footer">
<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">
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>
<script type="text/javascript">
$('#backgroundInput').change(function(e) {
var file = e.target.files[0];
var reader = new FileReader();
reader.onload = function(event) {
var selectedBackground = event.target.result;
$('.card').css({
'background-image': 'url("' + selectedBackground + '")',
'background-size': 'cover'
});
};
reader.readAsDataURL(file);
});
$('#addImage').change(function(e) {
var file = e.target.files[0];
var reader = new FileReader();
reader.onload = function(event) {
var selectedBackground = event.target.result;
$('#uploadImage').attr('src', selectedBackground);
};
reader.readAsDataURL(file);
});
$('#backgroundcolortitle').change(function() {
var selectedBackgroundColor = $(this).val();
$('#title').css('background-color', selectedBackgroundColor);
});
// Change font color
$('#fontColorSelect').change(function() {
var selectedFontColor = $(this).val();
$('.printable-content .card *').each(function() {
$(this).css('color', selectedFontColor);
});
});
// Change font style
$('#fontStyleSelect').change(function() {
var selectedFontStyle = $(this).val();
$('.card').css('font-family', selectedFontStyle);
});
// Change font size
$('#fontSizeSelect').change(function() {
var selectedFontSize = $(this).val();
$('.subtitle,.message').css('font-size', selectedFontSize);
});
// Update card details
$('#titleInput').keyup(function() {
var title = $(this).val();
$('#title').html("<h4>"+title+"</h4>");
});
$('#subTitleInput').keyup(function() {
var title = $(this).val();
$('#subtitle').html("<h4>"+title+"</h4>");
});
$('#nameInput').keyup(function() {
var names = $(this).val();
$('#name').text(names);
});
$('#footerInput').keyup(function() {
var text = $(this).val();
$('#footerText').text(text);
});
$('#messageInput').keyup(function() {
var message = $(this).val();
$('.message').text(message);
});
</script>
</body>
</html>