uawdijnntqw1x1x1
IP : 18.224.5.46
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) 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
/
www
/
axolotl
/
data
/
www
/
yar.axolotls.ru
/
bitrix
/
.
/
components
/
bitrix
/
main.share
/
component.php
/
/
<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); if($this->InitComponentTemplate()) $template = &$this->GetTemplate(); else return; if ( !array_key_exists("ALIGN", $arParams) || strlen(trim($arParams["ALIGN"])) <= 0 || !in_array($arParams["ALIGN"], array("left", "right")) ) $arParams["ALIGN"] = "left"; $arResult["COUNTER"] = $this->__currentCounter; $arResult["FOLDER_PATH"] = $folderPath = $template->GetFolder(); $path2Handlers = $_SERVER["DOCUMENT_ROOT"].$folderPath."/handlers/"; CheckDirPath($path2Handlers); $arHandlers = array(); if ($handle = opendir($path2Handlers)) { while (($file = readdir($handle)) !== false) { if ($file == "." || $file == "..") continue; if (is_file($path2Handlers.$file) && strtoupper(substr($file, strlen($file)-4))==".PHP") { $name = $title = $icon_url_template = $charset = ""; $sort = 0; $charsBack = false; include($path2Handlers.$file); if (strlen($name) > 0) { $arHandlers[$name] = array( "TITLE" => $title, "ICON" => $icon_url_template, "SORT" => intval($sort), ); if (strlen($charset) > 0) $arHandlers[$name]["CHARSET"] = $charset; if ($charsBack) $arHandlers[$name]["CHARSBACK"] = true; } } } } $arResult["HANDLERS_ALL"] = $arHandlers; if(!is_array($arParams["HANDLERS"])) { if (LANGUAGE_ID != 'ru') { unset($arHandlers["vk"]); unset($arHandlers["mailru"]); } $arParams["HANDLERS"] = array_keys($arHandlers); } $arResult["BOOKMARKS"] = array(); $arResult["PAGE_URL"] = CHTTP::URN2URI($arParams["PAGE_URL"]); $arResult["PAGE_TITLE"] = $arParams["PAGE_TITLE"]; foreach ($arResult["HANDLERS_ALL"] as $name => $arHandler) { if (in_array($name, $arParams["HANDLERS"])) { $PageTitle = $arResult["PAGE_TITLE"]; if (array_key_exists("CHARSBACK", $arHandler) && $arHandler["CHARSBACK"]) $PageTitleBack = htmlspecialcharsback($PageTitle); $arHandler["ICON"] = str_replace("#PAGE_URL#", $arResult["PAGE_URL"], $arHandler["ICON"]); $arHandler["ICON"] = str_replace("#PAGE_URL_ENCODED#", urlencode($arResult["PAGE_URL"]), $arHandler["ICON"]); if (array_key_exists("CHARSBACK", $arHandler) && $arHandler["CHARSBACK"]) { $arHandler["ICON"] = str_replace("#PAGE_TITLE#", CUtil::JSEscape($PageTitleBack), $arHandler["ICON"]); $arHandler["ICON"] = str_replace("#PAGE_TITLE_ENCODED#", urlencode($PageTitleBack), $arHandler["ICON"]); $arHandler["ICON"] = str_replace("#PAGE_TITLE_ORIG#", CUtil::addslashes($PageTitle), $arHandler["ICON"]); $utfTitle = $APPLICATION->ConvertCharset($PageTitleBack, LANG_CHARSET, "UTF-8"); $arHandler["ICON"] = str_replace("#PAGE_TITLE_UTF_ENCODED#", urlencode($utfTitle), $arHandler["ICON"]); } else { $arHandler["ICON"] = str_replace("#PAGE_TITLE#", CUtil::addslashes($PageTitle), $arHandler["ICON"]); $arHandler["ICON"] = str_replace("#PAGE_TITLE_ENCODED#", urlencode($PageTitle), $arHandler["ICON"]); $utfTitle = $APPLICATION->ConvertCharset($PageTitle, LANG_CHARSET, "UTF-8"); $arHandler["ICON"] = str_replace("#PAGE_TITLE_UTF_ENCODED#", urlencode($utfTitle), $arHandler["ICON"]); } $arResult["BOOKMARKS"][$name]["ICON"] = $arHandler["ICON"]; $arResult["BOOKMARKS"][$name]["SORT"] = $arHandler["SORT"]; } } sortByColumn($arResult["BOOKMARKS"], "SORT"); CUtil::InitJSCore(); $this->IncludeComponentTemplate(); ?>
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/./components/bitrix/main.share/component.php