????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.144.114.93 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 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 : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/phpmyadmin/libraries/navigation/ |
Upload File : |
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * This class is responsible for instanciating * the various components of the navigation panel * * @package PhpMyAdmin-navigation */ if (! defined('PHPMYADMIN')) { exit; } require_once 'libraries/navigation/NodeFactory.class.php'; require_once 'libraries/navigation/NavigationHeader.class.php'; require_once 'libraries/navigation/NavigationTree.class.php'; /** * The navigation panel - displays server, db and table selection tree * * @package PhpMyAdmin-Navigation */ class PMA_Navigation { /** * Initialises the class * * @return void */ public function __construct() { if (empty($GLOBALS['token'])) { $GLOBALS['token'] = $_SESSION[' PMA_token ']; } } /** * Renders the navigation tree, or part of it * * @return string The navigation tree */ public function getDisplay() { /* Init */ $retval = ''; if (! PMA_Response::getInstance()->isAjax()) { $header = new PMA_NavigationHeader(); $retval = $header->getDisplay(); } $tree = new PMA_NavigationTree(); if (! PMA_Response::getInstance()->isAjax() || ! empty($_REQUEST['full']) || ! empty($_REQUEST['reload']) ) { $treeRender = $tree->renderState(); } else { $treeRender = $tree->renderPath(); } if (! $treeRender) { $retval .= PMA_Message::error( __('An error has occured while loading the navigation tree') )->getDisplay(); } else { $retval .= $treeRender; } if (! PMA_Response::getInstance()->isAjax()) { // closes the tags that were opened by the navigation header $retval .= '</div>'; $retval .= '</div>'; $retval .= '</div>'; } return $retval; } } ?>