%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.138.174.122
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/webdebug.antirutin/plugins/element/set_can_buy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/webdebug.antirutin/plugins/element/set_can_buy/.form.php
<?
use
	WD\Antirutin\Helper,
	WD\Antirutin\IBlock;

?>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('MODE_SOURCE');?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?
			$arModes = [
				static::MODE_ALL_PRICES_AND_QUANTITY => static::getMessage('MODE_ALL_PRICES_AND_QUANTITY'),
				static::MODE_ONE_PRICE_AND_QUANTITY => static::getMessage('MODE_ONE_PRICE_AND_QUANTITY'),
				static::MODE_ALL_PRICES => static::getMessage('MODE_ALL_PRICES'),
				static::MODE_ONE_PRICE => static::getMessage('MODE_ONE_PRICE'),
				static::MODE_QUANTITY => static::getMessage('MODE_QUANTITY'),
			];
			print Helper::selectBox($this->getInputName('mode_source'), $arModes, $this->get('mode_source'), null, 
				'data-role="mode_source"');
			?>
		</div>
	</div>
</div>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('PRICE_TYPE', true);?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?=IBlock::showAvailableFields($this->getFields(), $this->strEntityType, $this->getInputName('price_type', true),
				$this->get('price_type'), 'data-role="price_type" multiple="multiple" size="8"', true, false, false, false);?>
		</div>
	</div>
</div>

<?/*
<div class="plugin-form__field">
	<span>
		<input type="hidden" name="<?=$this->getInputName('with_offers');?>" value="N" />
		<input type="checkbox" name="<?=$this->getInputName('with_offers');?>" value="Y" 
			<?if($this->get('with_offers') == 'Y'):?>checked="checked"<?endif?> 
			id="<?=$this->getId('with_offers');?>" data-role="with_offers" />
	</span>
	<label for="<?=$this->getId('with_offers');?>">
		<?=$this->fieldName('WITH_OFFERS', true, false);?>
	</label>
</div>
*/?>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('MODE_OFFERS');?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?
			$arModes = [
				static::MODE_OFFERS_Y => static::getMessage('MODE_OFFERS_Y'),
				static::MODE_OFFERS_N => static::getMessage('MODE_OFFERS_N'),
				static::MODE_OFFERS_F => static::getMessage('MODE_OFFERS_F'),
			];
			print Helper::selectBox($this->getInputName('mode_offers'), $arModes, $this->get('mode_offers'), null, 
				'data-role="mode_offers"');
			?>
		</div>
	</div>
</div>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('TARGET', true);?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?=IBlock::showAvailableFields($this->getFields($this->arFieldsFilter2), $this->strEntityType, 
				$this->getInputName('target'), $this->get('target'), 'data-role="target"', true);?>
		</div>
	</div>
</div>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('MODE_TEXT');?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?
			$arModes = [
				static::MODE_VALUE__1_0 => static::getMessage('MODE_VALUE__1_0'),
				static::MODE_VALUE__1_EMPTY => static::getMessage('MODE_VALUE__1_EMPTY'),
				static::MODE_VALUE__QUANTITY => static::getMessage('MODE_VALUE__QUANTITY'),
			];
			print Helper::selectBox($this->getInputName('mode_text'), $arModes, $this->get('mode_text'), null, 
				'data-role="mode_text"');
			?>
		</div>
	</div>
</div>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('MODE_NUMERIC');?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?
			$arModes = [
				static::MODE_VALUE__1_0 => static::getMessage('MODE_VALUE__1_0'),
				static::MODE_VALUE__1_EMPTY => static::getMessage('MODE_VALUE__1_EMPTY'),
				static::MODE_VALUE__QUANTITY => static::getMessage('MODE_VALUE__QUANTITY'),
			];
			print Helper::selectBox($this->getInputName('mode_numeric'), $arModes, $this->get('mode_numeric'), null, 
				'data-role="mode_numeric"');
			?>
		</div>
	</div>
</div>

<div class="plugin-form__field">
	<div class="plugin-form__field-title">
		<?=$this->fieldName('MODE_LIST');?>
	</div>
	<div class="plugin-form__field-value">
		<div>
			<?
			$arModes = [
				static::MODE_VALUE__ENUM_Y => static::getMessage('MODE_VALUE__ENUM_Y'),
				static::MODE_VALUE__ENUM_YES => static::getMessage('MODE_VALUE__ENUM_YES'),
				static::MODE_VALUE__ENUM_FIRST => static::getMessage('MODE_VALUE__ENUM_FIRST'),
				static::MODE_VALUE__ENUM_LAST => static::getMessage('MODE_VALUE__ENUM_LAST'),
			];
			print Helper::selectBox($this->getInputName('mode_list'), $arModes, $this->get('mode_list'), null, 
				'data-role="mode_list"');
			?>
		</div>
	</div>
</div>

<input type="hidden" data-role="error_no_source_price" value="<?=static::getMessage('ERROR_NO_SOURCE_PRICE');?>" />
<input type="hidden" data-role="error_no_target_field" value="<?=static::getMessage('ERROR_NO_TARGET_FIELD');?>" />

Youez - 2016 - github.com/yon3zu
LinuXploit