Updated to use full directory path for includes, removes conflict occurring with template.php when loading from admin.