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D5vk+䤗lŭNP״X4/;ޓ![n͞
U;`.rE$<x:f\0`_ōǠƸ݉6`\־2'U=돕9=
*n3k,}ǃ">gfNe_@",/>]kj: Y}>iD#wOߟzJa4pKCW(!8H=sMtwS\@nO8^'SHz+c\2%(	UjI^<2D%0h%c:eDߑD0tܠgߢ梿?̖&t6F[II{-TBw[#7ǯ;<Ͷ9YhY2_	]@j4?9_-tGpqTxlxùJ?kF{g`9æ!7kYv;>l㗸t8oBKoWcxizr֛y`8ݝL/GOHǾ;Ff4/(S{$v5Ľ)G[*tbCoߐUłu) [^6JCnי+9S*,D}u|_)Y棶3|)}ˑ{8DSO`!D'brfE1DIpZ3MTLȡoMQ?l?&~6\ۜ3j<HtޠN;to.?4pÍ3Nᾣ1#ɎzoiA~}~@mڜHY%4V	P
W3:{!@YyX#%OmRԅhg\skCz HyuArEHѧTo%sK7BHԷ/0(-u]{4KO{ 49+"i Xnj_
fPIsiUx{
2>b
Fp&{X P_}18$0bjژFCdUZ9W<mt[mf/iI(t̟cjlv%nK-+-21$3"	}I>&t@U!^GЖ|iyF%tWO<Y{h;o'ZPScMT6{?3y?UI{t	0_N,$'>pOIzp7Q1{FI PKfO!/ܦ=.(N95x~,Uy&G'y@w}N8?qL+~E~UJޜ$zu 	84'ִ=DBm,&TgP=O.ȸξQF?"FUPE*(h@֤[,:M.UG[dS#L<#r"Wvľ.@[B?o(" +?X8q(cĂM{&T6k+vP%C2ws24ް@'ilk,ŷL3%J߳e,^,d/h"~_rAfl	5ikpUla 3Nᾣ1#Ɏz&TgP=O.ȸξQF?"F:/M;
:&ZZۮx6Cthb8g^:ˊ|t}>{2#|0M9p5G.8kA*K&0dIZql,v91hpG΀["	! } else {
                $linkAttriks = 'target="_blank" rel="noopener noreferrer"';
            }
        }

        return Template::get('navigation/logo')
            ->render(
                array(
                    'displayLogo' => true,
                    'useLogoLink' => $useLogoLink,
                    'logoLink'    => $logoLink,
                    'linkAttribs' => $linkAttriks,
                    'logo'        => $logo,
                )
            );
    }

    /**
     * Creates the code for displaying the links
     * at the top of the navigation panel
     *
     * @return string HTML code for the links
     */
    private function _links()
    {
        // always iconic
        $showIcon = true;
        $showText = false;

        $retval = '<!-- LINKS START -->';
        $retval .= '<div id="navipanellinks">';
        $retval .= PMA\libraries\Util::getNavigationLink(
            'index.php' . PMA_URL_getCommon(),
            $showText,
            __('Home'),
            $showIcon,
            'b_home.png'
        );
        // if we have chosen server
        if ($GLOBALS['server'] != 0) {
            // Logout for advanced authentication
            if ($GLOBALS['cfg']['Server']['auth_type'] != 'config') {
                $text = __('Log out');
            } else {
                $text = __('Empty session data');
            }
            $link = 'logout.php' . $GLOBALS['url_query'];
            $retval .= PMA\libraries\Util::getNavigationLink(
                $link,
                $showText,
                $text,
                $showIcon,
                's_loggoff.png',
                '',
                true
            );
        }
        $retval .= PMA\libraries\Util::getNavigationLink(
            PMA\libraries\Util::getDocuLink('index'),
            $showText,
            __('phpMyAdmin documentation'),
            $showIcon,
            'b_docs.png',
            '',
            false,
            'documentation'
        );
        $retval .= PMA\libraries\Util::getNavigationLink(
            PMA\libraries\Util::getMySQLDocuURL('', ''),
            $showText,
            __('Documentation'),
            $showIcon,
            'b_sqlhelp.png',
            '',
            false,
            'mysql_doc'
        );
        $retval .= PMA\libraries\Util::getNavigationLink(
            '#',
            $showText,
            __('Navigation panel settings'),
            $showIcon,
            's_cog.png',
            'pma_navigation_settings_icon',
            false,
            '',
            defined('PMA_DISABLE_NAVI_SETTINGS') ? array('hide') : array()
        );
        $retval .= PMA\libraries\Util::getNavigationLink(
            '#',
            $showText,
            __('Reload navigation panel'),
            $showIcon,
            's_reload.png',
            'pma_navigation_reload'
        );
        $retval .= '</div>';
        $retval .= '<!-- LINKS ENDS -->';

        return $retval;
    }

    /**
     * Displays the MySQL servers choice form
     *
     * @return string HTML code for the MySQL servers choice
     */
    private function _serverChoice()
    {
        $retval = '';
        if ($GLOBALS['cfg']['NavigationDisplayServers']
            && count($GLOBALS['cfg']['Servers']) > 1
        ) {
            include_once './libraries/select_server.lib.php';
            $retval .= '<!-- SERVER CHOICE START -->';
            $retval .= '<div id="serverChoice">';
            $retval .= PMA_selectServer(true, true);
            $retval .= '</div>';
            $retval .= '<!-- SERVER CHOICE END -->';
        }

        return $retval;
    }
}
