X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=cms.php;h=00a8d7c151adc54074a4a4674d65ae39428a4349;hb=881515b9693cfac8ea4bda6a3f466766bb582430;hp=caa22a11a318d990717318d3804bdd49f1bcb3fe;hpb=16f255160412aa91e0de89ecb6724daf3ebcaca8;p=dylansserver.git diff --git a/cms.php b/cms.php index caa22a1..00a8d7c 100644 --- a/cms.php +++ b/cms.php @@ -320,7 +320,10 @@ class page extends cms { } public function display() { - $this->display_head(); + require_once("view/page.php"); + } + + public function display_notes() { echo "
"; $sql = "SELECT date_posted, title, url, text FROM notes ORDER BY date_posted DESC @@ -347,25 +350,7 @@ class page extends cms { END_NOTE; } echo "
"; - $this->write_navigation(); - $this->display_close(); - } - - private function write_navigation() { - echo ""; } - }