".($dataPA['LINKNAME']).""; } $beschreibung = ($data['DESCRIPTION']); $linkname = ($data['LINKNAME']); $linknameleer = " ".($data['LINKNAME'])." "; $linkname12 = " ".$linkname." "; $linkname13 = " ".$linkname." "; //$linkname42 = "".$linkname.""; $beschreibung2 = $beschreibung; //$beschreibung2 = str_replace_once($linkname,$linkname12,$beschreibung2); //$beschreibung2 = str_replace_once($linkname1,$linkname42,$beschreibung2); //$beschreibung2 = str_replace_last($linkname,$linkname13,$beschreibung2); $queryMATCH = "SELECT SQL_CACHE URLNAME, LINKNAME, HEADLINE FROM content where LINKNAME <> '".$linkname."' "; $resultMATCH = mysql_query($queryMATCH); while($dataMATCH = mysql_fetch_array($resultMATCH)) { $ersstring = " ".$dataMATCH['LINKNAME']." "; $linknamedb = " ".$dataMATCH['LINKNAME']." "; $beschreibung2 = str_replace_last($linknamedb,$ersstring,$beschreibung2); } $beschreibung2 = str_replace_first($linknameleer,$linkname12,$beschreibung2); $pos1 = strpos($linknameleer,$beschreibung2); $beschreibung2 = str_replace_second($linknameleer,$linkname13,$beschreibung2,$pos1); $urlname = ($data['URLNAME']); $cgroup = ($data['CGROUP']); $totaln++; } if (($totaln=="") OR ($totaln=="0")) { header("HTTP/1.0 404 Not Found"); header("Location: ".$domainurl); exit(); } $queryNA = "SELECT SQL_CACHE * FROM content WHERE ID = '".mysql_real_escape_string(($produktid+1))."'"; $resultNA = mysql_query($queryNA); while($dataNA = mysql_fetch_array($resultNA)) { $nalink = ">"; } $queryLA = "SELECT SQL_CACHE * FROM content WHERE ID = '".($produktid-1)."'"; $resultLA = mysql_query($queryLA); while($dataLA = mysql_fetch_array($resultLA)) { $lalink = "<"; } ?> <?echo($produktname);?> - <?echo($linkname);?> - <?echo($cgroupkat[$cgroup]);?> - <?echo($mainkey1)?> - <?echo($mainkey2)?>