X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=view%2Farchive.php;h=4bc6db782a20022192d1938a3c128ea9f66a0f0c;hb=91b1060a9de9dbb818256d4380a6913152f08d72;hp=2829668558f124a156e031bf630f8087e71b2e1f;hpb=853193f66b966ff0bd8c13cc94ee3457d3543d1f;p=dylansserver.git diff --git a/view/archive.php b/view/archive.php index 2829668..4bc6db7 100644 --- a/view/archive.php +++ b/view/archive.php @@ -1,8 +1,8 @@ - + + <?php echo $this->title; ?> @@ -22,7 +22,7 @@ SyntaxHighlighter.all(); } - + @@ -30,33 +30,39 @@
- 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 + "mailto:dylan@dylansserver.com">dylan@dylansserver.com


+