Translated using Weblate (Albanian)
[phpmyadmin.git] / db_import.php
blob34bc300cc9b4165bb997562218561ca3cb41e5f7
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Database import page
6 * @package PhpMyAdmin
7 */
9 use PMA\libraries\Response;
10 use PMA\libraries\config\PageSettings;
12 require_once 'libraries/common.inc.php';
13 require_once 'libraries/config/user_preferences.forms.php';
14 require_once 'libraries/config/page_settings.forms.php';
16 PageSettings::showGroup('Import');
18 $response = Response::getInstance();
19 $header = $response->getHeader();
20 $scripts = $header->getScripts();
21 $scripts->addFile('import.js');
23 /**
24 * Gets tables information and displays top links
26 require 'libraries/db_common.inc.php';
28 list(
29 $tables,
30 $num_tables,
31 $total_num_tables,
32 $sub_part,
33 $is_show_stats,
34 $db_is_system_schema,
35 $tooltip_truename,
36 $tooltip_aliasname,
37 $pos
38 ) = PMA\libraries\Util::getDbInfo($db, isset($sub_part) ? $sub_part : '');
40 require 'libraries/display_import.lib.php';
41 $response = Response::getInstance();
42 $response->addHTML(
43 PMA_getImportDisplay(
44 'database', $db, $table, $max_upload_size