-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
405 lines (348 loc) · 13.8 KB
/
index.php
File metadata and controls
405 lines (348 loc) · 13.8 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
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
<?php
session_start();
require 'db.php';
//header logo responsive
$select_logo="SELECT * FROM logos ";
$select_logo_res=mysqli_query($db_connection,$select_logo);
$select_assoc_logo=mysqli_fetch_assoc($select_logo_res);
//About section updated
$select_about="SELECT * FROM abouts ";
$select_about_res=mysqli_query($db_connection,$select_about);
$select_assoc_about=mysqli_fetch_assoc($select_about_res);
//skill section
$skill="SELECT * FROM skills WHERE status=1";
$skill_res=mysqli_query($db_connection,$skill);
//service section
$select="SELECT * FROM services WHERE status=1 ";
$select_res=mysqli_query($db_connection,$select);
//portfolio query
$select_portfolio="SELECT * FROM portfolios WHERE status=1 ";
$select_portfolio_res=mysqli_query($db_connection,$select_portfolio);
//feedbact section query
$select="SELECT * FROM feedbacks";
$feedback_res=mysqli_query($db_connection,$select);
?>
<!DOCTYPE html>
<html lang="zxx">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="portfolio,creative,business,company,agency,multipurpose,modern,bootstrap4">
<meta name="author" content="themeturn.com">
<title>MD TOMAS UDDIN | PROTFOLIO PAGE</title>
<!-- Mobile Specific Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- bootstrap.min css -->
<link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.min.css">
<!-- Themeify Icon Css -->
<link rel="stylesheet" href="plugins/themify/css/themify-icons.css">
<!-- animate.css -->
<link rel="stylesheet" href="plugins/animate-css/animate.css">
<link rel="stylesheet" href="plugins/aos/aos.css">
<!-- owl carousel -->
<link rel="stylesheet" href="plugins/owl/assets/owl.carousel.min.css">
<link rel="stylesheet" href="plugins/owl/assets/owl.theme.default.min.css" >
<!-- Slick slider CSS -->
<link rel="stylesheet" href="plugins/slick-carousel/slick/slick.css">
<link rel="stylesheet" href="plugins/slick-carousel/slick/slick-theme.css">
<!-- Main Stylesheet -->
<link rel="stylesheet" href="css/style.css">
</head>
<body class="portfolio" id="top">
<!-- Navigation start -->
<!-- Header Start -->
<nav class="navbar navbar-expand-lg bg-transprent py-4 fixed-top navigation" id="navbar">
<div class="container">
<a class="navbar-brand" href="index.html">
<img src="uploads/logo/<?=$select_assoc_logo['header_logo'] ?>" alt="" width="100">
TOMAS UDDIN
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample09" aria-controls="navbarsExample09" aria-expanded="false" aria-label="Toggle navigation">
<span class="ti-view-list"></span>
</button>
<div class="collapse navbar-collapse text-center" id="navbarsExample09">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link smoth-scroll" href="#home">Home</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll" href="#skillbar">Expertise</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll" href="#service">Services</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll" href="#portfolio">Portfolio</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll" href="#testimonial">Testimonial</a></li>
<li class="nav-item"><a class="nav-link smoth-scroll" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<!-- Navigation End -->
<!-- Banner start -->
<!-- Slider Start -->
<section class="slider py-7 " id="home">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-5 col-sm-12 col-12 col-md-5">
<div class="slider-img position-relative">
<img src="uploads/about/<?=$select_assoc_about['image']?>" alt="" class="img-fluid w-100 ">
</div>
</div>
<div class="col-lg-6 col-12 col-md-7">
<?php
$after_explode=explode(' ',$select_assoc_about['name']);
$last=end($after_explode);
?>
<div class="ml-5 position-relative mt-5 mt-lg-0">
<span class="head-trans"><?=$last?></span>
<h1 class="font-weight-normal text-color text-md"><i class="ti-minus mr-2"></i><?=$select_assoc_about['designation']?></h1>
<h2 class="mt-3 text-lg mb-3 text-capitalize"><?=$select_assoc_about['name']?></h2>
<p class="animated fadeInUp lead mt-4 mb-5 text-white-50 lh-35"><?=$select_assoc_about['desp']?></p>
<a href="#about" class="btn btn-solid-border">About Me</a>
</div>
</div>
</div>
</div>
</section>
<!-- Banner End -->
<!-- Skills start -->
<section class="section bg-gray" id="skillbar" data-aos="fade-up">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="section-title text-center">
<span class="text-color mb-0 text-uppercase letter-spacing text-sm"><i class="ti-minus mr-2"></i>Skills Set</span>
<h2 class="title">Expertise</h2>
</div>
</div>
</div>
<div class="row">
<?php foreach($skill_res as $skill){ ?>
<div class="col-lg-6 col-md-6">
<div class="skill-bar mb-4 mb-lg-0">
<div class="mb-4 text-right"><h4 class="font-weight-normal"><?=$skill['skill_name']?></h4></div>
<div class="progress">
<div class="progress-bar" data-percent="<?=$skill['percentage']?>">
<span class="percent-text"><span class="count"><?=$skill['percentage']?></span>%</span>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<!-- Skills End -->
<!-- Service start -->
<section class="section bg-gray" id="service" data-aos="fade-up">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="section-title text-center">
<span class="text-color mb-0 text-uppercase letter-spacing text-sm"><i class="ti-minus mr-2"></i>What i do</span>
<h2 class="title">Services</h2>
</div>
</div>
</div>
<div class="row no-gutters">
<?php foreach($select_res as $service){ ?>
<div class="col-lg-4 col-md-6">
<div class="card p-5 rounded-0">
<h3 class="my-4 text-capitalize"><?=$service['title']?></h3>
<p><?=$service['desp']?></p>
</div>
</div>
<?php } ?>
</div>
<div class="row align-items-center mt-5" data-aos="fade-up">
<div class="col-lg-6 mt-5">
<h2 class="mb-5 text-lg-2 text-white-50">Let's <span class="text-white">work together</span> on your next project </h2>
</div>
<div class="col-lg-4 ml-auto text-right">
<a href="#contact" class="btn btn-main text-white smoth-scroll">Hire Me</a>
</div>
</div>
</div>
</section>
<!-- Service End -->
<!-- Portfolio start -->
<section class="section" id="portfolio" data-aos="fade-up">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="section-title text-center">
<span class="text-color mb-0 text-uppercase letter-spacing text-sm"><i class="ti-minus"></i>works</span>
<h2 class="title">Portfolio</h2>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="post_gallery owl-carousel owl-theme">
<?php foreach($select_portfolio_res as $portfolio) {?>
<div class="item">
<div class="portfolio-item position-relative">
<img src="uploads/portfolio/<?=$portfolio['image']?>" alt="" class="img-fluid">
<div class="portoflio-item-overlay">
<a href="portfolio-single.html"><i class="ti-plus"></i></a>
</div>
</div>
<div class="text mt-3">
<h4 class="mb-1 text-capitalize"><?=$portfolio['title']?></h4>
<p class="text-uppercase letter-spacing text-sm"><?=$portfolio['category']?></p>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</section>
<!-- Portfolio End -->
<!-- Tetsimonial start -->
<section id="testimonial" class="section testomionial" data-aos="fade-up">
<div class="container">
<div class="row">
<div class="col-lg-8">
<div class="section-title">
<span class="text-color mb-0 text-uppercase letter-spacing text-sm"> <i class="ti-minus mr-2"></i>testimonial</span>
<h1 class="title">What People Say About me</h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-10">
<div class="testimonial-slider">
<?php foreach($feedback_res as $feedback){ ?>
<div class="testimonial-item position-relative">
<i class="ti-quote-left text-white-50"></i>
<div class="testimonial-content">
<p class="text-md mt-3"><?=$feedback['feedback']?></p>
<div class="media mt-5 align-items-center">
<img src="uploads/feedback/<?=$feedback['image']?>" alt="" class="img-fluid rounded-circle align-self-center mr-4">
<div class="media-body">
<h3 class="mb-0"><?=$feedback['name']?></h3>
<span class="text-muted"><?=$feedback['desgination']?></span>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</section>
<!-- Tetsimonial End -->
<!-- Feedback start -->
<section class="section" id="feedback" data-aos="fade-up">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="section-title text-center">
<span class="text-color mb-0 text-uppercase letter-spacing text-sm"> <i class="ti-minus mr-2"></i>Feecback</span>
<h1 class="title">Give Your Feedback </h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<?php if(isset($_SESSION['feedback'])){ ?>
<div class="alert alert-success"><?=$_SESSION['feedback']?></div>
<?php } unset($_SESSION['feedback']) ?>
<form class="contact__form form-row contact-form" action="feedback/feedback_post.php" method="POST" enctype="multipart/form-data">
<div class="form-group col-lg-6 mb-5">
<input type="text" id="name" name="name" class="form-control bg-transparent" placeholder="Your Name">
</div>
<div class="form-group col-lg-6 mb-5">
<input type="text" name="desgination" class="form-control bg-transparent" placeholder="Your desgination">
</div>
<div class="form-group col-lg-12 mb-5">
<input type="file" name="image" class="form-control bg-transparent" placeholder="Your Image">
<?php if(isset($_SESSION['err'])){ ?>
<strong class="text-danger"><?=$_SESSION['err']?></strong>
<?php }unset($_SESSION['err'])?>
</div>
<div class="form-group col-lg-12 mb-5">
<textarea id="message" name="feedback" cols="30" rows="6" class="form-control bg-transparent" placeholder="Your Message"></textarea>
<div class="text-center">
<input class="btn btn-main text-white mt-5" id="submit" name="submit" type="submit" class="btn btn-hero" value="Send Feedback">
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Feedback end -->
<!-- Contact start -->
<section class="section" id="contact" data-aos="fade-up">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="section-title text-center">
<span class="text-color mb-0 text-uppercase letter-spacing text-sm"> <i class="ti-minus mr-2"></i>Contact</span>
<h1 class="title">Get in Touch</h1>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<?php if(isset($_SESSION['message'])){ ?>
<div class="alert alert-success"><?=$_SESSION['message']?></div>
<?php }unset($_SESSION['message']) ?>
<form class="contact__form form-row contact-form" method="POST" action="message/message_post.php">
<div class="form-group col-lg-6 mb-5">
<input type="text" id="name" name="name" class="form-control bg-transparent" placeholder="Your Name">
</div>
<div class="form-group col-lg-6 mb-5">
<input type="text" name="email" id="email" class="form-control bg-transparent" placeholder="Your Email">
</div>
<div class="form-group col-lg-12 mb-5">
<input type="text" name="subject" id="subject" class="form-control bg-transparent" placeholder="Your Subject">
</div>
<div class="form-group col-lg-12 mb-5">
<textarea id="message" name="message" cols="30" rows="6" class="form-control bg-transparent" placeholder="Your Message"></textarea>
<div class="text-center">
<input class="btn btn-main text-white mt-5" id="submit" name="submit" type="submit" class="btn btn-hero" value="Send Message">
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Contact End -->
<!-- Footer start -->
<footer class="footer border-top-1">
<div class="container">
<div class="row align-items-center text-center text-lg-left">
<div class="col-lg-2">
<img src="uploads/logo/<?=$select_assoc_logo['footer_logo'] ?>" alt="" width="100">
</div>
<div class="col-lg-10">
<div class="text-right">
<p class="lead"><span class="text-color">Dreambuzz</span> © 2024 All Right Reserved TOMAS UDDIN.</p>
<a href="#top" class="backtop smoth-scroll"><i class="ti-angle-up"></i></a>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer End -->
<!--
Essential Scripts
=====================================-->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<!-- Main jQuery -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4.3.1 -->
<script src="plugins/bootstrap/js/popper.js"></script>
<script src="plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="plugins/nav/jquery.easing.1.3.html"></script>
<!-- Slick Slider -->
<script src="plugins/slick-carousel/slick/slick.min.js"></script>
<script src="plugins/owl/owl.carousel.min.js"></script>
<!-- Skill COunt -->
<script src="plugins/counto/apear.js"></script>
<script src="plugins/counto/counTo.js"></script>
<!-- AOS Animation -->
<script src="plugins/aos/aos.js"></script>
<script src="js/script.js"></script>
<script src="js/ajax-contact.html"></script>
</body>
</html>