Hackfut Security File Manager
Current Path:
/mnt/ceph/services/websiteos/phpmyadmin/phpMyAdmin-4.7.7-all-languages
mnt
/
ceph
/
services
/
websiteos
/
phpmyadmin
/
phpMyAdmin-4.7.7-all-languages
/
📁
..
📁
.svn
📄
CONTRIBUTING.md
(1.69 KB)
📄
ChangeLog
(15.43 KB)
📄
DCO
(1.77 KB)
📄
LICENSE
(17.67 KB)
📄
README
(1.48 KB)
📄
RELEASE-DATE-4.7.7
(29 B)
📄
ajax.php
(913 B)
📄
browse_foreigners.php
(1.49 KB)
📄
changelog.php
(4.99 KB)
📄
chk_rel.php
(772 B)
📄
composer.json
(2.05 KB)
📄
composer.lock
(92.65 KB)
📄
config.inc.php
(317 B)
📄
config.sample.inc.php
(4.41 KB)
📁
config_template
📄
db_central_columns.php
(5.21 KB)
📄
db_datadict.php
(5.69 KB)
📄
db_designer.php
(5.72 KB)
📄
db_events.php
(356 B)
📄
db_export.php
(4.88 KB)
📄
db_import.php
(1.02 KB)
📄
db_operations.php
(10.37 KB)
📄
db_qbe.php
(4.32 KB)
📄
db_routines.php
(416 B)
📄
db_search.php
(2.02 KB)
📄
db_sql.php
(1.08 KB)
📄
db_sql_autocomplete.php
(749 B)
📄
db_sql_format.php
(488 B)
📄
db_structure.php
(1.05 KB)
📄
db_tracking.php
(4.34 KB)
📄
db_triggers.php
(360 B)
📁
doc
📄
error_report.php
(4.43 KB)
📁
examples
📄
export.php
(15.27 KB)
📄
favicon.ico
(21.96 KB)
📄
gis_data_editor.php
(15.48 KB)
📄
htaccess.php
(3.07 KB)
📄
import.php
(23.29 KB)
📄
import_status.php
(3.32 KB)
📄
index.php
(19.29 KB)
📁
js
📁
libraries
📄
license.php
(897 B)
📄
lint.php
(1.38 KB)
📁
locale
📄
logout.php
(287 B)
📄
navigation.php
(2.14 KB)
📄
normalization.php
(3.94 KB)
📁
phpMyAdmin.bk
📄
phpinfo.php
(510 B)
📁
phpmyadmin.bk
📄
phpmyadmin.css.php
(746 B)
📄
prefs_forms.php
(2.7 KB)
📄
prefs_manage.php
(14.89 KB)
📄
print.css
(1.18 KB)
📄
robots.txt
(26 B)
📄
schema_export.php
(1.64 KB)
📄
server_binlog.php
(804 B)
📄
server_collations.php
(837 B)
📄
server_databases.php
(817 B)
📄
server_engines.php
(803 B)
📄
server_export.php
(1.2 KB)
📄
server_import.php
(779 B)
📄
server_plugins.php
(808 B)
📄
server_privileges.php
(13.56 KB)
📄
server_replication.php
(2.18 KB)
📄
server_sql.php
(847 B)
📄
server_status.php
(995 B)
📄
server_status_advisor.php
(954 B)
📄
server_status_monitor.php
(2.88 KB)
📄
server_status_processes.php
(1.9 KB)
📄
server_status_queries.php
(1.36 KB)
📄
server_status_variables.php
(1.59 KB)
📄
server_user_groups.php
(1.8 KB)
📄
server_variables.php
(817 B)
📁
setup
📄
show_config_errors.php
(1.02 KB)
📁
sql
📄
sql.php
(6.17 KB)
📄
tbl_addfield.php
(3.82 KB)
📄
tbl_change.php
(6.38 KB)
📄
tbl_chart.php
(990 B)
📄
tbl_create.php
(3.12 KB)
📄
tbl_export.php
(4.38 KB)
📄
tbl_find_replace.php
(1.02 KB)
📄
tbl_get_field.php
(1.39 KB)
📄
tbl_gis_visualization.php
(1.23 KB)
📄
tbl_import.php
(873 B)
📄
tbl_indexes.php
(1.4 KB)
📄
tbl_operations.php
(13.31 KB)
📄
tbl_recent_favorite.php
(455 B)
📄
tbl_relation.php
(2.31 KB)
📄
tbl_replace.php
(16.13 KB)
📄
tbl_row_action.php
(4.94 KB)
📄
tbl_select.php
(1.15 KB)
📄
tbl_sql.php
(1.25 KB)
📄
tbl_structure.php
(1.63 KB)
📄
tbl_tracking.php
(5.76 KB)
📄
tbl_triggers.php
(141 B)
📄
tbl_zoom_select.php
(1.07 KB)
📁
templates
📁
themes
📄
themes.php
(938 B)
📄
transformation_overview.php
(1.88 KB)
📄
transformation_wrapper.php
(4.39 KB)
📄
url.php
(1.26 KB)
📄
user_password.php
(9.03 KB)
📁
vendor
📄
version_check.php
(1.07 KB)
📄
view_create.php
(9.34 KB)
📄
view_operations.php
(3.91 KB)
Editing: db_datadict.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Renders data dictionary * * @package PhpMyAdmin */ use PMA\libraries\URL; use PMA\libraries\Response; /** * Gets the variables sent or posted to this script, then displays headers */ require_once 'libraries/common.inc.php'; if (! isset($selected_tbl)) { include 'libraries/db_common.inc.php'; list( $tables, $num_tables, $total_num_tables, $sub_part, $is_show_stats, $db_is_system_schema, $tooltip_truename, $tooltip_aliasname, $pos ) = PMA\libraries\Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); } $response = Response::getInstance(); $header = $response->getHeader(); $header->enablePrintView(); /** * Gets the relations settings */ $cfgRelation = PMA_getRelationsParam(); require_once 'libraries/transformations.lib.php'; /** * Check parameters */ PMA\libraries\Util::checkParameters(array('db')); /** * Defines the url to return to in case of error in a sql statement */ $err_url = 'db_sql.php' . URL::getCommon(array('db' => $db)); if ($cfgRelation['commwork']) { $comment = PMA_getDbComment($db); /** * Displays DB comment */ if ($comment) { echo '<p>' , __('Database comment') , '<br /><i>' , htmlspecialchars($comment) , '</i></p>'; } // end if } /** * Selects the database and gets tables names */ $GLOBALS['dbi']->selectDb($db); $tables = $GLOBALS['dbi']->getTables($db); $count = 0; foreach ($tables as $table) { $comments = PMA_getComments($db, $table); echo '<div>' , "\n"; echo '<h2>' , htmlspecialchars($table) , '</h2>' , "\n"; /** * Gets table information */ $show_comment = $GLOBALS['dbi']->getTable($db, $table) ->getStatusInfo('TABLE_COMMENT'); /** * Gets table keys and retains them */ $GLOBALS['dbi']->selectDb($db); $indexes = $GLOBALS['dbi']->getTableIndexes($db, $table); list($primary, $pk_array, $indexes_info, $indexes_data) = PMA\libraries\Util::processIndexData($indexes); /** * Gets columns properties */ $columns = $GLOBALS['dbi']->getColumns($db, $table); // Check if we can use Relations list($res_rel, $have_rel) = PMA_getRelationsAndStatus( ! empty($cfgRelation['relation']), $db, $table ); /** * Displays the comments of the table if MySQL >= 3.23 */ if (!empty($show_comment)) { echo __('Table comments:') , ' '; echo htmlspecialchars($show_comment) , '<br /><br />'; } /** * Displays the table structure */ echo '<table width="100%" class="print">'; echo '<tr><th width="50">' , __('Column') , '</th>'; echo '<th width="80">' , __('Type') , '</th>'; echo '<th width="40">' , __('Null') , '</th>'; echo '<th width="70">' , __('Default') , '</th>'; if ($have_rel) { echo ' <th>' , __('Links to') , '</th>' , "\n"; } echo ' <th>' , __('Comments') , '</th>' , "\n"; if ($cfgRelation['mimework']) { echo ' <th>MIME</th>' , "\n"; } echo '</tr>'; foreach ($columns as $row) { if ($row['Null'] == '') { $row['Null'] = 'NO'; } $extracted_columnspec = PMA\libraries\Util::extractColumnSpec($row['Type']); // reformat mysql query output // set or enum types: slashes single quotes inside options $type = htmlspecialchars($extracted_columnspec['print_type']); $attribute = $extracted_columnspec['attribute']; if (! isset($row['Default'])) { if ($row['Null'] != 'NO') { $row['Default'] = '<i>NULL</i>'; } } else { $row['Default'] = htmlspecialchars($row['Default']); } $column_name = $row['Field']; echo '<tr>'; echo '<td class="nowrap">'; echo htmlspecialchars($column_name); if (isset($pk_array[$row['Field']])) { echo ' <em>(' , __('Primary') , ')</em>'; } echo '</td>'; echo '<td' , PMA\libraries\Util::getClassForType( $extracted_columnspec['type'] ) , ' lang="en" dir="ltr">' , $type , '</td>'; echo '<td>'; echo (($row['Null'] == 'NO') ? __('No') : __('Yes')); echo '</td>'; echo '<td class="nowrap">'; if (isset($row['Default'])) { echo $row['Default']; } echo '</td>'; if ($have_rel) { echo ' <td>'; if ($foreigner = PMA_searchColumnInForeigners($res_rel, $column_name)) { echo htmlspecialchars( $foreigner['foreign_table'] . ' -> ' . $foreigner['foreign_field'] ); } echo '</td>' , "\n"; } echo ' <td>'; if (isset($comments[$column_name])) { echo htmlspecialchars($comments[$column_name]); } echo '</td>' , "\n"; if ($cfgRelation['mimework']) { $mime_map = PMA_getMIME($db, $table, true); echo ' <td>'; if (isset($mime_map[$column_name])) { echo htmlspecialchars( str_replace('_', '/', $mime_map[$column_name]['mimetype']) ); } echo '</td>' , "\n"; } echo '</tr>'; } // end foreach $count++; echo '</table>'; // display indexes information if (count(PMA\libraries\Index::getFromTable($table, $db)) > 0) { echo PMA\libraries\Index::getHtmlForIndexes($table, $db, true); } echo '</div>'; } //ends main while /** * Displays the footer */ echo PMA\libraries\Util::getButton();
Upload File
Create Folder