-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
435 lines (331 loc) · 13.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
<?php include 'controllers/db/index.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="theme-color" content=" #005B49" />
<title>Job Padi</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicons -->
<link href="assets/vectors/1.png" rel="icon">
<link href="assets/vectors/1.png" rel="apple-touch-icon">
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/animate.css/animate.min.css" rel="stylesheet">
<link href="assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
<style type="text/css">
</style>
</head>
<body>
<section id="section1" class="section1 header">
<?php include 'controllers/includes/menu.php'; ?>
<div class="heada">
<a href="./" >
<img src="assets/vectors/11.png" class="vector1 one" style="z-index:2000;">
<img src="assets/vectors/1.png" class="vector1 one-one" style="z-index:2000;display: ;width: 41px; height: 27px;">
</a>
<img src="assets/vectors/bar2.png" class="menu header-btns bar" style="z-index:2000;">
<a href="about.php" class="about wow fadeInUp header-btns" style="z-index: 4200;">About Us</a>
<a class="find wow fadeInUp header-btns" style="z-index: 4200;cursor:pointer">Find Job</a>
<!-- <a href="" class="blog wow fadeInUp header-btns" style="z-index: 4200;">Blog</a> -->
<a href="contact.php" class="blog wow fadeInUp header-btns" style="z-index: 4200;">Contact</a>
<a class="post-job wow fadeInUp" style="z-index: 4200;cursor:pointer;" onclick="alert('Coming soon')">Applications</a>
<a class="join-us wow fadeInUp" style="z-index: 4200;cursor:pointer">Get Started</a>
</div>
<div class="dream-jobs wow fadeInLeft">Real <span class="color">Jobs</span>. Top <span class="color">Recruiters</span>.
All at <span class="color">your</span> <span class="color">finger tips</span>.</div>
<div class="preamble wow fadeInUp">
Welcome! <br>
You can get your dream job here
You are just a click away from landing that dream job
</div>
<div class="vector2-holder">
<img src="assets/vectors/2.png" class="vector2 wow fadeInDown">
</div>
<div class="two_btnss">
<a href="select.php" class="next_job wow fadeInUp">Apply for Jobs </a>
<a class="hire_talent wow fadeInUp" onclick="alert('Coming soon')" style="color:white;cursor:pointer;">Employ Someone</a>
</div>
</section>
<div class="search_title wow fadeInUp">
Search for Your Dream job
</div>
<input type="text" name="" id="" class="search-form wow fadeInUp"
placeholder="Enter job code!" maxlength="4" style="padding:0px 40px;
font-weight:bold;font-size:20px;text-transform: uppercase;text-align:center;">
<div class="dpt-header wow fadeInUp">
Choose Your Field
</div>
<h class="dpt-header-title wow fadeInUp">
Select your field, your dream job is waiting
</h>
<div class="dpt-slider wow fadeInUp">
<div class="owl-carousel owl-theme">
<?php
$sqlBX = "SELECT * FROM dpt";
$resultBX = mysqli_query($conn, $sqlBX);
$days_shared=mysqli_num_rows($resultBX);
if (mysqli_num_rows($resultBX)) {
while ($row=mysqli_fetch_assoc($resultBX)) {
$id=$row['id'];
$vector=$row['vector'];
$class=$row['class']; ?>
<div class="item">
<a href="filter.php?class=<?php echo $id ?>">
<img src="<?php echo $vector ?>" class="item-img wow fadeInDown" > <br>
<div style="text-align:center">
<?php echo $class ?>
</div>
</a>
</div>
<?php
}
}
?>
</div>
</div>
<div class="more wow fadeInUp">
Available Jobs
</div>
<div class="jobHolders">
<?php
$sql = "SELECT * FROM jobs WHERE `status` = '1' ";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result)) {
while ($row=mysqli_fetch_assoc($result)) {
$id=$row['id'];
$firm=$row['firm'];
$location=$row['location'];
$position=$row['position'];
$salary=$row['salary'];
// $description=$row['description'];
// $language=$row['language'];
// $expirence=$row['expirence'];
// $age=$row['age'];
// $skills=$row['skills'];
$avatar=$row['avatar'];
$date=$row['date'];
$status=$row['status'];
$code=$row['code'];
$requirement1=$row['requirement1'];
$requirement2=$row['requirement2'];
$currentDate=date("Y-m-d");
$endTime=strtotime($currentDate);
$strtTime=strtotime($date);
$dif= abs($endTime-$strtTime);
$daysCount= $dif/86400;
$daysCount= intval($daysCount);
if ($daysCount==0) {
$daysCount="posted today";
}elseif ($daysCount==1) {
$daysCount="Yesterday";
}elseif ($daysCount>1 && $daysCount<14) {
$daysCount=$daysCount." days ago";
}else{
$daysCount=$date;
}
?>
<div class="blog1">
<a href="description.php?id=<?php echo $id; ?>">
<div style="text-align:center;">
<img src="<?php echo $avatar; ?>" class="job-img" >
</div>
<div class="blur">
<b style="color:#00B894;font-size:20px;position:absolute;top:6px;right:10px;">
<?php echo $code ?>
</b>
<div style="padding:10px;font-size:15px;">
<img src="assets/vectors/1.png" class="" style="width:10%"><br>
<br>
<b class="j-title" style="font-size:20px;">
<?php echo $position; ?>
</b> <br>
<span style="font-size:14px;">
<span class="fa fa-building-o" style="color:#00B894;"></span>
<?php echo $firm; ?>
</span> <br>
<span style="font-size:14px;">
<span class="fa fa-map-marker " style="color:#00B894;"></span>
<?php echo $location; ?>
</span> <br> <br>
<div>
<span style="font-size:13px;">
<b><?php echo $salary; ?> / Month</b>
</span>
</div>
<div style="margin-top:10px;">
<b class="j-title" style="font-size:21px;color:#00B894;">
Urgently Hiring
</b>
</div>
<div>
<div style="font-size:14px;margin-top:15px;">
<span class="fa fa-check-circle" style="color:#00B894;"></span>
<?php
if (strlen($requirement1)>75) {
$string=substr($requirement1, 0,75)."...";
}else{
$string=$requirement1;
}
echo $string;
?>
</div>
<div style="font-size:14px;margin-top:10px;">
<span class="fa fa-check-circle" style="color:#00B894;"></span>
<?php
if (strlen($requirement2)>75) {
$string=substr($requirement2, 0,75)."...";
}else{
$string=$requirement2;
}
echo $string;
?>
</div>
</div>
<span style="font-size:14px;color:#00B894;position:absolute;bottom:30px;">
<?php echo $daysCount; ?>
</span>
<br>
<b style="float: ;font-size:20px;position:absolute;bottom:30px;color:#00B894;right:10px;">View</b>
<i style="float: ;font-size:14px;position:absolute;bottom:5px;color:white;">Deadline: 12 Dec, 2020</i>
</div>
</div>
</a>
</div>
<?php
}
}
?>
</div>
<div class="footer">
<img src="assets/vectors/footer.png" class="footer-vector wow fadeInDown">
<br><br>
<div class="who-we-are wow fadeInDown">
<b>Who We Are</b>
<b class="social">
<img src="assets/vectors/ig.png" class="social-icons wow fadeInDown">
<img src="assets/vectors/fb.png" class="social-icons wow fadeInDown">
<img src="assets/vectors/twitter.png" class="social-icons wow fadeInDown">
</b>
<br><br>
<p class="wow fadeInDown footer-writeup-desk">
We are your one stop-platform for latest job-listing. We specialize in compiling and listing local job openings across Nigeria. We make your job search experience fruitful and less stressful
In addition to job listing we provide you with additional resources such as career coaching, resume tailoring and helpful tips in our blog posts.
We are remodeling our country’s hiring system.
</p>
<p class="wow fadeInDown footer-writeup-mobile" style="font-weight:none;font-size:15px;">
We are your one stop-platform for latest job-listing. We specialize in compiling and listing local job openings across Nigeria. We make your job search experience fruitful and less stressful
In addition to job listing we provide you with additional resources such as career coaching, resume tailoring and helpful tips in our blog posts.
We are remodeling our country’s hiring system.
<br><br>
</p>
</div>
</div>
<div class="by">
Built with <i class="fa fa-heart" style="color:red;"></i> by
<a href="https://hthub.com.ng/" class="by-a">
HARVOXX TECH. HUB
</a>
<div style="color:grey;font-size:13px;">powered by Kedosic Innovation</div>
</div>
<div class="mobileSearchRes"></div>
<!-- <a href="#" class="back-to-top"><i class="fa fa-angle-up"></i></a> -->
<!-- Vendor JS Files -->
<script src="assets/vendor/jquery/jquery.min.js"></script>
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
<script src="assets/vendor/wow/wow.min.js"></script>
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="assets/vendor/superfish/superfish.min.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// alert("")
})
$('.owl-carousel').owlCarousel({
loop:true,
margin:10,
nav:false,
autoplay:true,
smartSpeed:250,
autoplayTimeout:3000,
slideTransition:`linear`,
dots:true,
responsive:{
0:{
items:3
},
600:{
items:3,
nav:true,
loop:true,
},
1000:{
items:5
}
}
})
$(document).ready(function() {
var s = $(".preamble");
var pos = s.position();
$(window).scroll(function() {
var windowpos = $(window).scrollTop();
if (windowpos > 500) {
$(".heada").addClass("head");
} else if(windowpos < 1) {
$(".heada").removeClass("head");
}
if (windowpos > 605) {
$(".search-form").addClass("search-form-fixed");
} else if(windowpos < 1) {
$(".search-form").removeClass("search-form-fixed");
}
});
});
$(".close-bar").click(function(){
$(".close-bar").hide()
$(".mobile-menu").slideUp();
})
$(".menu").click(function(){
$(".close-bar").show()
$(".mobile-menu").slideDown();
})
$('.search-form').keyup(function(){
input = $('.search-form').val();
// $('.mobileSearchRes').html(input)
if (input.length == 4) {
$.ajax({
url:"controllers/functions/client/ajax.php",
method:"POST",
async:true,
data:{
"input":input,
"search":1,
},
success:function(data){
// alert(input)
$('.mobileSearchRes').html(data)
},
})
}
});
$( ".find" ) .click(function() {
$('html,body').animate({
scrollTop: $(".jobHolders").offset().top},
2000);
})
$( ".join-us" ) .click(function() {
$('html,body').animate({
scrollTop: $(".dpt-header").offset().top},
2000);
})
</script>
<!-- <script src="//code.tidio.co/4hx5f11qnh54qrylyuwlvjupscrxgh2u.js" async></script> -->
</body>
</html>