rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><?php// define flash content width and height HERE ONLY.$flash_height = 500;$flash_width = 900;$half_height = floor($flash_height/2);$half_width = floor($flash_width/2);$bg_colour = "#ffffff";$lang = $_GET["lang"];switch($lang) { case 'fr': $file = "site.swf?lang=fr"; break; case 'en': $file = "site.swf?lang=en"; break; case 'jp': $file = "site_jp.swf?lang=jp"; break;}?><!-- Standard index file for including flash content vertically and horizontally centred.--><head> <title>Marie-Hélène de Taillac</title> <meta name="author" content="Marie-Hélène de Taillac"/> <meta name="copyright" content="Marie-Hélène de Taillac" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> function printPopup(title, text) { document.getElementById('printheader').innerHTML = title; document.getElementById('printcontent').innerHTML = text; window.print(); } </script> <style type="text/css"> @media screen { body { background-color: <?=$bg_colour?>; margin: 0; padding: 0; } * { font-family:arial, verdana, sans-serif; font-size:10px; color: #ccc; } a { text-decoration: none; color: #ccc; } a:hover { text-decoration: underline; } #flashcontainer { position: absolute; margin: -<?=$half_height?>px auto auto -<?=$half_width?>px; left: 50%; top: 50%; width: <?=$flash_width?>px; height: <?=$flash_height?>px; } p { position: relative; margin: -50px auto auto -175px; left: 50%; top: 50%; width: 350px; height: 100px; overflow: visible; display: none; } div#printarea { display: none; } p#<?=$lang?> { display: block; } span { position: absolute; width: 100%; bottom: 0; text-align: center; } } @media print { * { font-family: Verdana, Arial, sans-serif; font-size: 1em; color: #000; } span { display: none; } #flashcontainer { diplay: none; } div#printarea { position: absolute; left: 0; top: 0; display: block; } div#printarea h1 { font-size: 2em; display: block; color: #F9163C; } div#printarea p { display: block; } } </style> </head><body> <div id="flashcontainer"> <p id="en"> You need to install Adobe Flash Player or upgrade to a new version, in order to view this site correctly.<br /><br /> Get <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player</a> now! </p> <p id="fr"> You need to install Adobe Flash Player or upgrade to a new version, in order to view this site correctly.<br /><br /> Get <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player</a> now! </p> <p id="jp"> You need to install Adobe Flash Player or upgrade to a new version, in order to view this site correctly.<br /><br /> Get <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player</a> now! </p> </div> <span><a href="http://www.spill.net/">Site by Spill</a></span> <script type="text/javascript"> var flashobj = new SWFObject("<?=$file?>", "flashmovie", "<?=$flash_width?>", "<?=$flash_height?>", "8", "<?=$bg_colour?>"); flashobj.write("flashcontainer"); </script> <div id="printarea"> <h1 id="printheader"></h1> <p id="printcontent"></p> </div></body></html>