forked from samdoiron/wds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
members.php
55 lines (50 loc) · 1.74 KB
/
members.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
<?php
$members_array = array(
array("name" => "Andrey Kulakevich", "position" => "President", "img" => "andrey.jpg"),
array("name" => "Tyler Pachal", "position" => "Vice-President", "img" => "tyler.jpg"),
array("name" => "Gilberto De Melo", "position" => "Treasurer", "img" => "gilberto.jpg"),
array("name" => "Matthew Coelho", "position" => "Secretary", "img" => "coelho.jpg"),
array("name" => "Kyle Asaff", "position" => "Member", "img" => "kyle.jpg"),
array("name" => "Terry Lin", "position" => "Member", "img" => "terry.jpg"),
array("name" => "Brenden Krochko", "position" => "Member", "img" => "brenden.jpg"),
array("name" => "Weibo Wang", "position" => "Member", "img" => "weibo.jpg")
);
);
?>
<!DOCTYPE html>
<html lang="en">
<?php include('head.php') ?>
<body>
<?php $members = true ?>
<?php include('navbar.php') ?>
<!-- Begin page content -->
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="page-header">
<h1 class="text-center">Members</h1>
</div>
<div class="lead">
<?php foreach(array_chunk($members_array,3) as $three_members): ?>
<div class="row">
<?php foreach ($three_members as $member): ?>
<div class="col-xs-12 col-md-4">
<img src="images/<?php echo $member['img'] ?>" alt="<?php echo $member['name'] ?>"
class="responsive-img col-xs-12">
<br>
<h3 class="col-xs-12 text-center">
<?php echo $member['name'] ?><br>
<small><?php echo $member['position'] ?></small>
</h3>
</div>
<?php endforeach ?>
</div>
<?php endforeach ?>
</div>
</div>
</div>
</div>
<?php include('footer.php') ?>
<?php include('javascript.php') ?>
</body>
</html>