-
Notifications
You must be signed in to change notification settings - Fork 1
/
Team.php
66 lines (66 loc) · 2.62 KB
/
Team.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
<?php
$page_title = "Team Members";
$menu = "team";
include("header.php");
$team = new Team();
$Member1 = new Member(20104015,"Md. Moneruzjaman","01780873393","CSE","11th","Night","1",["facebook"=> "https://www.facebook.com/moni.moniruzzjamanmoni"] , "upload/Pictures/Userphotos/mone.jpg");
$Member2 = new Member(20104027,"Gourob Roy","01799833436","CSE","11th","Day","1",["facebook"=> "https://www.facebook.com/gourobroy.chamok.1"] , "upload/Pictures/Userphotos/gourob.jpg");
$Member3 = new Member(20104031,"Bilkis Khatun","01787609671","CSE","11th","Day","1",["facebook"=> "https://www.facebook.com/edon.15"] , "upload/Pictures/Userphotos/bilkis.jpg");
$Member4 = new Member(20104033,"Md Arik Rayhan","01780873393","CSE","11th","Day","1",["facebook"=> "https://www.facebook.com/md4rikrayhan"] , "upload/Pictures/Userphotos/arik.jpg");
$team->addMember($Member1);
$team->addMember($Member2);
$team->addMember($Member3);
$team->addMember($Member4);
?>
<section class="banner-w3layouts-bottom py-lg-5 py-3">
<div class="container py-lg-4 py-3">
<div class="row">
<?php foreach ($team->getMemeber() as $keyMember => $valueMember) {
?>
<div class="col-lg-3 customer-main">
<div class="card rs_members">
<div class="card-body">
<div class="customer-img">
<img src="<?php echo $valueMember->picture; ?>" alt=" " class="img-fluid rounded">
</div>
<div class="customer-info text-left py-lg-4 py-2">
<h4><?php echo $valueMember->name; ?></h4>
<h6>
<span>Id:</span> <?php echo $valueMember->id; ?></br>
<span>Intake:</span> <?php echo $valueMember->intake; ?></br>
<span>Department:</span> <?php echo $valueMember->department; ?></br>
<span>Shift:</span> <?php echo $valueMember->shift; ?></br>
<span>Mobile:</span> <?php echo $valueMember->mobile; ?>
</h6>
<div class="row pt-3 mt-3 team-social border-top">
<ul class="col-md-12 d-flex justify-content-center social-icons">
<li>
<a href="<?php echo $valueMember->social['facebook']; ?>">
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li class="mx-3">
<a href="<?php echo $valueMember->social['twitter']; ?>">
<i class="fab fa-twitter"></i>
</a>
</li>
<li>
<a href="<?php echo $valueMember->social['googleplus']; ?>">
<i class="fab fa-google-plus-g"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
</section>
<?php
include("footer.php");
?>