Tan Style sheet Improvements
[openemr.git] / phpmyadmin / tbl_sql.php
blob70dda87265891183e6eb62add1c7d2c608f012df
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Table SQL executor
6 * @package PhpMyAdmin
7 */
9 /**
12 require_once 'libraries/common.inc.php';
13 require_once 'libraries/config/page_settings.class.php';
15 PMA_PageSettings::showGroup('Sql_queries');
17 /**
18 * Runs common work
20 $response = PMA_Response::getInstance();
21 $header = $response->getHeader();
22 $scripts = $header->getScripts();
23 $scripts->addFile('makegrid.js');
24 $scripts->addFile('jquery/jquery.uitablefilter.js');
25 $scripts->addFile('sql.js');
27 require 'libraries/tbl_common.inc.php';
28 $url_query .= '&amp;goto=tbl_sql.php&amp;back=tbl_sql.php';
30 require_once 'libraries/sql_query_form.lib.php';
32 $err_url = 'tbl_sql.php' . $err_url;
33 // After a syntax error, we return to this script
34 // with the typed query in the textarea.
35 $goto = 'tbl_sql.php';
36 $back = 'tbl_sql.php';
38 /**
39 * Get table information
41 require_once 'libraries/tbl_info.inc.php';
43 /**
44 * Query box, bookmark, insert data from textfile
46 $response->addHTML(
47 PMA_getHtmlForSqlQueryForm(
48 true, false,
49 isset($_REQUEST['delimiter'])
50 ? htmlspecialchars($_REQUEST['delimiter'])
51 : ';'