diff --git a/htdocs/sql/libraries/navigation_header.inc.php b/htdocs/sql/libraries/navigation_header.inc.php
new file mode 100755
--- /dev/null
+++ b/htdocs/sql/libraries/navigation_header.inc.php
@@ -0,0 +1,108 @@
+';
+ } elseif (@file_exists($GLOBALS['pmaThemeImage'] . 'pma_logo2.png')) {
+ $logo = '
';
+ }
+
+ echo '
' . "\n";
+} // end of display logo
+?>
+
+'
+ .($GLOBALS['cfg']['MainPageIconic']
+ ? '

'
+ : $strHome)
+ .'' . "\n";
+ // if we have chosen server
+ if ($server != 0) {
+ // Logout for advanced authentication
+ if ($GLOBALS['cfg']['Server']['auth_type'] != 'config') {
+ echo ($GLOBALS['cfg']['MainPageIconic'] ? '' : ' - ');
+ echo '
'
+ .($GLOBALS['cfg']['MainPageIconic']
+ ? '
'
+ : $strLogout)
+ .'' . "\n";
+ } // end if ($GLOBALS['cfg']['Server']['auth_type'] != 'config'
+
+ $anchor = 'querywindow.php?' . PMA_generate_common_url($db, $table);
+
+ if ($GLOBALS['cfg']['MainPageIconic']) {
+ $query_frame_link_text =
+ '

';
+ } else {
+ echo '
' . "\n";
+ $query_frame_link_text = $strQueryFrame;
+ }
+ echo '
' . $query_frame_link_text . '' . "\n";
+ } // end if ($server != 0)
+
+if ($GLOBALS['cfg']['MainPageIconic']) {
+ echo '
'
+ .'
' . "\n";
+ echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n";
+}
+echo '
' . "\n";
+
+/**
+ * Displays the MySQL servers choice form
+ */
+if ($GLOBALS['cfg']['LeftDisplayServers'] && (count($GLOBALS['cfg']['Servers']) > 1 || $server == 0 && count($GLOBALS['cfg']['Servers']) == 1)) {
+ echo '';
+ include './libraries/select_server.lib.php';
+ PMA_select_server(true, true);
+ echo '
';
+} // end if LeftDisplayServers
+?>