Просмотр файла wu-engine/wu-pay-systems/wu_pay_redirect_webmoney.php

Размер файла: 1.28Kb
<?php
if(!defined('WEBUPPER')){ exit; }
$keys_in_array = explode('||', $keys_in);
$w_purse = $keys_in_array[0];
$encoded = base64_encode($comment);
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" action="https://merchant.webmoney.ru/lmi/payment.asp" method="post">
<input type="hidden" name="LMI_PAYEE_PURSE" value="'.$w_purse.'">
<input type="hidden" name="LMI_PAYMENT_NO" value="'.$batch.'">
<input type="hidden" name="LMI_PAYMENT_AMOUNT" value="'.$sum.'">
<input type="hidden" name="LMI_PAYMENT_DESC_BASE64" value="'.$encoded.'">
</form>
<script type="text/javascript">
document.forms["wu-send"].submit();
</script>
</body>
</html>
';
?>