addNav("Home", ROOT);
$this->addNav("Meet The Team", ROOT . "about.php");
$this->addNav("Secure", ROOT ."secure");
$this->addNav("Course Site", "https://cse.msu.edu/~cse435/");
}
public function head(){
$root = ROOT;
$html = <<
$this->title
HTML;
return $html;
}
public function header(){
$html = <<
$this->title
HTML;
return $html;
}
public function page(){
$html = <<Content coming soon...
HTML;
return $html;
}
public function addNav($name, $link){
$this->links[] = array("name" => $name, "link" => $link);
}
public function footer(){
$html = <<
HTML;
return $html;
}
public function setTitle($title){
$this->title = $title;
}
private $links = array();
protected $title = "Not Set!";
}