
<?php
  $pre    = "<HTML>\n<HEAD>\n";
  $post   = "<title>Marktplatz Westsachsen</title>\n<META HTTP-EQUIV = \"PRAGMA\" CONTENT=\"no-cache\">\n".
            "<meta http-equiv = \"Expires\" Content = \"-1\">\n<meta http-equiv = \"Expires\" Content = \"now\">\n".
            "<meta http-equiv = \"Pragma\" Content = \"private\">\n<meta http-equiv = \"Cache-Control\" Content = \"no-cache\">\n".
            "</HEAD>\n</HTML>\n";

  $v_site = $_GET['site'];
  switch($v_site) {
    case "SE":
      echo $pre;
      echo "<META HTTP-EQUIV=REFRESH CONTENT=\"0;URL=http://www.sabine-engelmann.de/index.php\">";
      echo $post;
      break;
    case "WESA":
      echo $pre;
      echo "<META HTTP-EQUIV=REFRESH CONTENT=\"0;URL=https://www.westsachsen.de/index.php\">";
      echo $post;
      break;
    default:
      http_response_code(404);
      include('not_found.html');
      die();
  }
?>

