X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=view%2Farchive.php;h=4231b176cdc93d6f04aa5f8bf732abbc86fb8d75;hb=0127bff31f49e168b6739746ed9dfbd6455c0833;hp=2829668558f124a156e031bf630f8087e71b2e1f;hpb=853193f66b966ff0bd8c13cc94ee3457d3543d1f;p=dylansserver.git diff --git a/view/archive.php b/view/archive.php index 2829668..4231b17 100644 --- a/view/archive.php +++ b/view/archive.php @@ -22,8 +22,9 @@ SyntaxHighlighter.all(); } - + + @@ -36,20 +37,26 @@
- display_notes() ?> - + notes) >= 1) { + foreach ($this->notes as $note) { + echo "
"; + echo "

"; + echo $note['year_posted'] . "/"; + echo $note['month_posted'] . "/"; + echo $note['day_posted'] . "/"; + echo ""; + echo $note['title'] . "

"; + echo $note['text']; + echo "
"; + } + } else { + echo "
"; + echo "

sorry, nothing here

"; + echo "
Empty set (0.00 sec)
"; + } + ?> +

dylan

@psu.edu