Fixed error when .swp files in /notes or /projects
[dylansserver.git] / index.php
index 687fc69..424f850 100644 (file)
--- a/index.php
+++ b/index.php
@@ -145,7 +145,6 @@ class index extends cms {
     echo "<ul id='portfolio' style='text-align:right'>";
     $this->list_projects();
     echo <<<OTHER_PROJECTS
-        <li>
           <h3>things i've done for others:</h3>
         </li>
 
@@ -190,13 +189,13 @@ OTHER_PROJECTS;
   }
 
   protected function display_exhibits() {
+    echo "<div id='exhibit'>";
     $sql = "SELECT text FROM projects";
     $result = $this->db->query($sql);
     while ($entry = $result->fetch_object()) {
-      echo "<div class='exhibit'>";
       echo $entry->text;
-      echo "</div>";
     }
+    echo "</div>";
   }
 
   private function list_projects() {