} // check auth $getAuth->checkAuth($_COOKIE, $_SESSION, $p); // get page folder $include_path = $getLib->checkAdminPath($p); // current page $website_current_page = "管理"; // get title $website_title = $getLib->setFilter($cpsub['title']) . "-" . $website_current_page; ?> <!DOCTYPE html> <html lang="zh-tw"> <head> <?php echo $getTmp->setHeader($website_title); ?> </head> <body> <div class="container"> <div class="page-header"> <h1><a href="./"><?php echo $getLib->setFilter($cpsub['title']); ?> </a> <small><?php echo $website_current_page; ?> </small></h1> </div> <nav class="navbar navbar-default" role="navigation"> <div class="container">
public static function errorTemplate($msg) { Template::setHeader(); echo $msg; }