bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
|
78.1.1
by Johan Gustavsson
added controller, model and view for View students, so that next imp can continue on it |
1 |
<!-- examplesBody.php -->
|
2 |
<div id="exampleBodyMenu"> |
|
3 |
<h1 class="temph1">Students</h1> |
|
4 |
<!-- Only displayed when teacher --> |
|
5 |
<a class="btn cp">Add student</a> |
|
6 |
|
|
7 |
</div> |
|
8 |
||
9 |
<div id="bodyContainer"> |
|
10 |
||
11 |
<!-- Loops down below makes it possible to load values from a source --> |
|
12 |
<?php |
|
13 |
foreach ($students as $key => $value){ |
|
14 |
echo '<div id="'.$value.'" class="banner row"> |
|
15 |
<h1 class="categoryName" name="'.$value.'">'.$value.'</h1>'; |
|
16 |
echo '</div>'; |
|
17 |
}
|
|
18 |
?>
|
|
19 |
</div> |
|
20 |
||
21 |
</div> |
|
22 |
</body>
|
|
23 |
</html>
|
|
24 |