Example #1
0
$cpsub = $getSettings->getSettings();
$getLib = new Lib($cpsub['filter'], $cpsub['stripslashes']);
$getAuth = new Auth($config_account_data, $getLib);
$getTmp = new Template($config_current_version);
// check file status
$getLib->checkFileStatus($config_default_folder);
$getLib->checkFileStatus($config_article_file_path);
// get page val
$p = $getLib->setFilter($_GET['p']);
if (!$getLib->checkVal($p)) {
    $p = "about";
}
// 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">