-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
350 lines (310 loc) · 17.8 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
<?php
session_start();
require_once "index_header_area.php";
require_once 'db.php';
?>
<!-- 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">
<?php
$select_servic_qury="SELECT * FROM banner ORDER BY id desc LIMIT 1";
$selcr_servis_from=mysqli_query($db_conect,$select_servic_qury);
foreach ($selcr_servis_from as $banner):
?>
<h6 class="wow fadeInUp" data-wow-delay="0.2s">HELLO!</h6>
<h2 class="wow fadeInUp" data-wow-delay="0.4s"><?=$banner['name']?></h2>
<p class="wow fadeInUp" data-wow-delay="0.6s"><?=$banner['writing']?></p>
<div class="banner-social wow fadeInUp" data-wow-delay="0.8s">
<?php
$select_servic_qury="SELECT * FROM social_link ORDER BY id desc LIMIT 3";
$selcr_servis_from=mysqli_query($db_conect,$select_servic_qury);
foreach ($selcr_servis_from as $social_link):
?>
<ul>
<li><a href="<?=$social_link['facebook']?>"><i class="fab fa-facebook"></i></a></li>
<li><a href="<?=$social_link['instragam']?>"><i class="fab fa-instagram"></i></a></li>
<li><a href="<?=$social_link['twiter']?>"><i class="fab fa-twitter"></i></a></li>
<li><a href="<?=$social_link['pinterest']?>"><i class="fab fa-pinterest"></i></a></li>
</ul>
<?php endforeach; ?>
</div>
<a href="#" class="btn wow fadeInUp" data-wow-delay="1s">SEE PORTFOLIOS</a>
<?php endforeach; ?>
</div>
</div>
<div class="col-xl-5 col-lg-6 d-none d-lg-block">
<div class="banner-img text-right">
<img style="height:800px; width: 410px;" src="uploads/protfulios/<?=$banner['banner_img']?>" title="me-01" alt="me-01">
</div>
</div>
</div>
</div>
<div class="banner-shape"><img src="frontend_asset/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">
<?php
$select_servic_qury="SELECT * FROM about ORDER BY id desc LIMIT 1";
$selcr_servis_from=mysqli_query($db_conect,$select_servic_qury);
foreach ($selcr_servis_from as $about):
?>
<div class="about-img">
<img style="height: 700px; width: 430px; padding-left: 50px;" src="uploads/protfulios/<?=$about['amout_img']?>" title="me-01" alt="me-01">
</div>
<?php endforeach; ?>
</div>
<div class="col-lg-6 pr-90">
<div class="section-title mb-25">
<span>Introduction</span>
<h2>About Me</h2>
</div>
<div class="about-content">
<p><?=$about['summary']?></p>
<h3>Education:</h3>
</div>
<?php
$select_servic_qury="SELECT * FROM educations ORDER BY id desc LIMIT 4";
$selcr_servis_from=mysqli_query($db_conect,$select_servic_qury);
foreach ($selcr_servis_from as $educations):
?>
<!-- Education Item -->
<div class="education">
<div class="year"><?=$educations['year']?></div>
<div class="line"></div>
<div class="location">
<span><?=$educations['degree']?></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: 65%;" aria-valuenow="65" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
</div>
<!-- End Education Item -->
<?php endforeach; ?>
</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>WHAT WE DO</span>
<h2>Services and Solutions</h2>
</div>
</div>
</div>
<div class="row">
<?php
$select_servic_qury="SELECT * FROM services ORDER BY id desc LIMIT 6";
$selcr_servis_from=mysqli_query($db_conect,$select_servic_qury);
foreach ($selcr_servis_from as $services):
?>
<div class="col-lg-4 col-md-6">
<div class="icon_box_01 wow fadeInLeft" data-wow-delay="0.2s">
<i class="<?=$services['Service_icon']?>"></i>
<h3><?=$services['Service_Title']?></h3>
<p>
<?php echo substr($services['Service_description'], 0, 1400) ?>
</p>
</div>
</div>
<?php endforeach; ?>
</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>Portfolio Showcase</span>
<h2>My Recent Best Works</h2>
</div>
</div>
</div>
<div class="row">
<?php
$select_portfulis_qury="SELECT * FROM portfulis ORDER BY id desc LIMIT 6";
$selcr_portfulis_from=mysqli_query($db_conect,$select_portfulis_qury);
foreach ($selcr_portfulis_from as $portfulis):
?>
<div class="col-lg-4 col-md-6 pitem">
<div class="speaker-box">
<div class="speaker-thumb">
<img src="uploads/protfulios/<?=$portfulis['portfuli_photo']?>" alt="img">
</div>
<div class="speaker-overlay">
<span><?=$portfulis['portfuli_catagory']?></span>
<h4><a href="portfolio-single.php?id=<?=$portfulis['id']?>"><?=$portfulis['portfuli_title']?></a></h4>
<a href="portfolio-single.php?id=<?=$portfulis['id']?>" class="arrow-btn">More information <span></span></a>
</div>
</div>
</div>
<?php endforeach; ?>
<?php
if($selcr_portfulis_from->num_rows==0):
?>
<div class="col-md-12">
<div class="alert alert-success">
no data sotho
</div>
</div>
<?php endif; ?>
</div>
</div>
</section>
<!-- profile end-->
<!-- fact-area -->
<section class="fact-area">
<div class="container">
<div class="fact-wrap">
<div class="row justify-content-between">
<?php
$select_portfulis_qury="SELECT * FROM fact_icon ORDER BY id desc LIMIT 6";
$selcr_portfulis_from=mysqli_query($db_conect,$select_portfulis_qury);
foreach ($selcr_portfulis_from as $fact_icon):
?>
<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="<?=$fact_icon['fact_icon']?>"></i>
</div>
<div class="fact-content">
<h2><span class="count"><?=$fact_icon['count']?></span></h2>
<span><?=$fact_icon['Feature']?></span>
</div>
</div>
</div>
<?php endforeach; ?>
</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>testimonial</span>
<h2>happy customer quotes</h2>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-xl-9 col-lg-10">
<div class="testimonial-active">
<div class="single-testimonial text-center">
<div class="testi-avatar">
<img src="frontend_asset/img/images/testi_avatar.png" alt="img">
</div>
<div class="testi-content">
<h4><span>“</span> An event is a message sent by an object to signal the occur rence of an action. The action can causd user interaction such as a button click, or it can result <span>”</span></h4>
<div class="testi-avatar-info">
<h5>tonoy jakson</h5>
<span>head of idea</span>
</div>
</div>
</div>
<div class="single-testimonial text-center">
<div class="testi-avatar">
<img src="frontend_asset/img/images/testi_avatar.png" alt="img">
</div>
<div class="testi-content">
<h4><span>“</span> An event is a message sent by an object to signal the occur rence of an action. The action can causd user interaction such as a button click, or it can result <span>”</span></h4>
<div class="testi-avatar-info">
<h5>tonoy jakson</h5>
<span>head of idea</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- testimonial-area-end -->
<!-- brand-area -->
<div class="barnd-area pt-100 ">
<div class="container">
<div class="row brand-active">
<?php
$select_portfulis_qury="SELECT * FROM brand ORDER BY id desc LIMIT 4";
$selcr_portfulis_from=mysqli_query($db_conect,$select_portfulis_qury);
foreach ($selcr_portfulis_from as $brand):
?>
<div class="col-lg-4">
<div class="single-brand">
<img src="uploads/protfulios/<?=$brand['logo']?>" alt="img">
</div>
</div>
<?php endforeach; ?>
</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>Contect phone or Email .</p>
<h5>OFFICE IN <span>Dhaka</span></h5>
<div class="contact-list">
<ul>
<li><i class="fas fa-map-marker"></i><span>Address :</span>Mymensingh Dhaka, Bangladeshk</li>
<li><i class="fas fa-headphones"></i><span>Phone :</span>+8801791260234</li>
<li><i class="fas fa-globe-asia"></i><span>e-mail :</span>[email protected]</li>
</ul>
</div>
</div>
</div>
<div class="col-lg-6">
<?php if(isset($_SESSION['maseg-succes'])): ?>
<div class="alert alert-success">
<?=$_SESSION['maseg-succes']?>
</div>
<?php
endif;
unset($_SESSION['maseg-succes']);
?>
<div class="contact-form">
<form action="contact_from_post.php" method="POST">
<input type="text" placeholder="your name *" name="geust_name">
<input type="email" placeholder="your email *" name="geust_email">
<textarea id="message" placeholder="your message *" name="geust_msg"></textarea>
<button class="btn">SEND</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- contact-area-end -->
</main>
<!-- main-area-end -->
<?php
require_once "index_fottaer_area.php";
?>