image/png: inline
[phpmyadmin/crack.git] / tbl_properties_common.php3
blob790221042b6656a59e4c2dcf9257b7f47fc3d5c7
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
6 /**
7 * Gets some core libraries
8 */
9 if (!defined('PMA_GRAB_GLOBALS_INCLUDED')) {
10 include('./libraries/grab_globals.lib.php3');
12 if (!defined('PMA_COMMON_LIB_INCLUDED')) {
13 include('./libraries/common.lib.php3');
15 if (!defined('PMA_BOOKMARK_LIB_INCLUDED')) {
16 include('./libraries/bookmark.lib.php3');
20 /**
21 * Defines the urls to return to in case of error in a sql statement
23 $err_url_0 = $cfg['DefaultTabDatabase'] . '?' . PMA_generate_common_url($db);
24 $err_url = $cfg['DefaultTabTable'] . '?' . PMA_generate_common_url($db, $table);
27 /**
28 * Ensures the database and the table exist (else move to the "parent" script)
30 require('./libraries/db_table_exists.lib.php3');
33 /**
34 * Displays headers
36 if (!isset($message)) {
37 $js_to_run = 'functions.js';
38 include('./header.inc.php3');
39 } else {
40 PMA_showMessage($message);
44 /**
45 * Set parameters for links
47 $url_query = PMA_generate_common_url($db, $table);