$m1 = isset($_GET['m1']) ? $_GET['m1'] : '';
$redirect_url = 'http://wirtualnebiuro.krakow.pl/';
switch ($m1) {
case 'strona_glowna': $redirect_url .= 'index.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'wirtualny_adres': $redirect_url .= 'wirtualny-adres.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'cennik': $redirect_url .= 'cennik.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'o_nas': $redirect_url .= 'o-nas.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'uslugi': $redirect_url .= 'uslugi-dodatkowe.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'help': $redirect_url .= 'pomoc.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'kontakt': $redirect_url .= 'kontakt.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
case 'faq': $redirect_url .= 'pomoc.html'; header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirect_url); exit();include("kontakt.php"); break;
default:
include("strona_glowna.php"); break;
//print("
");
//print("
");
}
?>