uawdijnntqw1x1x1
IP : 216.73.216.163
Hostname : yjpwxulqtt
Kernel : Linux yjpwxulqtt 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,exec,system,passthru,shell_exec,proc_open,popen
OS : Linux
PATH:
/
home
/
user
/
web
/
pansionat-v-yaroslavle.ru
/
public_html
/
70645
/
..
/
bitrix
/
modules
/
.
/
vote
/
admin
/
menu.php
/
/
<? IncludeModuleLangFile(__FILE__); $rights = $APPLICATION->GetGroupRight("vote"); if ($rights == "D") return false; CModule::IncludeModule('vote'); $db_res = \Bitrix\Vote\Channel::getList(array( 'select' => array("*"), 'filter' => ($rights < "W" ? array( "ACTIVE" => "Y", "HIDDEN" => "N", ">PERMISSION.PERMISSION" => 1, "PERMISSION.GROUP_ID" => $USER->GetUserGroupArray() ) : array()), 'order' => array( 'TITLE' => 'ASC' ), 'group' => array("ID") )); $menuResults1 = array(); if (($arChannel = $db_res->fetch()) && $arChannel) { $db_res2 = \Bitrix\Vote\Channel::getList(array( 'select' => array("*"), 'filter' => ($rights < "W" ? array( "ACTIVE" => "Y", "HIDDEN" => "N", ">=PERMISSION.PERMISSION" => 4, "PERMISSION.GROUP_ID" => $USER->GetUserGroupArray() ) : array()), 'order' => array( 'TITLE' => 'ASC' ), 'group' => array("ID") )); $channels = array(); while ($res = $db_res2->fetch()) { $channels[$res["ID"]] = $res; } do { $menuChannel1 = array( "text" => htmlspecialcharsEx($arChannel["TITLE"]), "url" => "vote_list.php?lang=".LANGUAGE_ID."&find_channel_id=".$arChannel['ID'], "module_id" => "vote", "page_icon" => "vote_page_icon", "items_id" => "vote_channel_".$arChannel["ID"], "more_url" => Array( "vote_edit.php?lang=".LANGUAGE_ID."&CHANNEL_ID=".$arChannel["ID"] ), "items" => array(), "dynamic" => true ); if (method_exists($this, "IsSectionActive") && ($this->IsSectionActive("vote_channel_".$arChannel["ID"]) || $this->IsSectionActive("menu_vote_channels"))) { $obVote = CVote::GetList($by , $order, array("CHANNEL_ID"=>$arChannel["ID"]), $is_filtered); while ($arVote = $obVote->GetNext()) { $menuChannel1["items"][] = array( "items_id" => "vote_item_".$arVote['ID'], "text" => $arVote["TITLE"], "title" => GetMessage("VOTE_MENU_POLL_DESCRIPTION").'\''.htmlspecialcharsEx($arVote["TITLE"]).'\'', "module_id" => "vote", "url" => (array_key_exists($arChannel["ID"], $channels) ? "vote_edit.php?lang=".LANGUAGE_ID."&ID=".$arVote['ID'] : "vote_results.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID']), "more_url" => Array( "vote_edit.php?lang=".LANGUAGE_ID."©_ID=".$arVote['ID'], "vote_question_list.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID'], "vote_question_edit.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID'], "vote_results.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID'], "vote_preview.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID'], "vote_user_votes_table.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID'], "vote_user_results_table.php?lang=".LANGUAGE_ID."&VOTE_ID=".$arVote['ID'] ), ); } } $menuResults1[] = $menuChannel1; } while (($arChannel = $db_res->fetch()) && $arChannel); } $aMenu = array( "parent_menu" => "global_menu_services", "section" => "vote", "sort" => 100, "module_id" => "vote", "text" => GetMessage("VOTE_MENU_MAIN"), "title" => GetMessage("VOTE_MENU_MAIN_TITLE"), "icon" => "vote_menu_icon", "page_icon" => "vote_page_icon", "items_id" => "menu_vote", "items" => array( array( "text" => GetMessage("VOTE_MENU_VOTE"), "items_id" => "menu_vote_channels", // "url" => "vote_list.php?lang=".LANGUAGE_ID, "more_url" => Array( "vote_edit.php", "vote_question_list.php", "vote_question_edit.php", "vote_results.php", "vote_preview.php", "vote_user_votes_table.php", "vote_user_results_table.php" ), "title" => GetMessage("VOTE_MENU_VOTE_ALT"), "items" => $menuResults1 ) ) ); if ($rights >= "W") $aMenu["items"][] = array( "text" => GetMessage("VOTE_MENU_ADDITIONAL"), "title" => "", "items_id" => "menu_vote_settings", "more_url" => Array( "vote_channel_edit.php", "vote_channel_list.php" ), "items" => array( array( "text" => GetMessage("VOTE_MENU_CHANNEL"), "url" => "vote_channel_list.php?lang=".LANGUAGE_ID, "title" => GetMessage("VOTE_MENU_CHANNEL_ALT"), "more_url" => Array( "vote_channel_edit.php" ) ), array( "text" => GetMessage("VOTE_MENU_USER"), "url" => "vote_user_list.php?lang=".LANGUAGE_ID, "more_url" => Array(), "title" => GetMessage("VOTE_MENU_USER_ALT") ) ), ); return $aMenu; ?>
/home/user/web/pansionat-v-yaroslavle.ru/public_html/70645/../bitrix/modules/./vote/admin/menu.php