";
+ $sql = "SELECT text FROM projects";
+ $result = $this->db->query($sql);
+ while ($entry = $result->fetch_object()) {
+ echo $entry->text;
+ }
+ echo "
";
+ }
- ";
+ 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
-
-
-