rss layout now fully separated m/v/c
[dylansserver.git] / view / index.php
index ec7c7c6..2f9b0c9 100644 (file)
@@ -3,7 +3,7 @@
 
 <html>
 <head>
-  <title><?php echo $this->title; ?></title>
+  <title><?php echo $this->title ?></title>
   <link rel="icon" href="/favicon.ico" type="image/png">
   <link href='/includes/style.css' rel='stylesheet' type='text/css'>
   <script type='text/javascript' src='/includes/index.js'></script>
       border="0"></a>
     </div>
     <div id="content">
-      <?php $this->display_exhibits() ?>
+      <div id='exhibit'>
+        <?php
+          foreach ($this->exhibits as $exhibit) {
+            echo $exhibit;
+          }
+        ?>
+      </div>
       <ul id="portfolio">
         <li>
            <h3>my projects:</h3>
         </li>
-        <?php $this->list_projects() ?>
+        <?php
+          foreach ($this->projects as $project => $title) {
+              echo "<li><a class='tab' href='$title'>$title</a></li>";
+          }
+        ?>
         <li>
           <h3>things i've done for others:</h3>
         </li>
  
         <li>
         </li>
-      <li>
-      <?php $this->display_contact() ?>
-      </li>
+
+        <li>
+          <div id="contact_me"><h1><a href=
+          "mailto:dylan@psu.edu">dylan</a></h1><a href=
+          "mailto:dylan@psu.edu">@psu.edu</a>
+          </div>
+        </li>
       </ul>
-      </div>
-      <br>
-      <br>
     </div>
+    <br>
+    <br>
   </div>
 </body>
 </html>
+</html>