uawdijnntqw1x1x1
IP : 216.73.216.202
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
/
.
/
files
/
need-2-delete
/
mini-borishof.ru1
/
bitrix
/
modules
/
translate
/
admin
/
translate_show_php.php
/
/
<? /** @global CMain $APPLICATION */ /** @global CUser $USER */ use Bitrix\Main\Loader; require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/translate/prolog.php"); if(!$USER->CanDoOperation('edit_php')) $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED")); Loader::includeModule('translate'); IncludeModuleLangFile(__FILE__); define("HELP_FILE","translate_list.php"); $strError = ""; $file = Rel2Abs("/", $file); $abs_path = CSite::GetSiteDocRoot(false).htmlspecialcharsbx($file); if (!isAllowPath($file) || strpos($file, "/lang/") === false || GetFileExtension($file) <> "php") $strError = GetMessage("trans_edit_err")."<br>"; $APPLICATION->SetTitle(GetMessage("TRANS_TITLE")); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); if($strError == "") { $aTabs = array( array("DIV" => "edit1", "TAB" => GetMessage("TRANS_TITLE"), "ICON" => "translate_edit", "TITLE" => GetMessage("TRANS_TITLE_TITLE")), ); $tabControl = new CAdminTabControl("tabControl", $aTabs); $chain = ""; $arPath = array(); $path_back = dirname($file); $arSlash = explode("/",$path_back); if (is_array($arSlash)) { $arSlash_tmp = $arSlash; $lang_key = array_search("lang", $arSlash) + 1; unset($arSlash_tmp[$lang_key]); if ($lang_key==sizeof($arSlash)-1) { unset($arSlash[$lang_key]); $path_back = implode("/",$arSlash); } $i = 0; foreach($arSlash_tmp as $dir) { $i++; if ($i==1) { $chain .= "<a href=\"translate_list.php?lang=".LANGUAGE_ID."&path=/"."&".bitrix_sessid_get()."\" title=\"".GetMessage("TRANS_CHAIN_FOLDER_ROOT")."\">..</a> / "; } else { $arPath[] = htmlspecialcharsbx($dir); if ($i>2) $chain .= " / "; $chain .= "<a href=\"translate_list.php?lang=".LANGUAGE_ID."&path="."/".implode("/",$arPath)."/"."&".bitrix_sessid_get()."\" title=\"".GetMessage("TRANS_CHAIN_FOLDER")."\">".htmlspecialcharsbx($dir)."</a>"; } } } } $APPLICATION->SetTitle(GetMessage("TRANS_TITLE")); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); if($strError <> "") { CAdminMessage::ShowMessage($strError); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php"); die(); } $aMenu = array(); $aMenu[] = array( "TEXT" => GetMessage("TRANS_LIST"), "LINK" => "/bitrix/admin/translate_list.php?lang=".LANGUAGE_ID."&path=/".implode("/",$arPath)."/"."&".bitrix_sessid_get(), "TITLE" => GetMessage("TRANS_LIST_TITLE"), "ICON" => "btn_list" ); $aMenu[] = array( "TEXT" => GetMessage("TR_FILE_EDIT"), "LINK" => "/bitrix/admin/translate_edit_php.php?lang=".LANGUAGE_ID."&file=$file&".bitrix_sessid_get(), "TITLE" => GetMessage("TR_FILE_EDIT_TITLE"), "ICON" => "" ); $context = new CAdminContextMenu($aMenu); $context->Show(); ?> <p><?=$chain?></p> <? $tabControl->Begin(); $tabControl->BeginNextTab(); highlight_file($abs_path); $tabControl->End(); require_once ($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
/var/./files/need-2-delete/mini-borishof.ru1/bitrix/modules/translate/admin/translate_show_php.php