403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/baberankings.com.bak/community/admin/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/community/admin/include/functions_themes.inc.php
<?php
/**
 * Accordion menus need to be stable (called by themeconf.inc which need it)
 */
function selected_admin_menu()
{
  if (isset($_GET['page']))
  {
    switch ($_GET['page']) {
      case 'configuration':
      case 'extend_for_templates':
      case 'menubar':
        return 1;
      case 'site_manager':
      case 'site_update':
      case 'cat_list':
      case 'cat_modify':
      case 'cat_move':
      case 'cat_options':
      case 'cat_perm':
      case 'permalinks':
        return 2;
      case 'element_set':
        if (isset($_GET['cat']) and is_numeric($_GET['cat']) ) {
          return 2;
        }
      case 'picture_modify':
        return 3;
      case 'comments':
      case 'upload':
      case 'thumbnail':
      case 'rating':
      case 'tags':
        return 3;
      case 'user_list':
      case 'user_perm':
      case 'group_list':
      case 'group_perm':
      case 'notification_by_mail':
        return 4;
      case 'stats':
      case 'history':
      case 'maintenance':
      case 'advanced_feature':
      case 'plugins_list':
      case 'plugins_update':
      case 'plugins_new':
      case 'plugin':
        return 5;
    }
  }
  if (isset($_GET['plgmenu'])) /* Later added plugins will add plgmenu in url */
  {
    return 5;
  }
  return 0;
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit