-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfellowsTable.php
More file actions
34 lines (34 loc) · 775 Bytes
/
fellowsTable.php
File metadata and controls
34 lines (34 loc) · 775 Bytes
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
<?php
header('Content-type: text/html; charset=utf-8');
require_once "./ajax/PointsCenter.php";
$points_center = new \Slivka\PointsCenter();
$fellows = $points_center->getFellows();
?>
<html>
<body>
<table width="100%" border="1" cellspacing="0" cellpadding="10pt">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>About</th>
<th>Photo</th>
</tr>
</thead>
<tbody>
<?php
for ($ii = 0; $ii < count($fellows); $ii++) {
?>
<tr>
<td><?= $fellows[$ii]["full_name"] ?></td>
<td><?= $fellows[$ii]["position"] ?></td>
<td><?= $fellows[$ii]["about"] ?></td>
<td style="padding:0; width:100px;"><img src="./img/slivkans/<?= $fellows[$ii]["photo"] ?>" width="100px" /></td>
</tr>
<?php
}
?>
</tbody>
</table>
</body>
</html>