hasDisplayErrors()) {
echo '
';
$GLOBALS['error_handler']->dispErrors();
echo '
';
}
if (count($GLOBALS['footnotes'])) {
echo '';
}
if (! empty($_SESSION['debug'])) {
$sum_time = 0;
$sum_exec = 0;
foreach ($_SESSION['debug']['queries'] as $query) {
$sum_time += $query['count'] * $query['time'];
$sum_exec += $query['count'];
}
echo '';
echo count($_SESSION['debug']['queries']) . ' queries executed '
. $sum_exec . ' times in ' . $sum_time . ' seconds';
echo '
';
print_r($_SESSION['debug']);
echo '
';
echo '
';
$_SESSION['debug'] = array();
}
if (!$GLOBALS['is_ajax_request']) {
?>
' . "\n";
$url_params['target'] = basename(PMA_getenv('SCRIPT_NAME'));
?>
';
if ($GLOBALS['cfg']['NavigationBarIconic']) {
echo PMA_getImage('window-new.png', __('Open new phpMyAdmin window'));
}
if ($GLOBALS['cfg']['NavigationBarIconic'] !== true) {
echo __('Open new phpMyAdmin window');
}
echo '' . "\n";
echo '' . "\n";
}
// Include possible custom footers
if (! $GLOBALS['is_ajax_request'] && file_exists(CUSTOM_FOOTER_FILE)) {
include CUSTOM_FOOTER_FILE;
}
/**
* If we are in an AJAX request, we do not need to generate the closing tags for
* body and html.
*/
if (! $GLOBALS['is_ajax_request']) {
?>