public static function show($user) { ###(HTML) ?> <!DOCTYPE html> <html> <?php MasterView::insertHead(null); ?> <body> <?php MasterView::insertHeader(null); MasterView::insertNav(null); LogInView::insertContent($user); MasterView::insertFooter(null); ?> </body> </html> <?php ###(ENDHTML) }
public static function show($user) { $links = array("Home" => "home", "View my Profile" => "profile", "Build a Map" => "build-map", "Log Out" => "log-out"); ###(HTML) ?> <!DOCTYPE html> <html> <?php MasterView::insertHead(null); ?> <body> <?php MasterView::insertHeader(null); MasterView::insertNav($links); EditProfileView::insertContent($user); MasterView::insertFooter(null); ?> </body> </html> <?php ###(ENDHTML) }
public static function show($map) { $links = array("Home" => "home", "View my Profile" => "profile", "Log Out" => "log-out"); ###(HTML) ?> <!DOCTYPE html> <html> <?php MasterView::insertHead(null); ?> <body style="height:100%"> <?php MasterView::insertHeader(null); MasterView::insertNav($links); MapView::insertMap($map); MapView::insertContent(); MasterView::insertFooter(null); ?> </body> </html> <?php ###(ENDHTML) }