Merge branch 'master' of git://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin...
[phpmyadmin/crack.git] / tbl_sql.php
blob0321395b948523207e05461717b953f95b3540e4
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package phpMyAdmin
6 */
8 /**
11 require_once './libraries/common.inc.php';
13 /**
14 * Runs common work
16 $GLOBALS['js_include'][] = 'functions.js';
17 $GLOBALS['js_include'][] = 'makegrid.js';
18 $GLOBALS['js_include'][] = 'sql.js';
20 require './libraries/tbl_common.php';
21 $url_query .= '&amp;goto=tbl_sql.php&amp;back=tbl_sql.php';
23 require_once './libraries/sql_query_form.lib.php';
25 $err_url = 'tbl_sql.php' . $err_url;
26 // After a syntax error, we return to this script
27 // with the typed query in the textarea.
28 $goto = 'tbl_sql.php';
29 $back = 'tbl_sql.php';
31 /**
32 * Get table information
34 require_once './libraries/tbl_info.inc.php';
36 /**
37 * Displays top menu links
39 require_once './libraries/tbl_links.inc.php';
41 /**
42 * Query box, bookmark, insert data from textfile
44 PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';');
46 /**
47 * Displays the footer
49 require './libraries/footer.inc.php';