Translation update done using Pootle.
[phpmyadmin/crack.git] / db_sql.php
blob27194b08dc36a1c9b162136b0d8423f443935a65
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 require './libraries/db_common.inc.php';
17 require_once './libraries/sql_query_form.lib.php';
19 // After a syntax error, we return to this script
20 // with the typed query in the textarea.
21 $goto = 'db_sql.php';
22 $back = 'db_sql.php';
24 /**
25 * Gets informations about the database and, if it is empty, move to the
26 * "db_structure.php" script where table can be created
28 require './libraries/db_info.inc.php';
29 if ($num_tables == 0 && empty($db_query_force)) {
30 $sub_part = '';
31 $is_info = TRUE;
32 require './db_structure.php';
33 exit();
36 /**
37 * Query box, bookmark, insert data from textfile
39 PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? $_REQUEST['delimiter'] : ';');
41 /**
42 * Displays the footer
44 require_once './libraries/footer.inc.php';