@@ -140,6 +135,7 @@ END_OF_CLOSE;
class index extends cms {
public function display() {
+ $this->scripts = "";
$this->display_head();
$this->display_exhibits();
echo "
";
@@ -167,14 +163,14 @@ class index extends cms {
- git://dylanstestserver.com
+ "git">git://dylansserver.com
-
some notes:
- here
+ "/notes/">here [rss]
-
@@ -182,21 +178,21 @@ OTHER_PROJECTS;
// Because of the CSS necessary for the animations,
// the contact link needs to be in #portfolio to clear
// the floats.
- echo "- ";
+ echo "
- ";
$this->display_contact();
- echo "
";
+ echo "";
echo "
";
$this->display_close($show_contact = false);
}
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() {
@@ -282,10 +278,15 @@ class page extends cms {
$month_posted = $date_posted[1];
$datetime_posted = explode(' ', $date_posted[2]);
$day_posted = $datetime_posted[0];
- echo "
";
- echo "
$year_posted/$month_posted/$day_posted/$title
";
- echo $entry['text'];
- echo "
";
+ $text = $entry['text'];
+ echo <<
+
+ $year_posted/$month_posted/$day_posted/$title
+
+ $text
+
+END_NOTE;
}
echo "";
$this->write_navigation();
@@ -294,7 +295,7 @@ class page extends cms {
private function write_navigation() {
echo "
$author
"; echo <<name:
-email:
-@@ -505,19 +508,31 @@ END_CAPTCHA_STYLE; END_OF_FORM; echo recaptcha_get_html($this->recaptcha_publickey); if ($this->failed_captcha) { - echo <<
+ try again? +