X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=view%2Farchive.php;h=3a5848424c358918b6e759fab43ac1382047e17c;hb=HEAD;hp=2829668558f124a156e031bf630f8087e71b2e1f;hpb=853193f66b966ff0bd8c13cc94ee3457d3543d1f;p=dylansserver.git diff --git a/view/archive.php b/view/archive.php index 2829668..3a58484 100644 --- a/view/archive.php +++ b/view/archive.php @@ -1,9 +1,9 @@ - + - <?php echo $this->title; ?> + + <?php echo $this->tab_title; ?> @@ -22,37 +22,38 @@ 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@disinclined.org">dylan@disinclined.org