X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=view%2Farchive.php;h=043cefc85c20cc171480111f4e547c22cb9a590d;hb=5f6c05fb2e7147dd96f16e00ba9e48aba978823c;hp=2829668558f124a156e031bf630f8087e71b2e1f;hpb=853193f66b966ff0bd8c13cc94ee3457d3543d1f;p=dylansserver.git diff --git a/view/archive.php b/view/archive.php index 2829668..043cefc 100644 --- a/view/archive.php +++ b/view/archive.php @@ -1,9 +1,9 @@ - + - <?php echo $this->title; ?> + + <?php echo $this->tab_title; ?> @@ -22,41 +22,43 @@ SyntaxHighlighter.all(); } - +
- - + title ?>
- 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


+