-
Notifications
You must be signed in to change notification settings - Fork 0
/
kalanjali.php
358 lines (357 loc) · 16.7 KB
/
kalanjali.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
<?php include("dbs/connect.php"); ?>
<!doctype html>
<html lang="en">
<?php include('plugins/head.php'); ?>
<body>
<?php include('plugins/header.php') ?>
<br>
<center>
<div class="container">
<h3 style=" text-align:center; ">KALANJALI</h3>
<hr>
<div class="row">
<div class="col"> <img src="images/ssvgi/club/art.jpg"></div>
<div class="col">
<br>
<p>This Club appreciates inclination in good physical well-being and encourages students to participate in National and International sports event. Stride Club aims at offering an opportunity to participate in a broad variety of sports and recreational activities. This Club provides a valuable learning experience through student involvement and enhances the student’s experience that contributes to the student’s overall education and wellness.</p>
<br>
<br>
<a href=""><i class="fab fa-instagram fa-lg"></i></a>
<a href=""><i class="fab fa-facebook fa-lg"></i></a>
<br>
<br>
<div class="container">
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#form">
Apply For Kalanjali Club
</button>
</div>
<div class="modal fade" id="form" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header border-bottom-0">
<h5 class="modal-title" id="exampleModalLabel">Application</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<form role="form" action="kalanjalivacant.php" method="POST" enctype="multipart/form-data" onsubmit="myFunction()">
<div class="modal-body">
<div class="form-group">
<label>Full name</label>
<input type="text" class="form-control form2" name="name" aria-describedby="emailHelp" placeholder="Enter Full Name" style="background-color: white;">
</div>
<div class="form-group">
<label for="password1">Course</label>
<input type="text" class="form-control form2" name="course" placeholder="Course" style="background-color: white;">
</div>
<div class="form-group">
<label for="">Student ID</label>
<input type="text" class="form-control form2" name="student_id" placeholder="Enter Student ID" style="background-color: white;">
</div>
<div class="form-group">
<label for="">Email ID</label>
<input type="email" class="form-control form2" name="email" placeholder="Enter Email ID" style="background-color: white;">
</div>
<div class="form-group">
<label for="post">Post</label>
<select class="form-control form2" style="background-color:white;" name="v_post" placeholder="Select Post">
<option>Select Post</option>
<option>President</option>
<option>Vice President</option>
<option>Secretary</option>
<option>Joint Secretary</option>
<option>Treasurer</option>
</select>
<br>
<label for="post">Uploade Your Resume</label>
<br>
<input class="form-control form2" type="file" name="file">
</div>
</div>
<div class="modal-footer border-top-0 d-flex justify-content-center">
<button type="submit" class="btn btn-danger">Submit</button>
</div>
</form>
<script>
function myFunction() {
alert("Your detail is recorded We will get in touch with you soon")
}
</script>
</div>
</div>
</div>
</div>
</div>
</div>
</center>
<br>
<br>
<center>
<h2>Events</h2>
<hr>
<div class="container">
<div class="row">
<?php
include("dbs/connect.php");
$sql = "SELECT * FROM kalanjali";
$results = $connect->query($sql);
while ($final = $results->fetch_assoc()) {
?>
<div class="col">
<div class="card">
<div class="card-header">
<img src="ADMIN/<?php echo $final['image']; ?>" alt="kalanjali" />
</div>
<div class="card-body">
<h2>
<?php echo $final['name'] ?>
</h2>
<h6>Event Date - <span><?php echo $final['date'] ?></span></h6>
<hr>
<p>
<?php echo $final['context'] ?>
</p>
<div class="row">
<div class="col"> <a href="Admin/<?php if ($final['filename'] == true) {
echo $final['file'];
} else {
header('location:kalanjali.php');
} ?> "><button class="btn btn-danger">Read More</button></a></div>
<div class="col">
<div class="container">
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#enroll">
Enroll Now
</button>
</div>
</div>
</div>
<!-- Modal -->
<hr>
<div class="user">
<img src="images/ssvgi/kalan.png" alt="user" />
<div class="user-info">
<h5>Posted On</h5>
<p><?php echo $final['post_time'] ?></p>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</center>
<center>
<div class="modal fade" id="enroll" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header border-bottom-0">
<h5 class="modal-title" id="exampleModalLabel">Event Enroll Form</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<form role="form" action="kalanjalienroll.php" method="POST" enctype="multipart/form-data" onsubmit="myFunction()">
<div class="modal-body">
<div class="form-group">
<label>Full name</label>
<input type="text" class="form-control form2" name="name" aria-describedby="emailHelp" placeholder="Enter Full Name" style="background-color: white;">
</div>
<div class="form-group">
<label for="password1">Course</label>
<input type="text" class="form-control form2" name="course" placeholder="Course" style="background-color: white;">
</div>
<div class="form-group">
<label for="">Email ID</label>
<input type="email" class="form-control form2" name="email" placeholder="Enter email" style="background-color: white;">
</div>
<div class="form-group">
<label for="">Mobile Number</label>
<input type="number" class="form-control form2" name="number" placeholder="Enter Mobile Number" style="background-color: white;">
</div>
<div class="form-group">
<label for="">Event Name</label>
<input type="text" class="form-control form2" name="eventname" placeholder="Enter Evenet Name" style="background-color: white;">
</div>
</div>
<div class="modal-footer border-top-0 d-flex justify-content-center">
<button type="submit" class="btn btn-success">Submit</button>
</div>
</form>
<script>
function myFunction() {
alert("You Are successfully enrolled for the event")
}
</script>
</div>
</div>
</div>
</center>
<!--Carousel-->
<center>
<div class="container" id="team">
<section class="ftco-section">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h2 class="heading-section mb-5">OUR TEAM</h2>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '1'";
$results = $connect->query($sql);
$final = $results->fetch_array();
?>
<div class="col-md-12">
<div class="featured-carousel owl-carousel">
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '2'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '3'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '4'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '5'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '6'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '7'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
<?php
include("dbs/connect.php");
$sql = "SELECT id, role, post, name, image FROM teammember where id = '8'";
$results = $connect->query($sql);
$final2 = $results->fetch_array();
?>
<div class="item">
<div class="work">
<div class="img d-flex align-items-end justify-content-center" style="background-image: url(ADMIN/<?php echo $final2[4] ?>);">
<div class="text w-100">
<span class="cat"><?php echo $final2[3] ?></span>
<div class="container" style="background-color: black; width: 100%;">
<h3><a href="#"><?php echo $final2[2] ?></a></h3>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</center>
<!--Carousel part2 end-->
<?php
include('plugins/footer.php');
?>
</body>
</html>