0) {
$lnk3 = 'db_details_export.php';
$arg3 = $url_query;
$lnk4 = 'db_search.php';
$arg4 = $url_query;
}
else {
$lnk3 = '';
$arg3 = '';
$lnk4 = '';
$arg4 = '';
}
// Drop link if allowed
if (!$cfg['AllowUserDropDatabase']) {
// Check if the user is a Superuser
$cfg['AllowUserDropDatabase'] = PMA_DBI_select_db('mysql');
PMA_DBI_select_db($db);
}
if ($cfg['AllowUserDropDatabase']) {
$lnk5 = 'sql.php';
$arg5 = $url_query . '&sql_query='
. urlencode('DROP DATABASE ' . PMA_backquote($db))
. '&zero_rows='
. urlencode(sprintf($strDatabaseHasBeenDropped, htmlspecialchars(PMA_backquote($db))))
. '&goto=main.php&back=db_details' . $sub_part . '.php&reload=1&purge=1';
$att5 = 'onclick="return confirmLinkDropDB(this, \'DROP DATABASE ' . PMA_jsFormat($db) . '\')"';
$class5 = 'Drop';
}
else {
$lnk5 = '';
$class5 = 'Drop';
}
/**
* Displays tab links
*/
if ($cfg['LightTabs']) {
echo ' ';
} else {
echo '
';
} else {
echo '
';
}
?>