003 File Manager
Current Path:
/usr/local/www/sites/shared/phpmyadmin
usr
/
local
/
www
/
sites
/
shared
/
phpmyadmin
/
π
..
π
.editorconfig
(274 B)
π
.eslintignore
(24 B)
π
.eslintrc.json
(1.3 KB)
π
CODE_OF_CONDUCT.md
(3.14 KB)
π
CONTRIBUTING.md
(2.05 KB)
π
ChangeLog
(9.35 KB)
π
DCO
(1.77 KB)
π
LICENSE
(17.67 KB)
π
README
(1.49 KB)
π
RELEASE-DATE-4.9.0.1
(29 B)
π
admin.php
(5.23 KB)
π
ajax.php
(1.52 KB)
π
browse_foreigners.php
(1.71 KB)
π
changelog.php
(3.12 KB)
π
chk_rel.php
(856 B)
π
composer.json
(3.11 KB)
π
composer.lock
(91.76 KB)
π
config.inc.php
(188 B)
π
config.sample.inc.php
(4.41 KB)
π
db_central_columns.php
(5.54 KB)
π
db_datadict.php
(5.74 KB)
π
db_designer.php
(7.37 KB)
π
db_events.php
(271 B)
π
db_export.php
(4.52 KB)
π
db_import.php
(899 B)
π
db_multi_table_query.php
(1.01 KB)
π
db_operations.php
(9.63 KB)
π
db_qbe.php
(4.75 KB)
π
db_routines.php
(365 B)
π
db_search.php
(1.95 KB)
π
db_sql.php
(952 B)
π
db_sql_autocomplete.php
(746 B)
π
db_sql_format.php
(485 B)
π
db_structure.php
(1011 B)
π
db_tracking.php
(4.31 KB)
π
db_triggers.php
(273 B)
π
doc
π
error_report.php
(4.5 KB)
π
examples
π
export.php
(15.55 KB)
π
favicon.ico
(21.96 KB)
π
gis_data_editor.php
(15.61 KB)
π
import.php
(23.41 KB)
π
import_status.php
(3.32 KB)
π
index.php
(26.72 KB)
π
input.php
(1.49 KB)
π
js
π
libraries
π
license.php
(894 B)
π
lint.php
(1.4 KB)
π
locale
π
logout.php
(311 B)
π
navigation.php
(2.25 KB)
π
normalization.php
(4.05 KB)
π
package.json
(729 B)
π
phpcs.xml.dist
(467 B)
π
phpinfo.php
(507 B)
π
phpmyadmin.css.php
(740 B)
π
prefs_forms.php
(2.43 KB)
π
prefs_manage.php
(14.02 KB)
π
prefs_twofactor.php
(1.56 KB)
π
print.css
(1.18 KB)
π
robots.txt
(26 B)
π
schema_export.php
(659 B)
π
server_binlog.php
(785 B)
π
server_collations.php
(818 B)
π
server_databases.php
(798 B)
π
server_engines.php
(784 B)
π
server_export.php
(1.06 KB)
π
server_import.php
(634 B)
π
server_plugins.php
(784 B)
π
server_privileges.php
(13.86 KB)
π
server_replication.php
(2.38 KB)
π
server_sql.php
(698 B)
π
server_status.php
(897 B)
π
server_status_advisor.php
(862 B)
π
server_status_monitor.php
(2.89 KB)
π
server_status_processes.php
(1.83 KB)
π
server_status_queries.php
(1.39 KB)
π
server_status_variables.php
(1.53 KB)
π
server_user_groups.php
(1.82 KB)
π
server_variables.php
(798 B)
π
setup
π
show_config_errors.php
(1.02 KB)
π
sql
π
sql.php
(5.98 KB)
π
tbl_addfield.php
(3.67 KB)
π
tbl_change.php
(6.2 KB)
π
tbl_chart.php
(972 B)
π
tbl_create.php
(3.29 KB)
π
tbl_export.php
(4.24 KB)
π
tbl_find_replace.php
(999 B)
π
tbl_get_field.php
(1.42 KB)
π
tbl_gis_visualization.php
(1.21 KB)
π
tbl_import.php
(684 B)
π
tbl_indexes.php
(1.37 KB)
π
tbl_operations.php
(14.99 KB)
π
tbl_recent_favorite.php
(452 B)
π
tbl_relation.php
(2.32 KB)
π
tbl_replace.php
(16.57 KB)
π
tbl_row_action.php
(4.89 KB)
π
tbl_select.php
(1.1 KB)
π
tbl_sql.php
(1.15 KB)
π
tbl_structure.php
(1.99 KB)
π
tbl_tracking.php
(5.66 KB)
π
tbl_triggers.php
(141 B)
π
tbl_zoom_select.php
(1.02 KB)
π
templates
π
themes
π
themes.php
(956 B)
π
tmp
π
transformation_overview.php
(1.87 KB)
π
transformation_wrapper.php
(4.51 KB)
π
url.php
(1.27 KB)
π
user_password.php
(1.89 KB)
π
vendor
π
version_check.php
(1.06 KB)
π
view_create.php
(6.45 KB)
π
view_operations.php
(3.78 KB)
π
yarn.lock
(28.35 KB)
Editing: normalization.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Normalization process (temporarily specific to 1NF) * * @package PhpMyAdmin */ use PhpMyAdmin\Core; use PhpMyAdmin\Normalization; use PhpMyAdmin\Response; use PhpMyAdmin\Url; require_once 'libraries/common.inc.php'; $normalization = new Normalization($GLOBALS['dbi']); if (isset($_POST['getColumns'])) { $html = '<option selected disabled>' . __('Select oneβ¦') . '</option>' . '<option value="no_such_col">' . __('No such column') . '</option>'; //get column whose datatype falls under string category $html .= $normalization->getHtmlForColumnsList( $db, $table, _pgettext('string types', 'String') ); echo $html; exit; } if (isset($_POST['splitColumn'])) { $num_fields = min(4096, intval($_POST['numFields'])); $html = $normalization->getHtmlForCreateNewColumn($num_fields, $db, $table); $html .= Url::getHiddenInputs($db, $table); echo $html; exit; } if (isset($_POST['addNewPrimary'])) { $num_fields = 1; $columnMeta = array('Field'=>$table . "_id", 'Extra'=>'auto_increment'); $html = $normalization->getHtmlForCreateNewColumn( $num_fields, $db, $table, $columnMeta ); $html .= Url::getHiddenInputs($db, $table); echo $html; exit; } if (isset($_POST['findPdl'])) { $html = $normalization->findPartialDependencies($table, $db); echo $html; exit; } if (isset($_POST['getNewTables2NF'])) { $partialDependencies = json_decode($_POST['pd']); $html = $normalization->getHtmlForNewTables2NF($partialDependencies, $table); echo $html; exit; } $response = Response::getInstance(); if (isset($_POST['getNewTables3NF'])) { $dependencies = json_decode($_POST['pd']); $tables = json_decode($_POST['tables']); $newTables = $normalization->getHtmlForNewTables3NF($dependencies, $tables, $db); $response->disable(); Core::headerJSON(); echo json_encode($newTables); exit; } $header = $response->getHeader(); $scripts = $header->getScripts(); $scripts->addFile('normalization.js'); $scripts->addFile('vendor/jquery/jquery.uitablefilter.js'); $normalForm = '1nf'; if (Core::isValid($_POST['normalizeTo'], array('1nf', '2nf', '3nf'))) { $normalForm = $_POST['normalizeTo']; } if (isset($_POST['createNewTables2NF'])) { $partialDependencies = json_decode($_POST['pd']); $tablesName = json_decode($_POST['newTablesName']); $res = $normalization->createNewTablesFor2NF($partialDependencies, $tablesName, $table, $db); $response->addJSON($res); exit; } if (isset($_POST['createNewTables3NF'])) { $newtables = json_decode($_POST['newTables']); $res = $normalization->createNewTablesFor3NF($newtables, $db); $response->addJSON($res); exit; } if (isset($_POST['repeatingColumns'])) { $repeatingColumns = $_POST['repeatingColumns']; $newTable = $_POST['newTable']; $newColumn = $_POST['newColumn']; $primary_columns = $_POST['primary_columns']; $res = $normalization->moveRepeatingGroup( $repeatingColumns, $primary_columns, $newTable, $newColumn, $table, $db ); $response->addJSON($res); exit; } if (isset($_POST['step1'])) { $html = $normalization->getHtmlFor1NFStep1($db, $table, $normalForm); $response->addHTML($html); } elseif (isset($_POST['step2'])) { $res = $normalization->getHtmlContentsFor1NFStep2($db, $table); $response->addJSON($res); } elseif (isset($_POST['step3'])) { $res = $normalization->getHtmlContentsFor1NFStep3($db, $table); $response->addJSON($res); } elseif (isset($_POST['step4'])) { $res = $normalization->getHtmlContentsFor1NFStep4($db, $table); $response->addJSON($res); } elseif (isset($_POST['step']) && $_POST['step'] == '2.1') { $res = $normalization->getHtmlFor2NFstep1($db, $table); $response->addJSON($res); } elseif (isset($_POST['step']) && $_POST['step'] == '3.1') { $tables = $_POST['tables']; $res = $normalization->getHtmlFor3NFstep1($db, $tables); $response->addJSON($res); } else { $response->addHTML($normalization->getHtmlForNormalizeTable()); }
Upload File
Create Folder