-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
465 lines (441 loc) · 23.2 KB
/
index.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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
<?php
session_start();
require "admin/database.php";
include "flash_data.php";
// banner section information query
$select_banner = "SELECT * FROM `banners` WHERE `banner_status`=1";
$select_banner_result = mysqli_query($db_connection, $select_banner);
$after_assoc_banner = mysqli_fetch_assoc($select_banner_result);
// about section information query
$select_about = "SELECT * FROM `abouts` WHERE `about_status`=1";
$select_about_result = mysqli_query($db_connection, $select_about);
$after_assoc_about = mysqli_fetch_assoc($select_about_result);
// about section skill query
$select_skill = "SELECT * FROM `skills` WHERE `skill_status`=1";
$skill_result = mysqli_query($db_connection, $select_skill);
// services section service query
$select_services_heading = "SELECT * FROM `services_heading` WHERE `service_heading_status`=1";
$service_heading_result = mysqli_query($db_connection, $select_services_heading);
$after_assoc_service_heading = mysqli_fetch_assoc($service_heading_result);
// services section service query
$select_services = "SELECT * FROM `services` WHERE `service_status`=1";
$service_result = mysqli_query($db_connection, $select_services);
// portfolio heading section query
$portfolio_heading = "SELECT * FROM `portfolio_heading` WHERE `portfolio_heading_status`=1";
$heading_result = mysqli_query($db_connection, $portfolio_heading);
$after_assoc_port_head = mysqli_fetch_assoc($heading_result);
// services section query
$select_portfolios = "SELECT * FROM `portfolios` WHERE `portfolio_status`=1";
$portfolio_result = mysqli_query($db_connection, $select_portfolios);
// satisfies section query
$select_satisfies = "SELECT * FROM `satisfies` WHERE `status`=1";
$satisfy_result = mysqli_query($db_connection, $select_satisfies);
// testimonial section query
$testimonials_heading = "SELECT * FROM `testimonial_head` WHERE `testimonial_head_status`=1";
$testimonial_head_result = mysqli_query($db_connection, $testimonials_heading);
$after_assoc_testimonial_heading = mysqli_fetch_assoc($testimonial_head_result);
// testimonial section query
$select_testimonials = "SELECT * FROM `testimonials` WHERE `status`=1";
$testimonial_result = mysqli_query($db_connection, $select_testimonials);
// brands section query
$select_brands = "SELECT * FROM `brands` WHERE `status`=1";
$brands_result = mysqli_query($db_connection, $select_brands);
// user information get
// $user_id = "SELECT * FROM `users` WHERE `user_id`";
$select_users = "SELECT * FROM `users` WHERE `status` = 1";
$select_users_result = mysqli_query($db_connection, $select_users);
$after_assoc_user = mysqli_fetch_assoc($select_users_result);
?>
<!doctype html>
<html class="no-js" lang="en">
<!-- Mirrored from themebeyond.com/html/kufa/ by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 06 Feb 2020 06:27:43 GMT -->
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Kufa - Personal Portfolio HTML5 Template</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.png">
<!-- Place favicon.ico in the root directory -->
<!-- CSS here -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/fontawesome-all.min.css">
<link rel="stylesheet" href="css/flaticon.css">
<link rel="stylesheet" href="css/slick.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/default.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
<link rel="stylesheet" href="css/toastr.css">
</head>
<body class="theme-bg">
<!-- preloader -->
<div id="preloader">
<div id="loading-center">
<div id="loading-center-absolute">
<div class="object" id="object_one"></div>
<div class="object" id="object_two"></div>
<div class="object" id="object_three"></div>
</div>
</div>
</div>
<!-- preloader-end -->
<!-- header-start -->
<header>
<div id="header-sticky" class="transparent-header">
<div class="container">
<div class="row">
<div class="col-xl-12">
<div class="main-menu">
<nav class="navbar navbar-expand-lg">
<a href="index.php" class="navbar-brand logo-sticky-none"><img src="img/logo/logo.png" alt="Logo"></a>
<a href="index.php" class="navbar-brand s-logo-none"><img src="img/logo/s_logo.png" alt="Logo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarNav">
<span class="navbar-icon"></span>
<span class="navbar-icon"></span>
<span class="navbar-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active"><a class="nav-link" href="#home">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#about">about</a></li>
<li class="nav-item"><a class="nav-link" href="#service">service</a></li>
<li class="nav-item"><a class="nav-link" href="#portfolio">portfolio</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
<div class="header-btn">
<a href="#" class="off-canvas-menu menu-tigger"><i class="flaticon-menu"></i></a>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
<!-- offcanvas-start -->
<div class="extra-info">
<div class="close-icon menu-close">
<button>
<i class="far fa-window-close"></i>
</button>
</div>
<div class="logo-side mb-30">
<a href="index-2.html">
<img src="img/logo/logo.png" alt="" />
</a>
</div>
<div class="side-info mb-30">
<div class="contact-list mb-30">
<h4>Office Address</h4>
<p>123/A, Miranda City Likaoli
Prikano, Dope</p>
</div>
<div class="contact-list mb-30">
<h4>Phone Number</h4>
<p>+0989 7876 9865 9</p>
</div>
<div class="contact-list mb-30">
<h4>Email Address</h4>
<p>info@example.com</p>
</div>
</div>
<div class="social-icon-right mt-20">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-google-plus-g"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="offcanvas-overly"></div>
<!-- offcanvas-end -->
</header>
<!-- header-end -->
<!-- main-area -->
<main>
<!-- banner-area -->
<section id="home" class="banner-area banner-bg fix">
<div class="container">
<div class="row align-items-center">
<div class="col-xl-7 col-lg-6">
<div class="banner-content">
<h6 class="wow fadeInUp" data-wow-delay="0.2s"><?= $after_assoc_banner['banner_sub_title'] ?></h6>
<h2 class="wow fadeInUp" data-wow-delay="0.4s"><?= $after_assoc_banner['banner_title'] ?></h2>
<p class="wow fadeInUp" data-wow-delay="0.6s"><?= $after_assoc_banner['description'] ?></p>
<div class="banner-social wow fadeInUp" data-wow-delay="0.8s">
<ul>
<li><a href="#"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fab fa-twitter"></i></a></li>
<li><a href="#"><i class="fab fa-instagram"></i></a></li>
<li><a href="#"><i class="fab fa-pinterest"></i></a></li>
</ul>
</div>
<a href="#" class="btn wow fadeInUp" data-wow-delay="1s">SEE PORTFOLIOS</a>
</div>
</div>
<div class="col-xl-5 col-lg-6 d-none d-lg-block">
<div class="banner-img text-right">
<img src="admin/assets/uploads/banners/<?= $after_assoc_banner['banner_img'] ?>" alt="">
</div>
</div>
</div>
</div>
<div class="banner-shape"><img src="img/shape/dot_circle.png" class="rotateme" alt="img"></div>
</section>
<!-- banner-area-end -->
<!-- about-area-->
<section id="about" class="about-area primary-bg pt-120 pb-120">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="about-img">
<img src="admin/assets/uploads/abouts/<?= $after_assoc_about['about_image'] ?>" title="me-01" class="img-fluid" alt="me-01">
</div>
</div>
<div class="col-lg-6 pr-90">
<div class="section-title mb-25">
<span><?= $after_assoc_about['about_sub_title'] ?></span>
<h2><?= $after_assoc_about['about_title'] ?></h2>
</div>
<div class="about-content">
<p><?= $after_assoc_about['about_description'] ?></p>
<h3>Skills:</h3>
</div>
<!-- Education Item -->
<?php foreach($skill_result as $skill){ ?>
<div class="education">
<div class="year"><?= $skill['skill_percentage'] ?>%</div>
<div class="line"></div>
<div class="location">
<span><?= $skill['skill_name'] ?></span>
<div class="progressWrapper">
<div class="progress">
<div class="progress-bar wow slideInLefts" data-wow-delay="0.2s" data-wow-duration="2s" role="progressbar" style="width: <?= $skill['skill_percentage'] ?>%;" aria-valuenow="<?= $skill['skill_percentage'] ?>" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
</div>
<?php } ?>
<!-- End Education Item -->
</div>
</div>
</div>
</section>
<!-- about-area-end -->
<!-- Services-area -->
<section id="service" class="services-area pt-120 pb-50">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-6 col-lg-8">
<div class="section-title text-center mb-70">
<span><?= $after_assoc_service_heading['service_heading_sub_title'] ?></span>
<h2><?= $after_assoc_service_heading['service_heading_title'] ?></h2>
</div>
</div>
</div>
<div class="row">
<?php foreach($service_result As $service){ ?>
<div class="col-lg-4 col-md-6">
<div class="icon_box_01 wow fadeInLeft" data-wow-delay="0.2s">
<i class="<?= $service['service_icon'] ?>"></i>
<h3><?= $service['service_name'] ?></h3>
<p><?= $service['service_description'] ?></p>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<!-- Services-area-end -->
<!-- Portfolios-area -->
<section id="portfolio" class="portfolio-area primary-bg pt-120 pb-90">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-6 col-lg-8">
<div class="section-title text-center mb-70">
<span><?= $after_assoc_port_head['portfolio_sub_heading'] ?></span>
<h2><?= $after_assoc_port_head['portfolio_main_heading'] ?></h2>
</div>
</div>
</div>
<div class="row">
<?php foreach($portfolio_result as $portfolio){ ?>
<div class="col-lg-4 col-md-6 pitem">
<div class="speaker-box">
<div class="speaker-thumb">
<img src="admin/assets/uploads/portfolios/<?= $portfolio['portfolio_image'] ?>" alt="img">
</div>
<div class="speaker-overlay">
<span><?= $portfolio['portfolio_category'] ?></span>
<h4><a href="portfolio-single.php?id=<?= $portfolio['portfolio_id'] ?>"><?= $portfolio['portfolio_title'] ?></a></h4>
<a href="portfolio-single.php?id=<?= $portfolio['portfolio_id'] ?>" class="arrow-btn">More information <span></span></a>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<!-- services-area-end -->
<!-- fact-area -->
<section class="fact-area">
<div class="container">
<div class="fact-wrap">
<div class="row justify-content-between">
<?php foreach($satisfy_result as $satisfy){ ?>
<div class="col-xl-2 col-lg-3 col-sm-6">
<div class="fact-box text-center mb-50">
<div class="fact-icon">
<i class="<?= $satisfy['icon'] ?>"></i>
</div>
<div class="fact-content">
<h2><span class="count"><?= $satisfy['value'] ?></span></h2>
<span><?= $satisfy['name'] ?></span>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</section>
<!-- fact-area-end -->
<!-- testimonial-area -->
<section class="testimonial-area primary-bg pt-115 pb-115">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-6 col-lg-8">
<div class="section-title text-center mb-70">
<span><?= $after_assoc_testimonial_heading['sub_title'] ?></span>
<h2><?= $after_assoc_testimonial_heading['main_title'] ?></h2>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-xl-9 col-lg-10">
<div class="testimonial-active">
<?php foreach($testimonial_result as $testimonial){ ?>
<div class="single-testimonial text-center">
<div class="testi-avatar">
<img src="admin/assets/uploads/testimonials/<?= $testimonial['image'] ?>" alt="img" style="width: 150px; border-radius:50%">
</div>
<div class="testi-content">
<h4><span>“</span>
<?= $testimonial['quotes'] ?>
<span>”</span></h4>
<div class="testi-avatar-info">
<h5><?= $testimonial['name'] ?></h5>
<span><?= $testimonial['designation'] ?></span>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</section>
<!-- testimonial-area-end -->
<!-- brand-area -->
<div class="barnd-area pt-100 pb-100">
<div class="container">
<div class="row brand-active">
<?php foreach($brands_result as $brand){ ?>
<div class="col-xl-2">
<div class="single-brand">
<img src="admin/assets/uploads/brands/<?= $brand['image'] ?>" alt="img">
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<!-- brand-area-end -->
<!-- contact-area -->
<section id="contact" class="contact-area primary-bg pt-120 pb-120">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="section-title mb-20">
<span>information</span>
<h2>Contact Information</h2>
</div>
<div class="contact-content">
<p>Event definition is - somthing that happens occurre How evesnt sentence. Synonym when an unknown printer took a galley.</p>
<h5>OFFICE IN <span>Dhaka</span></h5>
<div class="contact-list">
<ul>
<li><i class="fas fa-map-marker"></i><span>Address :</span><?= $after_assoc_user['user_address'] ?></li>
<li><i class="fas fa-headphones"></i><span>Phone :</span><?= $after_assoc_user['user_phone'] ?></li>
<li><i class="fas fa-globe-asia"></i><span>e-mail :</span><?= $after_assoc_user['user_email'] ?></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="contact-form">
<form action="admin/message_post.php" method="POST">
<input type="text" name="name" placeholder="your name *">
<input type="email" name="email" placeholder="your email *">
<textarea name="message" id="message" placeholder="your message *"></textarea>
<button type="submit" class="btn">BUY TICKET</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- contact-area-end -->
</main>
<!-- main-area-end -->
<!-- footer -->
<footer>
<div class="copyright-wrap">
<div class="container">
<div class="row align-items-center">
<div class="col-12">
<div class="copyright-text text-center">
<p>Copyright© <span>Kufa</span> | All Rights Reserved</p>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- footer-end -->
<!-- JS here -->
<script src="js/jquery.js"></script>
<script src="js/vendor/jquery-1.12.4.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="js/one-page-nav-min.js"></script>
<script src="js/slick.min.js"></script>
<script src="js/ajax-form.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/jquery.scrollUp.min.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script src="js/toastr.min.js"></script>
<!-- toastr message -->
<?php if (isset($_SESSION['msg']['success'])) { ?>
<script>
toastr.success("<?= Flash_data::show_error() ?>");
</script>
<?php } ?>
<?php if (isset($_SESSION['msg']['error'])) { ?>
<script>
toastr.error("<?= Flash_data::show_error() ?>");
</script>
<?php } ?>
</body>
<!-- Mirrored from themebeyond.com/html/kufa/ by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 06 Feb 2020 06:28:17 GMT -->
</html>