sql_query($sql)) ) { message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } while ( $row = $db->sql_fetchrow($result) ) { $theme[$row['name']] = $row['value']; } // //Initialiesierung Template // $template_path = 'templates/' ; $template_name = $shop_config['template_name'] ; $template = new Template($apt_root_path . $template_path . $template_name); // // Ende Initialiesierung // //Seiten Intitialiesierung include($apt_root_path . 'includes/page_header_start.php'); include($apt_root_path . 'includes/page.php'); include($apt_root_path . 'includes/page_tail.php'); $template->pparse('overall_startheader'); $template->pparse('overall_header'); $template->pparse('body','body1'); $template->pparse('overall_footer'); // // Close our DB connection. // $db->sql_close(); exit; ?>