X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=dacc71689d4f8f6241c11530fad34853756ad13d;hb=51373285852bc0849f42a7610b1fac4937f699f9;hp=687fc690f68cdc323d792cdf97bdeafd960273eb;hpb=8531410ff5fb89df84d28fb097c236e6c5cb894c;p=dylansserver.git diff --git a/index.php b/index.php index 687fc69..dacc716 100644 --- a/index.php +++ b/index.php @@ -190,13 +190,13 @@ OTHER_PROJECTS; } protected function display_exhibits() { + echo "
"; $sql = "SELECT text FROM projects"; $result = $this->db->query($sql); while ($entry = $result->fetch_object()) { - echo "
"; echo $entry->text; - echo "
"; } + echo "
"; } private function list_projects() { @@ -283,7 +283,7 @@ class page extends cms { $datetime_posted = explode(' ', $date_posted[2]); $day_posted = $datetime_posted[0]; echo "
"; - echo "

$year_posted/$month_posted/$day_posted/$title

"; + echo "

$year_posted/$month_posted/$day_posted/$title

"; echo $entry['text']; echo "
"; } @@ -294,7 +294,7 @@ class page extends cms { private function write_navigation() { echo ""; } @@ -402,7 +402,7 @@ class note extends cms { private function display_note() { echo << -

$this->year_posted/$this->month_posted/$this->day_posted/$this->title

+

$this->year_posted/$this->month_posted/$this->day_posted/$this->title

$this->text END_OF_NOTE; @@ -412,14 +412,14 @@ END_OF_NOTE; echo << END_OF_NAVIGATION; } @@ -589,9 +589,9 @@ class archive extends cms { $datetime_posted = explode(' ', $date_posted[2]); $day_posted = $datetime_posted[0]; echo "
"; - echo "

"; + echo "

"; echo "$year_posted/$month_posted/$day_posted/"; - echo "$title

"; + echo "
$title

"; echo $entry['text']; echo "
"; } @@ -599,7 +599,7 @@ class archive extends cms { $this->write_navigation(); } else { echo "
"; - echo "

sorry, nothing here

"; + echo "

sorry, nothing here

"; echo "
Empty set (0.00 sec)
"; } $this->display_close(); @@ -608,9 +608,7 @@ class archive extends cms { private function write_navigation() { echo "
"; echo ""; }