-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathspecialistGroup.php
128 lines (74 loc) · 2.62 KB
/
specialistGroup.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
<?php
session_start();
$pageName='Nos Spécialistes';
include 'assets/bootstrapAsset.php';
include_once 'autoload.php';
if (isset($_SESSION['user'])) {
include_once "navbarCo.php";
} else {
include_once "navbarDeco.php";
}
?>
<link rel="stylesheet" href="css/specialistGroup.css">
</head>
<body>
<div class="specialist__container">
<div class="poster">
<div class="posterDetails">
<div class="c4 sign faded" >
<span style="font-size:2em; font-weigh:bold">Celiac101</span>
</div>
</div>
<div class="pimg"><img class="posterImg" src="images/doctor-poster.png" alt=""></div>
</div>
<div id="effect" class="wavy">
<span><img src="images/doctor.png" class="wavy__icon" alt=""></span>
<span style="--i:1;">N</span>
<span style="--i:2;">O</span>
<span style="--i:3;">S</span>
<span style="--i:3;"></span>
<span style="--i:3;"></span>
<span style="--i:4;">S</span>
<span style="--i:5;">P</span>
<span style="--i:6;">E</span>
<span style="--i:7;">C</span>
<span style="--i:8;">I</span>
<span style="--i:9;">A</span>
<span style="--i:10;">L</span>
<span style="--i:11;">I</span>
<span style="--i:12;">S</span>
<span style="--i:13;">T</span>
<span style="--i:14;">E</span>
<span style="--i:15;">S</span>
<span><img src="images/doctor.png" class="wavy__icon" alt=""></span>
</div>
<div class="card__wrapper">
<?php
$spRep=new SpecialistRepository();
$specialists=$spRep->findAll();
foreach($specialists as $specialist){
?>
<div class="card">
<div class="card__body">
<img src=<?php echo "data:image/jpeg;base64," . base64_encode($specialist['image']) ?> class="card__img spec">
<h2 class="card__title spec"><?php echo ($specialist['lastName'] ." ". $specialist['firstName'])?></h2>
<div class="card__detail">
</div>
<p class="card__description spec">
<?php echo $specialist['profession']?>
</p>
<div class="card__options">
<a href="specialistProfile.php?id=<?php echo $specialist['id']?> " class="btn btn1 don" >Voir Profil</a>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<?php include_once 'footer.php' ?>
<?php include_once 'assets/scripts.php' ?>
<script src="js/main.js"></script>
<script type="js/scrollUpBtn.js"></script>
<script src="js/testnav.js"></script>
</body>
<html>