<?php
require_once("globals.inc");
parse_str($_SERVER["REQUEST_URI"]);
echo <<<EOD

<html>
<head>
<title>...</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
<body>
<form name="wnamlogin" action="$PORTAL_REDIRURL$" method="post">
	<input type="hidden" name="dst" value="$redirurl" />
	<input type="hidden" name="mac" value = "$CLIENT_MAC$" />
	<input type="hidden" name="ip" value = "$CLIENT_IP$" />
	<input type="hidden" name="server-address" value = "$PORTAL_ACTION$" />
    <input type="hidden" name="site-id" value="$PORTAL_ZONE$"/>
</form>
<script type="text/javascript">
<!--
  document.wnamlogin.submit();
//-->
</script>
</body>
</html>

EOD;

?>
