Repository navigation
Expand file tree
/
Copy pathteam-17-18.php
More file actions
68 lines (54 loc) · 2.04 KB
/
Copy pathteam-17-18.php
File metadata and controls
68 lines (54 loc) · 2.04 KB
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
<!doctype html>
<html lang="en">
<head>
<title>2020-2021 Team</title>
<?php include 'components/header.php'; ?>
</head>
<body>
<?php include 'components/navbar.php'; ?>
<?php
$data = array(
"General Secretary" => array(
array(
"name" => "Ketan Mishra",
"designation" => "General Secretary",
"email" => "ketanm@iitbhilai.ac.in",
"image" => "./static/images/team/ketan.jpg"
),
array(
"name" => "Smarna Pankanti",
"designation" => "General Secretary",
"email" => "smaranas@iitbhilai.ac.in",
"image" => "./static/images/team/smarna.jpeg"
),
),
)
?>
<div class="container">
<h2 class="my-5 pt-5 events_heading text-center display-4">Our Team</h2>
<?php foreach ($data as $member_type => $members) : ?>
<h2 class="text-center mt-5 mb-4"><?= $member_type; ?></h2>
<div class="row d-flex justify-content-around">
<?php foreach ($members as $member) : ?>
<div class="mb-3">
<figure class="snip1477">
<img src=<?= $member['image']; ?> alt="Pawan" />
<div class="title">
<div>
<h2><?= $member['name']; ?></h2>
<h4><?= $member['designation']; ?></h4>
</div>
</div>
<figcaption>
<p><?= $member['email']; ?></p>
</figcaption>
</figure>
</div>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
<?php include 'components/footer.php'; ?>
<?php include 'components/scripts.php'; ?>
</body>
</html>