function bhi_create_sectionpage($sectionarray) { foreach ($sectionarray as $section) { $page['content'] .= bhi_create_section($section); $page['title'] = $section['title']; } return bhi_create_page($page); }
switch ($page) { default: $pagea[] = (include "other/404.inc.php"); echo bhi_create_sectionpage($pagea); break; case "splash": $pagea = (include "other/splash.inc.php"); echo bhi_create_nobannerpage($pagea); break; case "menu": $pagea = (include "other/menu.inc.php"); echo bhi_create_page($pagea); break; case "system_information": $pagea = (include "other/sysinfo.inc.php"); echo bhi_create_page($pagea); break; case "install_start": $pagea[1] = (include "install/intro.inc.php"); $pagea[2] = (include "install/checks.inc.php"); if ($pagea[2]['continue'] == 1) { $pagea[] = (include "install/choosedb.inc.php"); } echo bhi_create_sectionpage($pagea); break; case "install_choose_database": $pagea[] = (include "install/choosedb.inc.php"); echo bhi_create_sectionpage($pagea); break; case "install_configure_database": $pagea[] = (include "install/configdb.inc.php");