public static function show($user) { $links = array("Home" => "home", "Build a Map" => "build-map", "Log Out" => "log-out"); ###(HTML) ?> <!DOCTYPE html> <html> <?php MasterView::insertHead(null); ?> <body> <?php MasterView::insertNav($links); ProfileView::insertContent($user); MasterView::insertFooter(null); ?> </body> </html> <?php ###(ENDHTML) }
public static function show($user) { $links = array("New Trip" => "new-trip", "My Trips" => "my-trips", "Log Out" => "log-out"); ###(HTML) ?> <!DOCTYPE html> <html> <?php MasterView::insertHead("/sm_project/css/Form.css", ""); ?> <body> <?php MasterView::insertNav($links); ProfileView::insertContent($user); MasterView::insertFooter(null); ?> </body> </html> <?php ###(ENDHTML) }