3 // vim: expandtab sw=4 ts=4 sts=4:
6 * Gets some core libraries
8 if (!defined('PMA_GRAB_GLOBALS_INCLUDED')) {
9 include('./libraries/grab_globals.lib.php3');
11 if (!defined('PMA_COMMON_LIB_INCLUDED')) {
12 include('./libraries/common.lib.php3');
16 * Handles some variables that may have been sent by the calling script
26 * Set parameters for links
28 $url_query = PMA_generate_common_url();
31 * Defines the urls to return to in case of error in a sql statement
33 $err_url = 'main.php3' . $url_query;
36 * Displays the headers
38 require('./header.inc.php3');
41 * Checks for superuser privileges
43 $is_superuser = @PMA_mysql_query
('USE mysql', $userlink);