|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 25.79 GB of 70.42 GB (36.62%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
home/
yalagina/
map/
site/
sql_control/
libraries/
- drwxr-sr-x
|
Viewing file: db_links.inc.php (3.1 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package phpMyAdmin */ if (! defined('PHPMYADMIN')) { exit; }
/** * */ require_once './libraries/common.inc.php';
/** * Gets the relation settings */ $cfgRelation = PMA_getRelationsParam();
/** * If coming from a Show MySQL link on the home page, * put something in $sub_part */ if (empty($sub_part)) { $sub_part = '_structure'; }
/** * Checks for superuser privileges */ $is_superuser = PMA_isSuperuser();
/** * Prepares links */
/** * export, search and qbe links if there is at least one table */ if ($num_tables == 0) { $tab_qbe['warning'] = __('Database seems to be empty!'); $tab_search['warning'] = __('Database seems to be empty!'); $tab_export['warning'] = __('Database seems to be empty!'); }
$tab_structure['link'] = 'db_structure.php'; $tab_structure['text'] = __('Structure'); $tab_structure['icon'] = 'b_props.png';
$tab_sql['link'] = 'db_sql.php'; $tab_sql['args']['db_query_force'] = 1; $tab_sql['text'] = __('SQL'); $tab_sql['icon'] = 'b_sql.png';
$tab_export['text'] = __('Export'); $tab_export['icon'] = 'b_export.png'; $tab_export['link'] = 'db_export.php';
$tab_search['text'] = __('Search'); $tab_search['icon'] = 'b_search.png'; $tab_search['link'] = 'db_search.php';
if(PMA_Tracker::isActive()) { $tab_tracking['text'] = __('Tracking'); $tab_tracking['icon'] = 'eye.png'; $tab_tracking['link'] = 'db_tracking.php'; }
$tab_qbe['text'] = __('Query'); $tab_qbe['icon'] = 's_db.png'; $tab_qbe['link'] = 'db_qbe.php';
if ($cfgRelation['designerwork']) { $tab_designer['text'] = __('Designer'); $tab_designer['icon'] = 'b_relations.png'; $tab_designer['link'] = 'pmd_general.php'; }
if (! $db_is_information_schema) { $tab_import['link'] = 'db_import.php'; $tab_import['text'] = __('Import'); $tab_import['icon'] = 'b_import.png'; $tab_operation['link'] = 'db_operations.php'; $tab_operation['text'] = __('Operations'); $tab_operation['icon'] = 'b_tblops.png'; if ($is_superuser) { $tab_privileges['link'] = 'server_privileges.php'; $tab_privileges['args']['checkprivs'] = $db; // stay on database view $tab_privileges['args']['viewing_mode'] = 'db'; $tab_privileges['text'] = __('Privileges'); $tab_privileges['icon'] = 's_rights.png'; } }
/** * Displays tab links */ $tabs = array(); $tabs[] =& $tab_structure; $tabs[] =& $tab_sql; $tabs[] =& $tab_search; $tabs[] =& $tab_qbe; $tabs[] =& $tab_export; if (! $db_is_information_schema) { $tabs[] =& $tab_import; $tabs[] =& $tab_operation; if ($is_superuser) { $tabs[] =& $tab_privileges; } } if (PMA_Tracker::isActive()) { $tabs[] =& $tab_tracking; } if (! $db_is_information_schema) { if ($cfgRelation['designerwork']) { $tabs[] =& $tab_designer; } }
$url_params['db'] = $db;
echo PMA_generate_html_tabs($tabs, $url_params); unset($tabs);
/** * Displays a message */ if (!empty($message)) { PMA_showMessage($message); unset($message); } ?>
|