uawdijnntqw1x1x1
IP : 216.73.216.59
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
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,
OS : Linux
PATH:
/
var
/
.
/
backup
/
.
/
external_www
/
new02.medcomp.ru
/
bitrix
/
components
/
soulstream
/
jquery
/
component.php
/
/
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die(); if(!isset($arParams["CACHE_TIME"])) { $arParams["CACHE_TIME"] = 3600; } $cache_id = implode(",", $arParams); $cache_path = SITE_ID.'/soulstream/jquery/'; if($arParams['CACHE_TYPE'] == 'N') { CPHPCache::Clean($arParams['CACHE_TIME'], $cache_id, $cache_path); } $obCache = new CPHPCache; if($obCache->InitCache($arParams['CACHE_TIME'], $cache_id, $cache_path)){ $vars = $obCache->GetVars(); $arResult = $vars["CACHE"]; } if($obCache->StartDataCache()){ include('functions.php'); $arResult = array(); $arResult['JS'] = array(); $arResult['CSS'] = array(); $arResult['PATH_TO_COMPONENT'] = $this->GetPath(); // parse $arParams array & get name of files for include foreach ($arParams as $code=>$item) { if(strpos($code, 'JQ_') !== false && strpos($code, '~JQ_') === false && $item && $item != '-') { list($prefix, $jsname) = explode('_', $code); if(is_array($item)) { foreach ($item as $it) { if($it != '-') { $arResult['JS'][] = $arResult['PATH_TO_COMPONENT'].'/js/'.strtolower($jsname).'/'.$it; $arResult['CSS'][] = $arResult['PATH_TO_COMPONENT'].'/js/'.strtolower($jsname).'/'.JsToCss($it); } } } else { $arResult['JS'][] = $arResult['PATH_TO_COMPONENT'].'/js/'.strtolower($jsname).'/'.$item; $arResult['CSS'][] = $arResult['PATH_TO_COMPONENT'].'/js/'.strtolower($jsname).'/'.JsToCss($item); } } } // check css files foreach ($arResult['CSS'] as $src) { if(is_file($_SERVER['DOCUMENT_ROOT'].$src)) { $arResult['ADD2HEAD'][] = "<link href=\"".$src."\" type=\"text/css\" rel=\"stylesheet\" />"; } } // check js files foreach ($arResult['JS'] as $src) { if(is_file($_SERVER['DOCUMENT_ROOT'].$src)) { $arResult['ADD2HEAD'][] = "<script type=\"text/javascript\" src=\"".$src."\"></script>"; } } // set cache $obCache->EndDataCache(array( "CACHE"=>$arResult, )); } // add to head js and css files foreach ($arResult['ADD2HEAD'] as $string) { $GLOBALS["APPLICATION"]->AddHeadString($string, true); } $this->IncludeComponentTemplate(); ?>
/var/./backup/./external_www/new02.medcomp.ru/bitrix/components/soulstream/jquery/component.php