<?php
session_start();
$_SESSION['paymentInterfaceRequestParams'] = $_REQUEST;
if($_SESSION['paymentInterfaceRedirectType'] == 'redirect') {
    header('Location: index.php?formaction=s3&agb=1');
    exit;
}
?>
<html>
<head>

</head>
<body>
<?php if($_SESSION['paymentInterfaceRedirectType'] == 'iframe') {?>
<script type="text/javascript">
    window.parent.location.href = 'index.php?formaction=s3&agb=1';
</script>
<?php } elseif($_SESSION['paymentInterfaceRedirectType'] == 'popup') {?>
<script type="text/javascript">
    window.opener.location.href = 'index.php?formaction=s3&agb=1';
    window.close();
</script>
<?php }?>
</body>
</html>