PHP - 移动目录并包含某些文件

My question to you all is:

This is my current folder structure

Htdocs
¦ cgi-bin/
¦ error_pages/
¦ includes/
¦ pages/
¦ ssi/
¦ template/

In my template directory I have my header, navbar, index and footer.html files In my pages directory I have separate folders for all of my seperate web pages in those folders

My current issue is in pages/updates/index.php I'm trying to include everything from my template directory! I used the following code

include("../../template/header.html");<br>
include("../../template/navbar.html");<br>
include("../../template/footer.html");

When I do this my content is working but none of my css files and or my java script files will load!

I have tried everything thing from include, require_once, include $_SERVER['DOCUMENT_ROOT'].'/template/header.html';! I have tried 15 different wesites and this is my last hope! I don't wanna have to include all of those files into one! I want then dymanic just like they are!