> ';
}
if (!empty($GLOBALS['cfg']['Server']) && isset($GLOBALS['cfg']['Server']['host'])) {
$title.=str_replace('\'', '\\\'', $GLOBALS['cfg']['Server']['host']);
}
if (isset($GLOBALS['db'])) {
$title .= ' >> ' . str_replace('\'', '\\\'', $GLOBALS['db']);
}
if (isset($GLOBALS['table'])) {
$title .= (empty($title) ? '' : ' ') . ' >> ' . str_replace('\'', '\\\'', $GLOBALS['table']);
}
$title .= ' | phpMyAdmin ' . PMA_VERSION;
?>
// js form validation stuff
var jsHostEmpty = '';
var jsUserEmpty = '';
var jsPasswordEmpty = '';
var jsPasswordNotSame = '';
//-->
// js form validation stuff
var jsHostEmpty = '';
var jsUserEmpty = '';
var jsPasswordEmpty = '';
var jsPasswordNotSame = '';
//-->
// js index validation stuff
var errorMsg0 = '';
var errorMsg1 = '';
var errorMsg2 = '';
//-->
//-->
//-->
>
' . "\n"
. ' ' . "\n";
$header_url_qry = '?' . PMA_generate_common_url();
$server_info = (!empty($cfg['Server']['verbose'])
? $cfg['Server']['verbose']
: $server_info = $cfg['Server']['host'] . (empty($cfg['Server']['port'])
? ''
: ':' . $cfg['Server']['port']
)
);
echo ' '
. '' . $GLOBALS['strServer'] . ': '
. '';
if ($GLOBALS['cfg']['MainPageIconic']) {
echo ' ';
}
echo htmlspecialchars($server_info) . '' . "\n"
. ' | ' . "\n\n";
if (!empty($GLOBALS['db'])) {
echo ' '
. ' | ' . "\n" . ' '
. '' . $GLOBALS['strDatabase'] . ': '
. '';
if ($GLOBALS['cfg']['MainPageIconic']) {
echo ' ';
}
echo htmlspecialchars($GLOBALS['db']) . '' . "\n"
. ' | ' . "\n\n";
if (!empty($GLOBALS['table'])) {
if (PMA_MYSQL_INT_VERSION >= 50000) {
require_once('./tbl_properties_table_info.php');
} else {
$tbl_is_view = FALSE;
}
echo ' '
. ' | ' . "\n" . ' '
. '' . ($GLOBALS['tbl_is_view'] ? $GLOBALS['strView'] : $GLOBALS['strTable']) . ': '
. '';
if ($GLOBALS['cfg']['MainPageIconic']) {
echo ' ';
}
echo htmlspecialchars($GLOBALS['table']) . '' . "\n"
. ' | ' . "\n\n";
}
}
echo '
' . "\n" . '';
}
/**
* Sets a variable to remember headers have been sent
*/
$GLOBALS['is_header_sent'] = TRUE;
}
?>