<html>
<head>
<title>....::::pics 4 da peeps::::....</title>
<script>
function openwindow(filename, id, width, height, resizable, scrollbars, menubar, toolbar, directories, locationbar, statusbar){
var theleft = (screen.width / 2) - (width / 2);
var thetop = (screen.height / 2) - (height / 2);
window.open(filename, id, 'left=' + theleft + ',top=' + thetop + ',width=' + width + ',height=' + height + ',resizable=' + resizable + ',scrollbars=' + scrollbars + ',menubar=' + menubar + ',toolbar=' + toolbar + ',directories=' + directories + ',location=' + locationbar + ',status=' + statusbar);
}
</script>
</head>
<body>
<?php
if($HTTP_POST_VARS){
foreach($HTTP_POST_VARS as $Key=>$Value)
{
$$Key = $Value;
}
}
if($HTTP_COOKIE_VARS){
foreach($HTTP_COOKIE_VARS as $Key=>$Value)
{
$$Key = $Value;
}
}
if($HTTP_GET_VARS){
foreach($HTTP_GET_VARS as $Key=>$Value)
{
$$Key = $Value;
}
}
if($HTTP_SERVER_VARS){
foreach($HTTP_SERVER_VARS as $Key=>$Value)
{
$$Key = $Value;
}
}
if($HTTP_ENV_VARS){
foreach($HTTP_ENV_VARS as $Key=>$Value)
{
$$Key = $Value;
}
}
?>
<form method="post" action="<? echo $PHP_SELF; ?>">
</br>
<input type="radio" name="pics" value="thorsen">
Bense/Thorsen
</br>
<input type="radio" name="pics" value="maskebal">
Maskebal
</p>
<input type="submit" value="fire it up">
</form>
<?php
switch ($pics) {
case "thorsen":
?>
<script>openwindow('
http://www.hotmail.com', 'id', 400, 300, 'no', 'no', 'no', 'no', 'no', 'no', 'no');</script>
<?php
break;
case "maskebal":
echo ("");
break;
}
?>
</body>
</html>