Hi. If you are only including PHP files, you can remove the get_my_includes function, as this function reads but does not parse PHP files. The function is meant for text files like HTML files.
Next, change the following:
PHP Code:
$my_page_header = includes("/home/destroyerx/search/templates/destroyerx/header.php");
$my_page_sidebar = includes("/home/destroyerx/search/templates/destroyerx/sidebar.php");
$my_page_main = includes("/home/destroyerx/search/templates/destroyerx/main.php");
$my_page_footer = includes("/home/destroyerx/search/templates/destroyerx/footer.php");
to the following:
PHP Code:
$my_page_header = include("/home/destroyerx/search/templates/destroyerx/header.php");
$my_page_sidebar = include("/home/destroyerx/search/templates/destroyerx/sidebar.php");
$my_page_main = include("/home/destroyerx/search/templates/destroyerx/main.php");
$my_page_footer = include("/home/destroyerx/search/templates/destroyerx/footer.php");
Last, change the following:
PHP Code:
$t_mstrings = compact('my_page_header','my_page_footer','powered_by_link','title_message','phpdig_version','result_message','nav_bar','ignore_message','ignore_commess','pages_bar','previous_link','next_link','templates_links');
to the following:
PHP Code:
$t_mstrings = compact('my_page_header','my_page_sidebar','my_page_main','my_page_footer','powered_by_link','title_message','phpdig_version','result_message','nav_bar','ignore_message','ignore_commess','pages_bar','previous_link','next_link','templates_links');
Keep everything else the same, and remember to remove any 'word' wrapping in the above code.