Translated using Weblate (Portuguese)
[phpmyadmin.git] / tbl_import.php
blobd4b7aaceae280e02f4f361694c5a1f1fb0bea0d0
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Table import
6 * @package PhpMyAdmin
7 */
8 declare(strict_types=1);
10 use PhpMyAdmin\Config\PageSettings;
11 use PhpMyAdmin\Display\Import;
12 use PhpMyAdmin\Response;
14 if (! defined('ROOT_PATH')) {
15 define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
18 /**
21 require_once ROOT_PATH . 'libraries/common.inc.php';
23 PageSettings::showGroup('Import');
25 $response = Response::getInstance();
26 $header = $response->getHeader();
27 $scripts = $header->getScripts();
28 $scripts->addFile('import.js');
30 $import = new Import();
32 /**
33 * Gets tables information and displays top links
35 require_once ROOT_PATH . 'libraries/tbl_common.inc.php';
36 $url_query .= '&amp;goto=tbl_import.php&amp;back=tbl_import.php';
38 $response->addHTML(
39 $import->get(
40 'table',
41 $db,
42 $table,
43 $max_upload_size