'bilder','title'=>'Bilder und Fotos','slogan'=>'Bilder und Fotos aus '.$bild['stadt']['stadt'],'subjects'=>'Bilder und Fotos'); } elseif (mysql_num_rows($result)==0) { // false Subdomain oder www $result=mysql_query("select * from laeden order by subdomain"); while($zeile=mysql_fetch_assoc($result)) { $design['laeden'][]=$zeile; } include("templates/head.html"); include("templates/startseite_www.html"); die(); } else { if ($subdomain=="alle") $conf["domain"]="Verzeichnis"; else { $conf["domain"]=mysql_fetch_assoc($result); $design['sitename']=$conf['domain']['subdomain'].".laeden.me"; $design['slogan']=$conf['domain']['desc']; } list($bl)=explode("/",$_GET["rewrite"]); if (strstr($_SERVER['HTTP_HOST'],"verzeichnis.")) list($dummy,$bl)=explode("/",$_GET["rewrite"]); $result=mysql_query("select * from laeden.geo_states_ref where name LIKE '".wort_decode($bl)."'"); $conf["bundesland"]=mysql_fetch_assoc($result); } ob_start(); if ($_GET["page"] && !strstr($_GET["page"],".")) include("inc_content/".$_GET["page"].".php"); else include("inc_content/startseite.php"); $text=ob_get_clean(); if($subdomain!='bilder') include("templates/head.html"); else include("templates/head_panoramio.html"); echo $text; if ($subdomain!='bilder') { $design["menu"]=array(); $result=mysql_query("select name from laeden.geo_states_ref order by name"); while($zeile=mysql_fetch_assoc($result)) { if (strstr($_SERVER['HTTP_HOST'],"verzeichnis.")) { if ($subdomain) $design["menu"][]='

'.$zeile['name'].'

'; else $design["menu"][]='

'.$zeile['name'].'

'; } else $design["menu"][]='

'.$zeile['name'].'

'; } } if($subdomain!='bilder') include("templates/foot.html"); else include("templates/foot_panoramio.html"); ?>