-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
347 lines (249 loc) · 11.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
<?php require_once('config.php'); ?>
<!DOCTYPE html>
<html lang="en" class="" style="height: auto;">
<?php require_once('inc/header.php') ?>
<body>
<!-- Header
================================================== -->
<header id="home">
<nav id="nav-wrap">
<a class="mobile-btn" href="#nav-wrap" title="Show navigation">Show navigation</a>
<a class="mobile-btn" href="#" title="Hide navigation">Hide navigation</a>
<ul id="nav" class="nav">
<li class="current"><a class="smoothscroll" href="#home">Home</a></li>
<li><a class="smoothscroll" href="#about">About</a></li>
<li><a class="smoothscroll" href="#resume">Resume</a></li>
<li><a class="smoothscroll" href="#portfolio">Works</a></li>
<li><a class="smoothscroll" href="#testimonials">Testimonials</a></li>
</ul> <!-- end #nav -->
</nav> <!-- end #nav-wrap -->
<?php
$u_qry = $conn->query("SELECT * FROM users where id = 1");
foreach($u_qry->fetch_array() as $k => $v){
if(!is_numeric($k)){
$user[$k] = $v;
}
}
$c_qry = $conn->query("SELECT * FROM contacts");
while($row = $c_qry->fetch_assoc()){
$contact[$row['meta_field']] = $row['meta_value'];
}
// var_dump($contact['facebook']);
?>
<div class="row banner">
<div class="banner-text">
<h1 class="responsive-headline">I'm <?php echo isset($user) ? ucwords($user['firstname'].' '.$user['lastname']) : ""; ?>.</h1>
<h3><?php echo stripslashes($_settings->info('welcome_message')) ?></h3>
<hr />
<ul class="social">
<li><a target="_blank" href="mailto:<?php echo $contact['email'] ?>"><i class="fa fa-google-plus"></i></a></li>
<li><a target="_blank" href="<?php echo $contact['github'] ?>"><i class="fa fa-github"></i></a></li>
</ul>
</div>
</div>
<p class="scrolldown">
<a class="smoothscroll" href="#about"><i class="icon-down-circle"></i></a>
</p>
</header> <!-- Header End -->
<!-- About Section
================================================== -->
<section id="about">
<div class="row">
<div class="three columns">
<img class="profile-pic" src="<?php echo validate_image("avatar") ?>" alt="" />
</div>
<div class="nine columns main-col">
<h2>About Me</h2>
<style>
#about_me *{
color:#7A7A7A !important;
}
</style>
<div id="about_me"><?php include "about.html"; ?></div>
<div class="row">
<div class="columns contact-details">
<h2>Contact Details</h2>
<p class="address">
<span><?php echo $contact['address'] ?></span><br>
<span><?php echo $contact['email'] ?></span>
</p>
</div>
<div class="columns download">
<p>
<!-- <a href="#" class="button"><i class="fa fa-download"></i>Download Resume</a> -->
</p>
</div>
</div> <!-- end row -->
</div> <!-- end .main-col -->
</div>
</section> <!-- About Section End-->
<!-- Resume Section
================================================== -->
<section id="resume">
<!-- Education
----------------------------------------------- -->
<div class="row education">
<div class="three columns header-col">
<h1><span>Education</span></h1>
</div>
<div class="nine columns main-col">
<?php
$e_qry = $conn->query("SELECT * FROM education order by year desc, month desc");
while($row = $e_qry->fetch_assoc()):
?>
<div class="row item">
<div class="twelve columns">
<h3><?php echo $row['school'] ?></h3>
<p class="info"><?php echo $row['degree'] ?> <span>•</span> <em class="date"><?php echo $row['month'].' '.$row['year'] ?></em></p>
<p>
<?php echo stripslashes(html_entity_decode($row['description'])) ?>
</p>
</div>
</div> <!-- item end -->
<?php endwhile; ?>
</div> <!-- main-col end -->
</div> <!-- End Education -->
<!-- Work
----------------------------------------------- -->
<div class="row work">
<div class="three columns header-col">
<h1><span>Work</span></h1>
</div>
<div class="nine columns main-col">
<?php
$w_qry = $conn->query("SELECT * FROM work ");
while($row = $w_qry->fetch_assoc()):
?>
<div class="row item">
<div class="twelve columns">
<h3><?php echo $row['company'] ?></h3>
<p class="info"><?php echo $row['position'] ?> <span>•</span> <em class="date"><?php echo str_replace("_"," ",$row['started']) ?> - <?php echo str_replace("_"," ",$row['ended']) ?></em></p>
<p><?php echo stripslashes(html_entity_decode($row['description'])) ?></p>
</div>
</div> <!-- item end -->
<?php endwhile; ?>
</div> <!-- main-col end -->
</div> <!-- End Work -->
<!-- Skills
----------------------------------------------- -->
<div class="row skill">
<div class="three columns header-col">
<h1><span>Skills</span></h1>
</div>
<div class="nine columns main-col">
<p>Apparently , i am web developer , i have skills in both Front-end and
Back-end , also UI design . As junior developer , i got to improve my
skills daily to match the market requirement,
Give me a workshop, and I will have fun like a kid in a
playground. Some coding to do, and I will enjoy each of the challenges.
With laptop with Keyboard , I will transfomer my design to coding.
Users to interview, and I will learn and understand their needs.
I am a curious and proactive person, continuously looking for
opportunities to improve my skillset. I enjoy working in collaborative
environments, joining forces towards a shared goal.
</p><br>
<p>Please Be noted that this Not my All Skills ,
to see my All skills contact my by email</p>
<div class="bars">
<ul class="skills">
<li style="width:100%"><span style="width:100%" class="bar-expand"></span><em>HTML & CSS & JS</em></li>
<li style="width:100%"><span style="width:80%" class="bar-expand"></span><em>BootStrap & MDB & SASS </em></li>
<li style="width:100%"><span style="width:60%" class="bar-expand wordpress"></span><em>JSON & Ajax & jQuery</em></li>
<li style="width:100%"><span style="width:55%" class="bar-expand css"></span><em>Angular.Js & React.Js </em></li>
<li style="width:100%"><span style="width:50%" class="bar-expand html5"></span><em>Node.js & MongoDb</em></li>
<li style="width:100%"><span style="width:75%" class="bar-expand jquery"></span><em>SQL & MySQL & Php </em></li>
</ul>
</div>
</div>
</div>
</section>
<!-- Portfolio Section
================================================== -->
<section id="portfolio">
<div class="row">
<div class="twelve columns collapsed">
<h1>Check Out Some of My Works.Explore my work,
and feel free to share with me any of your thoughts.
I will be happy to hear them.</h1>
<!-- portfolio-wrapper -->
<div id="portfolio-wrapper" class="bgrid-quarters s-bgrid-thirds cf">
<?php
$p_qry = $conn->query("SELECT * FROM project ");
while($row = $p_qry->fetch_assoc()):
?>
<div class="columns portfolio-item">
<div class="item-wrap">
<a href="#modal-<?php echo $row['id'] ?>" title="">
<img alt="" src="<?php echo validate_image($row['banner']) ?>">
<div class="overlay">
<div class="portfolio-item-meta">
<h5 class="truncate-1"><?php echo $row['name'] ?></h5>
<!-- <p>Illustrration</p> -->
</div>
</div>
<div class="link-icon"><i class="icon-plus"></i></div>
</a>
</div>
</div> <!-- item end -->
<?php endwhile; ?>
</div> <!-- portfolio-wrapper end -->
</div> <!-- twelve columns end -->
<?php
$p_qry = $conn->query("SELECT * FROM project ");
while($row = $p_qry->fetch_assoc()):
?>
<!-- Modal Popup
--------------------------------------------------------------- -->
<div id="modal-<?php echo $row['id'] ?>" class="popup-modal mfp-hide">
<img class="scale-with-grid" src="<?php echo validate_image($row['banner']) ?>" alt="" />
<div class="description-box">
<h4><?php echo $row['name'] ?></h4>
<p><?php echo stripslashes(html_entity_decode($row['description'])) ?></p>
<span class="categories"><i class="fa fa-tag"></i><?php echo $row['client'] ?></span>
</div>
<div class="link-box">
<a class="popup-modal-dismiss">Close</a>
</div>
</div><!-- modal-01 End -->
<?php endwhile; ?>
</div> <!-- row End -->
</section> <!-- Portfolio Section End-->
<!-- Testimonials Section
================================================== -->
<section id="testimonials">
<div class="text-container">
<div class="row">
<div class="two columns header-col">
<h1><span>Client Testimonials</span></h1><br><br>
</div>
<div class="ten columns flex-container">
<div class="flexslider">
<ul class="slides">
<li>
<blockquote>
<p>Your work is going to fill a large part of your life, and the only way to be truly satisfied is
to do what you believe is great work. And the only way to do great work is to love what you do.
If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know.
</p>
<cite>Steve Jobs</cite>
</blockquote>
</li> <!-- slide ends -->
<li>
<blockquote>
<p>This is Photoshop's version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet.
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem
nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris.
</p>
<cite>Mr. Adobe</cite>
</blockquote>
</li> <!-- slide ends -->
</ul>
</div> <!-- div.flexslider ends -->
</div> <!-- div.flex-container ends -->
</div> <!-- row ends -->
</div> <!-- text-container ends -->
</section> <!-- Testimonials Section End-->
<!-- /.content-wrapper -->
<?php require_once('inc/footer.php') ?>
</body>
</html>