403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/sale/handlers/paysystem/wooppay/template/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/sale/handlers/paysystem/wooppay/template/iframe.php
<?php
use Bitrix\Main\Web\Uri;
use Bitrix\Main\Localization\Loc;

Loc::loadMessages(__FILE__);

$url = new Uri($params['url']);
$url->addParams([
	'view_format' => 'frame',
]);
?>
<style>
	.wooppay-iframe-payment {
		border: none;
		width: 100%;
		height: 310px;
	}
</style>

<div class="mb-4" >
	<p><?= Loc::getMessage('SALE_HANDLERS_PAY_SYSTEM_TEMPLATE_IFRAME_WOOPPAY_DESCRIPTION'); ?></p>
	<p><?= Loc::getMessage(
		'SALE_HANDLERS_PAY_SYSTEM_TEMPLATE_IFRAME_WOOPPAY_SUM',
		[
			'#SUM#' => SaleFormatCurrency($params['sum'], $params['currency']),
		]
	); ?></p>
	<div class="alert alert-info"><?= Loc::getMessage('SALE_HANDLERS_PAY_SYSTEM_TEMPLATE_IFRAME_WOOPPAY_WARNING_RETURN'); ?></div>
	<div class="d-flex align-items-center mb-3">
		<iframe src="<?= $url->getLocator(); ?>" class="wooppay-iframe-payment" id="wooppay-iframe-payment"></iframe>
	</div>
</div>

<script>
	BX.ready(function() {
		var wooppayIframePayment = document.querySelector('#wooppay-iframe-payment');
		if (wooppayIframePayment)
		{
			if (BX.browser.IsMobile())
			{
				wooppayIframePayment.style.height = '500px'
			}
		}
	});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit