Build template.php by includes