Файл: exchange.php
Строк: 36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Payeer® Обменник</title>
<link href="//payeer.com/css/exchange.css?<?php echo time()?>" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="//payeer.com/api/exchange/jquery.js"></script>
<!--[if lte IE 7]>
<script type="text/javascript" src="//payeer.com/api/exchange/json2.js"></script>
<![endif]-->
<script type="text/javascript" src="//payeer.com/api/exchange/jquery.xdomainrequest.js"></script>
<script type="text/javascript" src="//payeer.com/api/exchange/ex.js?<?php echo time()?>"></script>
</head>
<body>
<?
$lang_param = (empty($_GET['lang']))?'ru':$_GET['lang'];
?>
<script type="text/javascript">
var myExchange=new jsMyExchange(5080204, ".api_exchange","","<?=$lang_param?>");
$(document).ready(function()
{
<?php if (isset($_REQUEST["ex_orderid"]) && isset($_REQUEST["ex_ordertime"])): ?>
<?
$ex_orderid = intval($_REQUEST["ex_orderid"]);
$ex_ordertime = intval($_REQUEST["ex_ordertime"]);
?>
myExchange.myProcessOrder('<?php echo $ex_orderid?>', '<?php echo $ex_ordertime?>', 'Y');
<?php else: ?>
myExchange.list();
<?php endif; ?>
});
</script>
<div class="api_exchange"></div>
</body>
</html>