36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
<?php
|
|
if (!empty($_GET['l']))
|
|
$language = $_GET['l'];
|
|
else {
|
|
$lang = getenv('HTTP_ACCEPT_LANGUAGE');
|
|
$lang = preg_replace('/(;q=[0-9]+.[0-9]+)/i','',$lang);
|
|
$tmp = substr($lang, 0, 2);
|
|
$language = (($tmp=='de') || ($tmp=='es') || ($tmp=='en')) ? $tmp : 'en';
|
|
}
|
|
if ($language == 'de')
|
|
$title = 'Willkommen!';
|
|
else if ($language == 'es')
|
|
$title = 'Bienvenido!';
|
|
else
|
|
$title = 'Welcome!';
|
|
?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="robots" content="noindex,nofollow" />
|
|
<meta name="audience" content="all" />
|
|
<meta name="doc-type" content="web page" />
|
|
<meta name="author" content="Bitpalast GmbH Deutschland" />
|
|
<title><?=$title?></title>
|
|
</head>
|
|
<frameset cols="*">
|
|
<frame src="https://preiswerter-webserver-de.bitpalast.net/parking.php" scrolling="auto" noresize="noresize" />
|
|
<noframes>
|
|
<body>
|
|
Your browser does not support frames
|
|
</body>
|
|
</noframes>
|
|
</frameset>
|
|
</html>
|