X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=cms.php;h=f3902b336c22cb47e922adf794bf86b80cabcba5;hb=8b7b8fa879010e1418c4c68aee73fe00c5ae43a7;hp=bd7ed60536fcaed9f1ae7b36212861b2ecb77fd9;hpb=ab2ed4cb0b2a7a397e868ca3ce6f7cde7a306b32;p=dylansserver.git diff --git a/cms.php b/cms.php index bd7ed60..f3902b3 100644 --- a/cms.php +++ b/cms.php @@ -70,63 +70,6 @@ abstract class cms { } $statement->free_result(); return $return; - } - - public function display_head($title = "dylansserver", - $home_link = "/") { - $scripts = $this->scripts; - $stylesheets = ""; - $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylansserver.com&ucn_task=conformance#"; - echo << - - - - - - - $this->title - - $stylesheets - $scripts - - - -
- - -
-END_OF_HEAD; - } - - public function display_contact() { - echo <<

dylan

@psu.edu -
-END_OF_CONTACT; - } - - public function display_close($show_contact = true) { - if ($show_contact) { - $this->display_contact(); - } - echo << -
-
-
- - -END_OF_CLOSE; - ob_flush(); } public function init() { @@ -309,30 +252,6 @@ class note extends cms { public $number_of_comments; public function __construct() { - $this->scripts = " - - - - - - "; - - if (isset($_GET['comments'])) { - $this->scripts .= " - - "; - } parent::__construct(); if (isset($_GET['comments'])) { $this->comments_enabled = true;