%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.145.111.116 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/modules/esol.importexportexcel/admin/ |
Upload File : |
<? if (!CModule::IncludeModule("iblock")) return false; IncludeModuleLangFile(__FILE__); $moduleId = 'esol.importexportexcel'; $moduleIdUl = 'esol_importexportexcel'; $aMenu = array(); global $USER; $bUserIsAdmin = $USER->IsAdmin(); $bHasWRight = false; $rsIBlocks = CIBlock::GetList(array("SORT"=>"asc", "NAME"=>"ASC"), array("MIN_PERMISSION" => "U")); if($arIBlock = $rsIBlocks->Fetch()) { $bHasWRight = true; } if($APPLICATION->GetGroupRight($moduleId) < "W") { $bHasWRight = false; } if($bUserIsAdmin || $bHasWRight) { $aSubMenu = array(); $aSubMenu[] = array( "text" => GetMessage("KDA_MENU_IMPORT_TITLE"), "url" => "esol_import_excel.php?lang=".LANGUAGE_ID, "more_url" => array( "esol_import_excel_profile_list.php", "esol_import_excel_rollback.php" ), "title" => GetMessage("KDA_MENU_IMPORT_TITLE"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl, "sort" => 100, "section" => $moduleIdUl."_import", ); if(CModule::IncludeModule('highloadblock')) { $aSubMenu[] = array( "text" => GetMessage("KDA_MENU_IMPORT_TITLE_HIGHLOAD"), "url" => "esol_import_excel_highload.php?lang=".LANGUAGE_ID, "title" => GetMessage("KDA_MENU_IMPORT_TITLE_HIGHLOAD"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl."_highload", "sort" => 200, "section" => $moduleIdUl."_import", ); } $aSubMenu[] = array( "text" => GetMessage("KDA_MENU_IMPORT_TITLE_STAT_WRAP"), "title" => GetMessage("KDA_MENU_IMPORT_TITLE_STAT_WRAP"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl, "sort" => 300, "section" => $moduleIdUl."_import", 'items' => array( array( "text" => GetMessage("KDA_MENU_IMPORT_TITLE_STAT"), "url" => "esol_import_excel_event_stat.php?lang=".LANGUAGE_ID, "title" => GetMessage("KDA_MENU_IMPORT_TITLE_STAT"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl, "sort" => 100, "section" => $moduleIdUl."_import", ), array( "text" => GetMessage("KDA_MENU_IMPORT_TITLE_STAT_DETAIL"), "url" => "esol_import_excel_event_log.php?lang=".LANGUAGE_ID, "title" => GetMessage("KDA_MENU_IMPORT_TITLE_STAT_DETAIL"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl, "sort" => 200, "section" => $moduleIdUl."_import", ) ) ); $aMenu[] = array( "parent_menu" => "global_menu_content", "section" => $moduleIdUl."_import", "sort" => 1400, "text" => GetMessage("KDA_MENU_IMPORT_TITLE_PARENT"), "title" => GetMessage("KDA_MENU_IMPORT_TITLE_PARENT"), "icon" => "esol_importexportexcel_menu_import_icon", "items_id" => "menu_".$moduleIdUl."_parent_import", "module_id" => $moduleId, "items" => $aSubMenu, ); $aSubMenu = array(); $aSubMenu[] = array( "text" => GetMessage("KDA_MENU_EXPORT_TITLE"), "url" => "esol_export_excel.php?lang=".LANGUAGE_ID, "more_url" => array("esol_export_excel_profile_list.php"), "title" => GetMessage("KDA_MENU_EXPORT_TITLE"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl, "sort" => 100, "section" => $moduleIdUl."_export", ); if(CModule::IncludeModule('highloadblock')) { $aSubMenu[] = array( "text" => GetMessage("KDA_MENU_EXPORT_TITLE_HIGHLOAD"), "url" => "esol_export_excel_highload.php?lang=".LANGUAGE_ID, "title" => GetMessage("KDA_MENU_EXPORT_TITLE_HIGHLOAD"), "module_id" => $moduleId, "items_id" => "menu_".$moduleIdUl."_highload", "sort" => 200, "section" => $moduleIdUl."_export", ); } $aMenu[] = array( "parent_menu" => "global_menu_content", "section" => $moduleIdUl."_export", "sort" => 1401, "text" => GetMessage("KDA_MENU_EXPORT_TITLE_PARENT"), "title" => GetMessage("KDA_MENU_EXPORT_TITLE_PARENT"), "icon" => "esol_importexportexcel_menu_import_icon", "items_id" => "menu_".$moduleIdUl."_parent_export", "module_id" => $moduleId, "items" => $aSubMenu, ); } return $aMenu; ?>