header.php & footer.php added

by using require_once(), include(), and global variables