added notes page
This commit is contained in:
17
Views/Notes/showNotes.phtml
Normal file
17
Views/Notes/showNotes.phtml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php include dirname(__DIR__).'/header.phtml'; ?>
|
||||
|
||||
<h2>Notes</h2>
|
||||
|
||||
<div class="container">
|
||||
<?php
|
||||
|
||||
foreach($notes as $n) {
|
||||
echo '<div class="item-4-12">';
|
||||
echo '<h3>' . $n["title"] . '</h3>'
|
||||
. '<p>' . $n["content"] . '</p>';
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
Reference in New Issue
Block a user