-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
400 lines (350 loc) · 17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Letho - Job Portal</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/logo.png" rel="icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<!-- ======= Top Bar ======= -->
<section id="topbar" class="d-flex align-items-center">
<div class="container d-flex justify-content-center justify-content-md-between">
<div class="contact-info d-flex align-items-center">
<i class="bi bi-envelope-fill"></i><a href="mailto:[email protected]">[email protected]</a>
<i class="bi bi-phone-fill phone-icon"></i> +91 9739946347
</div>
<div class="social-links d-none d-md-block">
<a href="#" class="twitter"><i class="bi bi-twitter"></i></a>
<a href="#" class="facebook"><i class="bi bi-facebook"></i></a>
<a href="#" class="instagram"><i class="bi bi-instagram"></i></a>
<a href="#" class="linkedin"><i class="bi bi-linkedin"></i></i></a>
</div>
</div>
</section>
<!-- ======= Header ======= -->
<header id="header" class="d-flex align-items-center">
<div class="container d-flex align-items-center justify-content-between">
<!-- Uncomment below if you prefer to use an image logo -->
<!--<a href="index.php" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
<h1 class="logo"><a href="index.php">letho</a></h1>
<nav id="navbar" class="navbar">
<ul>
<li><a class="nav-link scrollto active" href="index.php #hero">Home</a></li>
<li><a class="nav-link scrollto" href="index.php #about">About</a></li>
<li><a class="nav-link scrollto" href="output1.php">Jobs</a></li>
<li><a class="nav-link scrollto" href="index.php #contact">Contact</a></li>
<li><a class="nav-link" data-bs-toggle="modal" data-bs-target="#signinModal" href="">Sign In</a></li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav><!-- .navbar -->
</div>
</header><!-- End Header -->
<!-- modals section-->
<div id="signinModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="signinModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role = "document">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h5 class = "modal-title" id = "signinModalLabel"> Sign In</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form action="checklogin.php" method="post">
<div class = "form-group">
<label for="email">Email:</label>
<input type="email" name="email" id="email" class = "form-control" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class = "form-group">
<label for="pass">Password</label>
<input type="password" name="pass" id="pass" class="form-control" placeholder="Password">
</div>
<div class="form-group">
<a class = "text-primary" data-bs-toggle="modal" data-bs-target="#signupModal" href="">Don't have an account? Sign Up</a>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type = "submit" class = "btn btn-primary" name ="submit">Sign In </button>
</div>
</form>
</div>
</div>
</div>
<div id="signupModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="signupModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role = "document">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h5 class = "modal-title" id = "signupModalLabel">Sign Up</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form action="add.php" id = "signup_form" method="post">
<div class = "form-group">
<label for="signupemail">Email:</label>
<input type="email" name="signupemail" id="signupemail" class = "form-control" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class = "form-group">
<label for="signuppass">Password</label>
<input type="password" name="signuppass" id="signuppass" class="form-control" placeholder="Password">
</div>
<div class="form-check">
<input type="checkbox" name="check" id="check" class="form-check-input" id="exampleCheck1" required>
<label for="check" class="form-check-label"> I agree to the terms & conditions</label>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary" name ="submit">Sign Up </button>
</div>
</form>
<div id = "success_person" class = "text-primary"></div>
</div>
</div>
</div>
<!-- ======= Hero Section ======= -->
<section id="hero" class="d-flex align-items-center">
<div class="container position-relative" data-aos="fade-up" data-aos-delay="500">
<h1>Welcome to Letho</h1>
<h2>A job portal website</h2>
<a href="#about" class="btn-get-started scrollto">Get Started</a>
</div>
</section><!-- End Hero -->
<main id="main">
<!-- ======= About Section ======= -->
<section id="about" class="about">
<div class="container">
<div class="row">
<div class="col-lg-6 order-1 order-lg-2" data-aos="fade-left">
<img src="assets/img/about.jpg" class="img-fluid" alt="">
</div>
<div class="col-lg-6 pt-4 pt-lg-0 order-2 order-lg-1 content" data-aos="fade-right">
<h3>Letho: Job Portal</h3>
<p class="fst-italic">
Find a list of all jobs displayed from fetching the contents from various different websites. Letho : Job Portal provides complete one stop solution to view jobs, applications and postings from various different existing webistes curated at one place.
</p>
<ul>
<li><i class="bi bi-check-circle"></i> Live upto-date content</li>
<li><i class="bi bi-check-circle"></i> Contents available by scrapping</li>
<li><i class="bi bi-check-circle"></i> All the contents loaded are from values stored in a database by scrapping an existing job portal site and thus, no guarantees are taken about a postings legitimacy or use. In case of reporting or feedback</li>
</ul>
<p>
Letho : Job Portal uses a static webiste scrapping techinque to build its own list of websites to ease users in their hunt for jobs thus eliminating the need for users to go to multiple different sites for thier hunt.<br>
It uses a scrapper developed entirely in python for its operation and loads the data generated into a csv form which is then loaded into a Database.
</p>
</div>
</div>
</div>
</section><!-- End About Section -->
<!-- ======= Why Us Section ======= -->
<section id="why-us" class="why-us">
<div class="container">
<div class="row">
<div class="col-lg-4" data-aos="fade-up">
<div class="box">
<span>01</span>
<h4>Hassle free</h4>
<p>With Letho you can avoid going to any other job site and avoid the hassle.</p>
</div>
</div>
<div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="150">
<div class="box">
<span>02</span>
<h4>Easy Comparison</h4>
<p>Select from thousands of job from various different sites and compare them side by side</p>
</div>
</div>
<div class="col-lg-4 mt-4 mt-lg-0" data-aos="fade-up" data-aos-delay="300">
<div class="box">
<span>03</span>
<h4>Inexpensive</h4>
<p>Choose from a variety of plans according to your convenience</p>
</div>
</div>
</div>
</div>
</section><!-- End Why Us Section -->
<!-- ======= Contact Section ======= -->
<section id="contact" class="contact">
<div class="container">
<div class="section-title">
<span>Contact</span>
<h2>Contact</h2>
<p>A variety of ways to reach us</p>
</div>
<div class="row" data-aos="fade-up">
<div class="col-lg-6">
<div class="info-box mb-4">
<i class="bx bx-map"></i>
<h3>Our Address</h3>
<p>#62, Sri Rama RMR PG, Whitefield, Bangalore, 560066</p>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="info-box mb-4">
<i class="bx bx-envelope"></i>
<h3>Email Us</h3>
<p>[email protected]</p>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="info-box mb-4">
<i class="bx bx-phone-call"></i>
<h3>Call Us</h3>
<p>+91 9739946347</p>
</div>
</div>
</div>
<div class="row" data-aos="fade-up">
<div class="col-lg-6 ">
<iframe class="mb-4 mb-lg-0" src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d12097.433213460943!2d-74.0062269!3d40.7101282!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xb89d1fe6bc499443!2sDowntown+Conference+Center!5e0!3m2!1smk!2sbg!4v1539943755621" frameborder="0" style="border:0; width: 100%; height: 384px;" allowfullscreen></iframe>
</div>
<div class="col-lg-6">
<form action="forms/contact.php" method="post" role="form" class="php-email-form">
<div class="row">
<div class="col-md-6 form-group">
<input type="text" name="name" class="form-control" id="name" placeholder="Your Name" required>
</div>
<div class="col-md-6 form-group mt-3 mt-md-0">
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email" required>
</div>
</div>
<div class="form-group mt-3">
<input type="text" class="form-control" name="subject" id="subject" placeholder="Subject" required>
</div>
<div class="form-group mt-3">
<textarea class="form-control" name="message" rows="5" placeholder="Message" required></textarea>
</div>
<div class="my-3">
<div class="loading">Loading</div>
<div class="error-message"></div>
<div class="sent-message">Your message has been sent. Thank you!</div>
</div>
<div class="text-center"><button type="submit">Send Message</button></div>
</form>
</div>
</div>
</div>
</section><!-- End Contact Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="footer-top">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-6">
<div class="footer-info">
<h3>Day</h3>
<p>
#62, Sri Rama RMR PG <br>
Ambedkar Nagar, Whitefield,Bangalore,<br>
Karnataka, 560066 <br><br>
<strong>Phone:</strong> +91 9739946347<br>
<strong>Email:</strong> [email protected]<br>
</p>
<div class="social-links mt-3">
<a href="#" class="twitter"><i class="bx bxl-twitter"></i></a>
<a href="#" class="facebook"><i class="bx bxl-facebook"></i></a>
<a href="#" class="instagram"><i class="bx bxl-instagram"></i></a>
<a href="#" class="google-plus"><i class="bx bxl-skype"></i></a>
<a href="#" class="linkedin"><i class="bx bxl-linkedin"></i></a>
</div>
</div>
</div>
<div class="col-lg-2 col-md-6 footer-links">
<h4>Useful Links</h4>
<ul>
<li><i class="bx bx-chevron-right"></i> <a href="#">Home</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">About us</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Services</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Terms of service</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Privacy policy</a></li>
</ul>
</div>
<div class="col-lg-2 col-md-6 footer-links">
<h4>Our Services</h4>
<ul>
<li><i class="bx bx-chevron-right"></i> <a href="#">Web Design</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Web Development</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Product Management</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Marketing</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Graphic Design</a></li>
</ul>
</div>
<div class="col-lg-4 col-md-6 footer-newsletter">
<h4>Our Newsletter</h4>
<p>Tamen quem nulla quae legam multos aute sint culpa legam noster magna</p>
<form action="" method="post">
<input type="email" name="email"><input type="submit" value="Subscribe">
</form>
</div>
</div>
</div>
</div>
<div class="container">
<div class="copyright">
© Copyright <strong><span>Day</span></strong>. All Rights Reserved
</div>
<div class="credits">
Designed by Mayank Shandilya
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<div id="preloader"></div>
<!-- Vendor JS Files -->
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
$("#signup_form").on("submit", function (e) {
e.preventDefault();
$.ajax({
url: "add.php", //PHP FILE HERE
type: "post",
data: $(this).serialize(),
beforeSend: function () {
$("#success_person").show();
$("#success_person").html("Adding data to database...")
},
complete: function () {
$("#success_person").delay(3e3).fadeOut()
},
success: function (e) {
$("#success_person").show();
$("#success_person").html(e);
$("#success_person").delay(3e3).fadeOut();
$("#signup_form")[0].reset()
},
error: function (e, t, n) {
alert(e.status);
alert(n)
}
})
});
</script>
</body>
</html>