' . __('No tables found in database.') . '

' . "\n"; if (empty($db_is_information_schema)) { include 'libraries/display_create_table.lib.php'; } // Display the footer include 'libraries/footer.inc.php'; exit; } // --------------------------------------------------------------------------- // Prepare statement to get HEAD version $all_tables_query = ' SELECT table_name, MAX(version) as version FROM ' . PMA_backquote($GLOBALS['cfg']['Server']['pmadb']) . '.' . PMA_backquote($GLOBALS['cfg']['Server']['tracking']) . ' WHERE db_name = \'' . PMA_sqlAddSlashes($_REQUEST['db']) . '\' ' . ' GROUP BY table_name' . ' ORDER BY table_name ASC'; $all_tables_result = PMA_query_as_controluser($all_tables_query); // If a HEAD version exists if (PMA_DBI_num_rows($all_tables_result) > 0) { ?>

href="" > | |
$value) { // If $value is a table group. if (array_key_exists(('is' . $sep . 'group'), $value) && $value['is' . $sep . 'group']) { foreach ($value as $temp_table) { // If $temp_table is a table with the value for 'Name' is set, // rather than a propery of the table group. if (is_array($temp_table) && array_key_exists('Name', $temp_table)) { if (PMA_Tracker::getVersion($GLOBALS['db'], $temp_table['Name']) == -1) { $my_tables[] = $temp_table['Name']; } } } // If $value is a table. } else { if (PMA_Tracker::getVersion($GLOBALS['db'], $value['Name']) == -1) { $my_tables[] = $value['Name']; } } } // If untracked tables exist if (isset($my_tables)) { ?>

$tablename) { if (PMA_Tracker::getVersion($GLOBALS['db'], $tablename) == -1) { $my_link = ''; $my_link .= PMA_getIcon('eye.png', __('Track table')) . ''; ?>
0) { $log = ''; foreach ($data['ddlog'] as $entry) { $log .= '# ' . $entry['date'] . ' ' . $entry['username'] . "\n" . $entry['statement'] . "\n"; } echo PMA_getMessage(__('Database Log'), $log); } /** * Display the footer */ require 'libraries/footer.inc.php'; ?>