%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.118.217.124
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/product_set/

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/product_set//.form.php
<?
use
	WD\Antirutin\Helper,
	WD\Antirutin\IBlock;

$arProducts = $this->getSavedProducts();
$arProducts = array_merge([null], $arProducts);

?>

<div class="wda_product_set" id="<?=$this->getId();?>">
	<span><?=static::getMessage('TYPE');?>:</span>
	<input type="radio" name="<?=$this->getInputName('type');?>" value="2" id="<?=$this->getId('type');?>_2"
		<?if($this->get('type') != '1'):?>checked<?endif?> />
	<label for="<?=$this->getId('type');?>_2"><?=static::getMessage('TYPE_2');?>:</label>
	<input type="radio" name="<?=$this->getInputName('type');?>" value="1" id="<?=$this->getId('type');?>_1"
		<?if($this->get('type') == '1'):?>checked<?endif?> />
	<label for="<?=$this->getId('type');?>_1"><?=static::getMessage('TYPE_1');?>:</label>
	<div class="wda_product_set-table_wrapper adm-list-table-wrap">
		<table class="adm-list-table">
			<thead>
				<tr class="adm-list-table-header">
					<td class="wda_product_set-col_product adm-list-table-cell">
						<div class="adm-list-table-cell-inner"><?=static::getMessage('COL_PRODUCT');?></div>
					</td>
					<td class="wda_product_set-col_amount adm-list-table-cell">
						<div class="adm-list-table-cell-inner"><?=static::getMessage('COL_AMOUNT');?></div>
					</td>
					<td class="wda_product_set-col_sort adm-list-table-cell">
						<div class="adm-list-table-cell-inner"><?=static::getMessage('COL_SORT');?></div>
					</td>
					<td class="wda_product_set-col_percent adm-list-table-cell">
						<div class="adm-list-table-cell-inner"><?=static::getMessage('COL_PERCENT');?></div>
					</td>
					<td class="wda_product_set-col_delete adm-list-table-cell">
						<div class="adm-list-table-cell-inner"><?=static::getMessage('COL_DELETE');?></div>
					</td>
				</tr>
			</thead>
			<tbody>
				<?foreach($arProducts as $arProduct):?>
					<?
					$arProduct = is_array($arProduct) ? $arProduct : [];
					$intProductId = intVal($arProduct['id']);
					$strProductName = '';
					if($intProductId > 0 && \Bitrix\Main\Loader::includeModule('iblock')){
						if($arElement = \CIBlockElement::getList([], ['ID' => $intProductId], false, false, ['NAME'])->fetch()){
							$strProductName = $arElement['NAME'];
						}
					}
					?>
					<tr class="adm-list-table-row">
						<td class="wda_product_set-col_product adm-list-table-cell align-right">
							<div class="wda_product_set-product_select">
								<input type="text" name="<?=$this->getInputName('products');?>[id][]" value="<?=htmlspecialcharsbx($arProduct['id']);?>" size="10" maxlength="10" />
								<input type="button" value="..." data-role="product_select" />
							</div>
							<div class="wda_product_set-product_name"><?=$strProductName;?></div>
						</td>
						<td class="wda_product_set-col_amount adm-list-table-cell align-right">
							<input type="text" name="<?=$this->getInputName('products');?>[amount][]" value="<?=htmlspecialcharsbx($arProduct['amount']);?>" size="10" maxlength="10" data-default="1" />
						</td>
						<td class="wda_product_set-col_sort adm-list-table-cell align-right">
							<input type="text" name="<?=$this->getInputName('products');?>[sort][]" value="<?=htmlspecialcharsbx($arProduct['sort']);?>" size="10" maxlength="10" data-default="100" />
						</td>
						<td class="wda_product_set-col_percent adm-list-table-cell align-right">
							<input type="text" name="<?=$this->getInputName('products');?>[percent][]" value="<?=htmlspecialcharsbx($arProduct['percent']);?>" size="10" maxlength="3" />
						</td>
						<td class="wda_product_set-col_delete adm-list-table-cell align-right">
							<input type="button" value="&times;" title="<?=static::getMessage('ROW_DELETE');?>" data-role="row_delete" />
						</td>
					</tr>
				<?endforeach?>
			</tbody>
		</table>
	</div>
	<div class="wda_product_set-button_add">
		<input type="button" value="<?=static::getMessage('ROW_ADD');?>" data-role="row_add" />
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit