hi,
i currently have a small template system set up for my website, and i was wondering how i could take this feature further and much more advanced and make it more reliable on one page, and therefor slowing down the load times.
i basically only want some advice on what i could do, but any code snippets would be greatly appreciated 😉
at the moment, i have in my main directory some files which all load the same template.php file from an include folder.
<?php
include("includes/template.php");
?>
and i have another file with the same name in a folder called /pages/ this file contains the information specific to that file.
i've attached the template.php file so you can see what exactly i'm doing and give me any pointers
thanks alot
Comms