diff --git a/class.schedule.php b/class.schedule.php --- a/class.schedule.php +++ b/class.schedule.php @@ -344,7 +344,7 @@ class Schedule $table .= ""; // Header row - $table .= "\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t"; + $table .= "\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t"; for($r = 0; $r < (count($time)-1); $r++) { @@ -368,11 +368,11 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $M = $j; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } } @@ -382,10 +382,10 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $M = -1; $filled = true; } @@ -411,11 +411,11 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $Tu = $j; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } } @@ -425,10 +425,10 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $Tu = -1; $filled = true; } @@ -454,11 +454,11 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $W = $j; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } } @@ -468,10 +468,10 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $W = -1; $filled = true; } @@ -497,11 +497,11 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $Th = $j; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } } @@ -511,10 +511,10 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $Th = -1; $filled = true; } @@ -540,11 +540,11 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $F = $j; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } } @@ -554,10 +554,10 @@ class Schedule { if($this->classStorage[$j]->getSection($this->storage[$i][$j])->getEndTime() > $time[$r+1]) { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $filled = true; } else { - $table .= "\n\t\t"; + $table .= "\n\t\t"; $F = -1; $filled = true; }
" . ($i+1) . "MondayTuesdayWednesdayThursdayFriday
" . ($i+1) . "MondayTuesdayWednesdayThursdayFriday
" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "    " . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "    " . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "    " . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "    " . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "" . $this->classStorage[$j]->getName() . " " . $this->classStorage[$j]->getSection($this->storage[$i][$j])->getLetter() . "