<?php
session_start();
?>
<html>
<head>
<title>Passwortgeschützter Bereich</title>
</head>
<body>
<?php
$Zugangspasswort = "1234";
if($_SESSION['Passwort'] == $Zugangspasswort)
{
?>
<script type="text/javascript" src="swfobject.js"></script><div id="CC7026782"><b>OOPS! </b>You forgot to upload swfobject.js ! You must upload this file for your form to work.</div><script type="text/javascript">var so = new SWFObject("myform.swf", "myform.xml", "660", "755", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("FlashVars", "xmlfile=myform.xml&w=660&h=755");so.write("CC7026782");</script>
<?
}
else
{
echo"Sie sind nicht berechtigt die Seite anzuzeigen!<br>Bitte loggen Sie sich vorher <a href=\"registrierung.html\">hier</a> ein.";
}
?>
</body>
</html>