Размер файла: 1.48Kb
<?php
if(!defined('WEBUPPER')){ exit; }
$keys_in_array = explode('||', $keys_in);
$fk_merchant_id = $keys_in_array[0];
$fk_merchant_key = $keys_in_array[1];
$fk_merchant_key2 = $keys_in_array[2];
$m_orderid = $batch;
$hash = md5($fk_merchant_id.":".$sum.":".$fk_merchant_key.":".$m_orderid);
echo '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Переход к оплате</title>
<style>
.holder { position: absolute; top: 50%; left: 50%; } .global { height: 200px; width: 300px; margin-top:-100px; margin-left:-150px; } .gear { top: 0 !important; height: 100px; width: 100px; margin-left:-50px; } .label { font-family:Arial,Helvetica,Sans-serif; font-size:18px; width: 170px; top: 60% !important; margin-left:-75px; }
</style>
</head>
<body>
<div class="holder global">
<div class="holder gear">
<img src="/wu-static/img/webupper_load.gif" alt="Оплата" />
</div>
<span class="holder label">Переход к оплате...</span>
</div>
<form id="wu-send" method="GET" action="http://www.free-kassa.ru/merchant/cash.php" style="display:none">
<input type="hidden" name="m" value="'.$fk_merchant_id.'">
<input type="hidden" name="oa" value="'.$sum.'">
<input type="hidden" name="o" value="'.$m_orderid.'">
<input type="hidden" name="s" value="'.$hash.'">
<input type="hidden" name="us_id" value="'.$m_orderid.'">
<input type="submit" value="send" />
</form>
<script type="text/javascript">
document.forms["wu-send"].submit();
</script>
</body>
</html>
';
?>