-
-
- dylanstestserver
-
-
-
-
-
+
+
+ $title
+
+ $stylesheets
+ $scripts
-
+
+
+
+
-
-
-
REPTHIS
-
-
rapid prototyping replicator
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+END_OF_CONTACT;
+ }
-
readoo/
+ public function display_close($show_contact = true) {
+ if ($show_contact) {
+ $this->display_contact();
+ }
+ echo <<
+
+
+
+
+
+END_OF_CLOSE;
+ ob_flush();
+ }
-
-
-
+}
+class index extends cms {
+ public function display() {
+ $this->display_head();
+ $this->display_exhibits();
+ echo "";
+ $this->list_projects();
+ echo <<
things i've done for others:
- activehamptons.com
-
-
- transfishing.com
-
-
-
-
- things i'm doing for others:
+
+ something i've worked on:
- kjondesign/
+ tempositions.com
-
-
-
+
+ my repositories:
+
+
+ git://dylanstestserver.com
- things i've worked on
+
+ some notes:
- tempositions.com
+ here
-
-
-
+
+
+OTHER_PROJECTS;
+ // Because of the CSS necessary for the animations,
+ // the contact link needs to be in #portfolio to clear
+ // the floats.
+ echo "";
+ $this->display_contact();
+ echo " ";
+ echo "";
+ $this->display_close($show_contact = false);
+ }
- my github repo:
+ protected function display_exhibits() {
+ echo "";
+ $sql = "SELECT text FROM projects";
+ $result = $this->db->query($sql);
+ while ($entry = $result->fetch_object()) {
+ echo $entry->text;
+ }
+ echo "
";
+ }
+
+ private function list_projects() {
+ echo <<
+ my projects:
+HEREDOC;
+ $sql = "SELECT title FROM projects";
+ $result = $this->db->query($sql);
+ while ($entry = $result->fetch_object()) {
+ echo "title\">$entry->title ";
+ }
+ }
+}
- github@github.com:nospampleasemam/
+class project extends index {
+ protected function display_exhibits() {
+ echo "";
+ $sql = "SELECT text FROM projects
+ WHERE title = ?";
+ $result = $this->query($sql, "s", $_GET['project']);
+ if ($result = $result[0]['text']) {
+ $text = str_replace("class=\"exhibit\"", "class=\"exhibit\" style=\"display:block;\"", $result);
+ echo $text;
+ echo "
";
+ } else {
+ throw new notFound();
+ }
+ }
+}
-
-
-
-
-
-
-
+class page extends cms {
+ private $page = 1;
+ private $offset = 0;
+ private $notes_per_page = 4;
+ private $number_of_pages = 1;
- i am
+ public function __construct() {
+ parent::__construct();
+ $this->page_offset();
+ }
- @psu.edu
-
-
-
-
-
-