header('Content-type: text/html; charset=UTF-8'); header("Location:/koch-welten", true, 301); exit; /* error_reporting(E_ALL); ini_set("display_errors", 1); */ include "lib/phpInclude.php"; if (stristr($content, 'content/kochkurse/')) { $pagetitle = "KochWelten - Kochkurse"; } else if (stristr($content, 'content/kochschulen/')) { $pagetitle = "KochWelten - Kochschulen"; } else if (stristr($content, 'content/neuigkeiten/')) { $pagetitle = "KochWelten - Neuigkeiten"; } else if (stristr($content, 'content/bilder/')) { $pagetitle = "KochWelten - Bilder"; } else if (stristr($content, 'content/rezepte/')) { header("Location:http://special.neff.de/rezepte", true, 301); exit; $pagetitle = "KochWelten - Rezepte"; } else { $pagetitle = "KochWelten - Übersicht"; } if ($_GET['content'] == "content/gutschein/index") { header ('HTTP/1.1 301 Moved Permanently'); header("Location: index.php?content=content/gutschein-kochkurs/index"); exit; } if ($_GET['83']) { echo "http://www.neff.de/händlersuche-suchergebnis.html?76=".$_POST['Lat']."&77=".$_POST['Lon']."&72=471"; } else { # if (!$content) { # $content = "content/veranstaltung/index"; # } if ( ! ( stristr($_SERVER['QUERY_STRING'],"http" ) || stristr($_SERVER['QUERY_STRING'],"ftp") || stristr($_SERVER['QUERY_STRING'],"//") || stristr($_SERVER['QUERY_STRING'],"..") || stristr($_SERVER['QUERY_STRING'],"src=") ) ) { $inhalt = $content; # if (strstr($content,'content/cug') && !$phpReseller->isAuthorized()) { # Header("Location: index.php"); # exit; # } } else { Header("Location: index.php"); exit; } if ($_REQUEST['content'] == 'content/veranstaltung/detail') { $phpEvent = phpEvent::instance($id); } if ($_REQUEST['content'] == 'content/neuigkeiten/detail' || $_REQUEST['content'] == 'content/rezepte/detail') { $phpNews = phpNews::instance($id); } #$phpPageinfo = phpPageinfo::instance(); ?>