<?php
session_name('EBBM');
session_start();
define('EBUDGET', '1.0.0');
date_default_timezone_set("Asia/Bangkok");
require_once "configs/ebudget_connection.php";
$PHP_SELF = "index.php";
global $html_head;
global $html_script;
global $html;
$html_head= "<!DOCTYPE html><html><head><title>EBBM</title>
<meta http-equiv='Content-Type' content='text/html' charset='utf-8' />";
$html_script="<link rel='stylesheet' href='assets/css/main.css' type='text/css' />
<link href='https://fonts.googleapis.com/css?family=Athiti:400,600&display=swap' rel='stylesheet'>
<link href='https://fonts.googleapis.com/icon?family=Material+Icons' rel='stylesheet'>
<link rel='icon' href='./assets/images/favicon.png'>
<link rel='apple-touch-icon' href='./assets/images/favicon.png''>
<script type='text/javascript' src='assets/js/main.js'></script>";
$html="</head><body>";
require_once("main.php");
$html .="<footer><div class=footer>".$_SESSION['footer']."</div></footer>";
$html .="<noscript>!Warning! Javascript must be enabled for proper operation of the Administrator</noscript></body></html>";
htmlOutput();
$_SESSION['warning']="";
mysqli_close($connect);
?>