0) { $rs=mysql_fetch_assoc($result); $f_id=$rs['id']; $path_f_id[]=$rs['id']; $page_url=$rs['url']; $root_url[]=$page_url; $root_link_text[]=$rs['link_text']; if ($i+1!=count($url_folders)) $parent.=$page_url."/"; } else { $bad_root=true; break; } } if ($bad_root) { header("HTTP/1.0 404 Not Found"); $rs['father_id']=0; $rs['id']=0; $rs['title']="Plumber Washington DC - Error 404"; $rs['h1']="Page Not Found"; $rs['content']="The Page could not be found."; $page_url=$url_full_path; } $page_url="sd_".$page_url; $rsfather=$rs['father_id']; $page_id=$rs['id']; $h1=($rs['h1'])?"

".ucwords_exeptions(special_chars($rs['h1']))."

\n":""; $content=str_to_code($rs['content']); require "../header.php"; require "../sidebar.php"; $pre_root=""; $root_links='Homepage'; for ($i=0; $i'.ucwords_exeptions(special_chars($root_link_text[$i])).''; } $root_links.=" » ".ucwords_exeptions(special_chars($root_link_text[count($root_url)-1])); $root_links=($page_url=="index")?'':''; echo $root_links.$h1.$content; require "../footer.php";*/ require "../index.php"; ?>