init($_GET); $page->siteHead(); $sql = "SELECT sec_id FROM Sections, Content WHERE cnt_section=sec_path AND cnt_id='$page->id'"; $db->query($sql); $db->next_record(); $id = $db->f('sec_id'); include_once SITE_ROOT . "/cmgr/layout_". $id .".php"; $page->siteFoot(); ?>