"; IF ($headinstall) { IF (!file_exists($path."/own-incs/head.inc")) { require("$path/inc/head.inc"); } ELSE { require($path."own-incs/head.inc"); } } $cms_body.=" "; // Die Bodyinformationen werden durch head.inc übergeben $cms_body.=""; $body_temp=$body; $body=""; IF (!$site AND $sid) { $ssresult=mysql_query("Select id,ausgabestring FROM formsites WHERE id='$sid'"); $found=mysql_num_rows($ssresult); } IF (!$sfid AND !$sfinc AND !$subfid AND !$subfinc OR (!$found AND $sid)) { $ssresult=mysql_query("Select id,ausgabestring FROM formsites WHERE name='HTML-Seiten'"); while($zeile=mysql_fetch_array($ssresult)) { $sfid=$zeile["id"]; $ausg=$zeile["ausgabestring"]; } $arr=explode(",",$ausg); $sfinc=$arr[0]; IF ($site) {$add="Hauptseite='1' AND";} $result=mysql_query("SELECT id FROM html WHERE $add cleared != '1' ORDER BY id LIMIT 1"); $found=mysql_num_rows($result); while($zeile=mysql_fetch_array($result)) { $sid=$zeile["id"]; } $subforminc1=$path."open_inc/html_out.inc"; } // Wenn über Site ein festen Name vorgegeben wird, dann diesen aufrufen und anzeigen IF ($site or $article) { require("$path/inc/sitecheck.inc"); } // ECHO "$akt_Baustein_id $site $sid $sfid $sfinc $subid $subfid $subfinc
"; $arr=explode("/",$shopurl); $rawurl="http://$arr[0]"; $shortlink="$rawurl$PHP_SELF"; IF ($QUERY_STRING) {$shortlink.="?$QUERY_STRING";} // ECHO "SELECT puffer_code FROM xmlsitemap WHERE (sid='$sid' AND sfid='$sfid' AND sfinc='$sfinc' AND subid='$subid' AND subfid='$subfid' AND subfinc='$subfinc' OR shortlink='$rawurl$PHP_SELF?$QUERY_STRING') AND puffer_code != ''"; $result=mysql_query("SELECT puffer_code FROM xmlsitemap WHERE (sid='$sid' AND sfid='$sfid' AND sfinc='$sfinc' AND subid='$subid' AND subfid='$subfid' AND subfinc='$subfinc' OR shortlink='$rawurl$PHP_SELF?$QUERY_STRING') AND puffer_code != ''"); $puffercodefound=mysql_num_rows($result); IF ($puffercodefound) { while($zeile=mysql_fetch_array($result)) { $puffer_code=$zeile["puffer_code"]; } } IF (!$puffer_code) { IF ($sfid AND $sfinc) { $subforminc1=$path."own-incs/".$sfinc.".inc"; $subforminc2=$path."open_inc/".$sfinc.".inc"; } IF ($subfid AND $subfinc AND !$sfid AND !$sfinc) { $subforminc1=$path."own-incs/".$subfinc.".inc"; $subforminc2=$path."open_inc/".$subfinc.".inc"; } // Wenn über Site ein fester Name vorgegeben wird, dann diesen aufrufen und anzeigen IF ($site or $article) { require("$path/inc/sitecheck.inc"); } IF (file_exists("$subforminc1")) {require("$subforminc1");} IF (file_exists("$subforminc2") AND !file_exists("$subforminc1")) {require("$subforminc2");} IF ($adminhelp AND $uname AND $ucode AND $direct_edit) {$cms_body.= "
$adminhelp
";} require($path."inc/css_menu_aktivierung.inc"); $cms_body.= "$Google_Analytics_Code"; IF ($SSL) { $festvariablen = array ("http://" => "https://"); $htmlout_temp=strtr("$htmlout_temp", $festvariablen ); } $festvariablen = array ("[PRO_JAVAADD]" => "$PRO_Javahead"); $cms_body=strtr("$cms_body", $festvariablen ); } ELSE { $cms_body=$puffer_code; } IF (!$unbekannteSeite) { ECHO $cms_body; } ELSE { header ('HTTP/1.1 301 Moved Permanently'); header("refresh:0; url=http://$shopurl"); } $dateizeit=filectime($pfad."tmp/xmlsitemap.xml"); $zeitraum = mktime(0, 0, 0, date("m")-15 , date("d"), date("Y")); //IF (!$puffer_code) { // Im HTMl-Verzeichnis müssen schreibrechte zum erzeugen der Datei sitemap_index.xml existieren! //IF ($dateizeit < $zeitraum) { require($path."inc/tempwriteout.inc"); //} //} $messungEnde = strtok(microtime(), " ") + strtok(" "); // echo "
Dauer: ".number_format($messungEnde - $messungStart, 6)." Sekunden"; ?>