-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.php
319 lines (252 loc) · 14 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
<?php
//To Handle Session Variables on This Page
session_start();
//Including Database Connection From db.php file to avoid rewriting in all files
require_once("db.php");
?>
<!DOCTYPE html>
<html lang="en">
<title>Home</title>
<head>
<?php
include 'php/head.php'
?>
</head>
<body>
<!-- header starts -->
<?php
include 'php/header.php'
?>
<!-- header ends -->
<section id="hero-animated" class="hero-animated d-flex align-items-center">
<div class="container d-flex flex-column justify-content-center align-items-center text-center position-relative" data-aos="zoom-out">
<img src="assets/img/hero-carousel/hero-carousel-3.svg" class="img-fluid animated">
<h2>Welcome to <span>JIIT Placement Cell</span></h2>
<p>For Your Entire Placement Journey.</p>
<div class="d-flex">
<a href="login.php" class="btn-get-started scrollto">Login</a>
</div>
</div>
</section>
<main id="main">
<!-- ======= Featured Services Section ======= -->
<!-- <section id="featured-services" class="featured-services">
<div class="container">
<div class="row gy-4">
<div class="col-xl-3 col-md-6 d-flex" data-aos="zoom-out">
<div class="service-item position-relative">
<div class="icon"><i class="bi bi-activity icon"></i></div>
<h4><a href="" class="stretched-link">Login</a></h4>
<p>Students can login using their credentials. </p>
</div>
</div>
<div class="col-xl-3 col-md-6 d-flex" data-aos="zoom-out" data-aos-delay="200">
<div class="service-item position-relative">
<div class="icon"><i class="bi bi-bounding-box-circles icon"></i></div>
<h4><a href="" class="stretched-link">Register</a></h4>
<p>Register yourself here.</p>
</div>
</div>
<div class="col-xl-3 col-md-6 d-flex" data-aos="zoom-out" data-aos-delay="400">
<div class="service-item position-relative">
<div class="icon"><i class="bi bi-calendar4-week icon"></i></div>
<h4><a href="" class="stretched-link">Look for companies</a></h4>
<p>You can search for companies.</p>
</div>
</div>
<div class="col-xl-3 col-md-6 d-flex" data-aos="zoom-out" data-aos-delay="600">
<div class="service-item position-relative">
<div class="icon"><i class="bi bi-broadcast icon"></i></div>
<h4><a href="" class="stretched-link">Apply for Drives</a></h4>
<p>Look for eligibilty criteria and apply for companies accordingly.</p>
</div>
</div><!-- End Service Item -->
</div>
</div>
</section><!-- End Featured Services Section -->
<!-- ======= Call To Action Section ======= -->
<section id="cta" class="cta">
<div class="container" data-aos="zoom-out">
<div class="row g-5">
<div class="col-lg-8 col-md-6 content d-flex flex-column justify-content-center order-last order-md-first">
<h3>Placement <em>Portal</em> </h3>
<p>The Placement Cell plays a crucial role in locating job
opportunities for under graduates and post graduates passing out from the college by
keeping in touch with reputed firms and industrial establishments.
<br>The placement cell operates round the year to facilitate contacts between companies
and graduates. The number of students placed through the campus interviews is
continuously rising.
</p>
<a class="cta-btn align-self-start" href="#">Get Started</a>
</div>
<div class="col-lg-4 col-md-6 order-first order-md-last d-flex align-items-center">
<div class="img">
<img src="assets/img/feature-7.jpg" alt="" class="img-fluid">
</div>
</div>
</div>
</div>
</section><!-- End Call To Action Section -->
<!-- ======= Clients Section ======= -->
<section id="clients" class="clients">
<div class="container" data-aos="zoom-out">
<div class="clients-slider swiper">
<div class="swiper-wrapper align-items-center">
<div class="swiper-slide"><img src="assets/img/clients/client-1.svg" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-2.png" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-3.png" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-4.png" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-5.png" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-6.png" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-7.png" class="img-fluid" alt=""></div>
<div class="swiper-slide"><img src="assets/img/clients/client-8.png" class="img-fluid" alt=""></div>
</div>
</div>
</div>
</section><!-- End Clients Section -->
<!-- ======= Features Section ======= -->
<section id="objectives" class="features" name="objectives">
<div class="container" data-aos="fade-up">
<div class="tab-content">
<div class="tab-pane active show" id="tab-1">
<div class="row gy-4">
<div class="col-lg-8 order-2 order-lg-1" data-aos="fade-up" data-aos-delay="100">
<h3>Objectives</h3>
<p class="fst-itali">
Our Placement Portal serves various objectives:
</p>
<ul>
<li><i class="bi bi-check-circle-fill"></i> Developing the students to meet the Industries recruitment process.
</li>
<li><i class="bi bi-check-circle-fill"></i> To motivate students to develop Technical knowledge and soft skills in
terms of career planning, goal setting.
</li>
<li><i class="bi bi-check-circle-fill"></i> To produce world-class professionals who have excellent analytical skills,
communication skills, team building spirit and ability to work in cross cultural
environment.</li>
</ul>
</div>
<div class="col-lg-4 order-1 order-lg-2 text-center" data-aos="fade-up" data-aos-delay="200">
<img src="assets/img/features-1.svg" alt="" class="img-fluid">
</div>
</div>
</div>
<!-- End Tab Content -->
<section id="statistics" class="content-header">
<div class="container">
<div class="row">
<div class="col-md-12 text-center latest-job margin-bottom-20">
<h1>Our Statistics</h1>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<?php
$sql = "SELECT * FROM job_post";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
$totalno = $result->num_rows;
} else {
$totalno = 0;
}
?>
<h3>
<?php echo $totalno; ?>
</h3>
<p>Total Drives</p>
</div>
<div class="icon">
<i class="ion ion-ios-paper"></i>
</div>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<?php
$sql = "SELECT * FROM company WHERE active='1'";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
$totalno = $result->num_rows;
} else {
$totalno = 0;
}
?>
<h3>
<?php echo $totalno; ?>
</h3>
<p>Job Offers</p>
</div>
<div class="icon">
<i class="ion ion-briefcase"></i>
</div>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-yellow">
<div class="inner">
<?php
$sql = "SELECT * FROM users WHERE resume!=''";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
$totalno = $result->num_rows;
} else {
$totalno = 0;
}
?>
<h3>
<?php echo $totalno; ?>
</h3>
<p>CV'S/Resume</p>
</div>
<div class="icon">
<i class="ion ion-ios-list"></i>
</div>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<?php
$sql = "SELECT * FROM users WHERE active='1'";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
$totalno = $result->num_rows;
} else {
$totalno = 0;
}
?>
<h3>
<?php echo $totalno; ?>
</h3>
<p>Daily Users</p>
</div>
<div class="icon">
<i class="ion ion-person-stalker"></i>
</div>
</div>
</div>
<!-- ./col -->
</div>
</div>
</section>
<!-- ======= F.A.Q Section ======= -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<?php
include 'php/footer.php';
?>
<!-- End Footer -->
<!-- TPO bot -->
<!-- tpo bot ends -->
</body>
</html>