Vielleicht findet jemand ja den Fehler in dem Code:
PHP-Code:
if(THIS_SCRIPT == 'forumdisplay') {
$found = preg_match_all('/<a href="forumdisplay\.php\?f=([0-9]+)&page=([0-9]+)&order=desc#i',
$GLOBALS['navbits']['breadcrumb'], $matches);
if($found)
{
$somesize = sizeof($matches[1]);
for($i = 0; $i <= $somesize; $i++)
{
$tid = $matches[1][$i];
$output = str_replace("forumdisplay.php?f=' . $matches[1][$i] . '&page=' . $matches[2][$i] . '&order=desc",
"testlink.html", $output);
unset($tid, $somematch);
}
}
}
Kommentar