<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ZDFtext</title>
<script type="text/JavaScript">
function changebg(tobj) {
if (tobj && document.getElementById) {
document.getElementById('mybody').bgColor = tobj;
}
}
</script>

</head>
<?php 


function cleanurl($url) {
$bad_entities = array("&", "\"", "'", '\"', "\'", "<", ">", "(", ")", "%5C%22", "%27", "%5C%27", "%3C", "%3E", "%28" , "%29");
$safe_entities = array("&", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
$url = str_replace($bad_entities, $safe_entities, $url);
return $url;
}


$teletext = cleanurl($_SERVER['QUERY_STRING']); 
parse_str($teletext);

if ($zaehler != "" && is_numeric($zaehler) == true) {
 
	$str1 = "zaehler=".$zaehler;
} else {
	$str1 = "";
}
if ($subpage != "" && is_numeric($subpage) == true) {
	$str2 = "subpage=".$subpage;
} else {
		$str2 = "";
}

?>
<body bgcolor="#000000" text="#000000" leftmargin="0" topmargin="5" marginwidth="0" marginheight="0" id="mybody" >
  
<div align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="386" id="master" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="ttx.swf?<?php echo($str1."&".$str2);?>" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<embed src="ttx.swf?<?php echo($str1."&".$str2);?>" quality="high" bgcolor="#FFFFFF" width="550" height="386" name="ttx" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
