function footer ($exit = 0) {
echo $this->html[1];
unset ($this->html[1]);
if (defined('admin')) {
ob_end_flush();
} else {
$c = ob_get_clean();
$c = preg_replace ('%href=\"\?([^\"]+)\"%Uis', "href=\"index.php?\\1\"", $c);
$c = preg_replace ('%href=\"index.php\?([-0-9A-Z]+)#([a-zA-Z0-9]+)\">%Uis', "href=\"\\1.html#\\2\">", $c);
$c = preg_replace ('%href=\"index.php\?([-0-9A-Z]+)\">%Uis', "href=\"\\1.html\">", $c);
$c = preg_replace ('%action=\"\?([^\"]+)\"%Uis', "action=\"index.php?\\1\"", $c);
$c = preg_replace ('%URL=\?([^\"]+)\"%Uis', "URL=index.php?\\1\"", $c);
echo $c;
}
if ($exit == 1) {
exit();
}
}
Zuletzt modifiziert von Mairu am 29.05.2010 - 07:43:38


