50 lines
1.2 KiB
PHP
Executable File
50 lines
1.2 KiB
PHP
Executable File
<?php
|
|
/* $Id$ */
|
|
|
|
|
|
/**
|
|
* Gets some core libraries
|
|
*/
|
|
require('./libraries/grab_globals.lib.php3');
|
|
require('./libraries/common.lib.php3');
|
|
require('./libraries/bookmark.lib.php3');
|
|
|
|
|
|
/**
|
|
* Defines the urls to return to in case of error in a sql statement
|
|
*/
|
|
$err_url_0 = 'db_details.php3'
|
|
. '?lang=' . $lang
|
|
. '&convcharset=' . $convcharset
|
|
. '&server=' . $server
|
|
. '&db=' . urlencode($db);
|
|
$err_url = 'tbl_properties.php3'
|
|
. '?lang=' . $lang
|
|
. '&convcharset=' . $convcharset
|
|
. '&server=' . $server
|
|
. '&db=' . urlencode($db)
|
|
. '&table=' . urlencode($table);
|
|
|
|
|
|
require('./libraries/db_table_exists.lib.php3');
|
|
|
|
// Displays headers
|
|
if (!isset($message)) {
|
|
$js_to_run = 'functions.js';
|
|
include('./header.inc.php3');
|
|
} else {
|
|
PMA_showMessage($message);
|
|
}
|
|
|
|
/**
|
|
* Set parameters for links
|
|
*/
|
|
$url_query = 'lang=' . $lang
|
|
. '&convcharset=' . $convcharset
|
|
. '&server=' . $server
|
|
. '&db=' . urlencode($db)
|
|
. '&table=' . urlencode($table)
|
|
. '&goto=tbl_properties.php3';
|
|
|
|
?>
|