ich hab eine Kategorie deren Link mit dieser Servicenavigation erzeugt wird:
Klicke ich darauf, erscheint weder die unter Mandant eingestellte Fehlerseite, noch die in der Config eingestellte Startseite, sondern immer die Sitemap.<?php
include_once($cfg["path"]["contenido"].$cfg["path"]["includes"]."functions.con.php");
$catStart = "CMS_VALUE[0]";
if ($catStart != "") {
$catIds = conDeeperCategoriesArray($catStart);
if ( is_array($catIds) ) {
foreach($catIds as $key=>$val) {
// Ersten Eintrag ueberspringen, weil das der Menupunkt selbst ist
// und nicht angezeigt werden soll.
if ($key != 0) {
$sql = "SELECT CAT.idcat AS idcat, name FROM ".
$cfg["tab"]["cat"]." AS CAT, ".
$cfg["tab"]["cat_lang"]." AS CATLANG
WHERE CAT.idcat = ".$val."
AND CAT.idcat = CATLANG.idcat
AND CATLANG.idlang = '$lang'";
$db->query($sql);
while ( $db->next_record() ) {
echo '<a href="front_content.php?idcat='.$db->f("idcat").'" class="inactive" title="'.$db->f("name").'">'.$db->f("name").'</a>';
} // end while
} // if
} // end foreach
} // end if (is_array)
}
?>
In der URL findet sich dann das hier:
Code: Alles auswählen
http://cms.domain.de/SITEMAP/Sitemap.html?error=1
