if ($GLOBALS['text_dir'] === 'ltr') { echo ' <bdo dir="ltr">(' . PMA_getTableCount($GLOBALS['db']) . ')</bdo> '; } echo '</a></h5>'; $table_list = PMA_getTableList($GLOBALS['db']); if (count($table_list) > 0) { PMA_displayTableList($table_list, true, '', $GLOBALS['db']); } else { echo $GLOBALS['strNoTablesFound']; } unset($table_list); } elseif ($GLOBALS['cfg']['LeftFrameLight']) { echo '<p>' . $GLOBALS['strSelectADb'] . '</p>' . "\n"; } else { $common_url_query = PMA_generate_common_url(); PMA_displayDbList($GLOBALS['PMA_List_Database']->getGroupedDetails()); } /** * displays collapsable db list * * @uses $_REQUEST['dbgroup'] * @uses $GLOBALS['cfg']['DefaultTabDatabase'] * @uses $GLOBALS['strSelectADb'] * @uses strpos() * @uses urlencode() * @uses printf() * @uses htmlspecialchars() * @uses PMA_generate_common_url() * @uses PMA_getTableList() * @uses PMA_displayTableList() * @global $element_counter
if ($GLOBALS['text_dir'] === 'ltr') { echo ' <bdo dir="ltr">(' . PMA_getTableCount($db) . ')</bdo> '; } echo '</a></p>'; $table_list = PMA_getTableList($db); if (count($table_list) > 0) { PMA_displayTableList($table_list, true, '', $db); } else { echo $strNoTablesFound; } unset($table_list); } elseif ($GLOBALS['cfg']['LeftFrameLight']) { echo '<p>' . $GLOBALS['strSelectADb'] . '</p>' . "\n"; } else { $common_url_query = PMA_generate_common_url(); PMA_displayDbList(PMA_getDbList()); } /** * displays collapsable db list * * @uses $_REQUEST['dbgroup'] * @uses $GLOBALS['cfg']['DefaultTabDatabase'] * @uses $GLOBALS['strSelectADb'] * @uses strpos() * @uses urlencode() * @uses printf() * @uses htmlspecialchars() * @uses PMA_generate_common_url() * @uses PMA_getTableList() * @uses PMA_displayTableList() * @global $element_counter
if (count($table_list) <= $GLOBALS['cfg']['MaxTableList'] && $table_count > $GLOBALS['cfg']['MaxTableList']) { PMA_listNavigator($table_count, $tpos, $_url_params, 'navigation.php', 'frame_navigation', $GLOBALS['cfg']['MaxTableList']); } } else { echo $GLOBALS['strNoTablesFound']; } unset($table_list); } elseif ($GLOBALS['cfg']['LeftFrameLight']) { echo '<p>' . $GLOBALS['strSelectADb'] . '</p>' . "\n"; } else { echo '<div id="databaseList">' . "\n"; $_url_params = array('pos' => $pos); PMA_listNavigator(count($GLOBALS['pma']->databases), $pos, $_url_params, 'navigation.php', 'frame_navigation', $GLOBALS['cfg']['MaxDbList']); echo '</div>' . "\n"; $common_url_query = PMA_generate_common_url(); PMA_displayDbList($GLOBALS['pma']->databases->getGroupedDetails($_SESSION['tmp_user_values']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']), $_SESSION['tmp_user_values']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']); } /** * displays collapsable db list * * @uses $_REQUEST['dbgroup'] * @uses $GLOBALS['cfg']['DefaultTabDatabase'] * @uses $GLOBALS['strSelectADb'] * @uses strpos() * @uses urlencode() * @uses printf() * @uses htmlspecialchars() * @uses PMA_generate_common_url() * @uses PMA_getTableList() * @uses PMA_displayTableList() * @global integer $element_counter
if (count($table_list) <= $GLOBALS['cfg']['MaxTableList'] && $table_count > $GLOBALS['cfg']['MaxTableList']) { PMA_listNavigator($table_count, $tpos, $_url_params, 'navigation.php', 'frame_navigation', $GLOBALS['cfg']['MaxTableList']); } } else { echo $GLOBALS['strNoTablesFound']; } unset($table_list); } elseif ($GLOBALS['cfg']['LeftFrameLight']) { echo '<p>' . $GLOBALS['strSelectADb'] . '</p>' . "\n"; } else { echo '<div id="databaseList">' . "\n"; $_url_params = array('pos' => $pos); PMA_listNavigator($GLOBALS['PMA_List_Database']->count(), $pos, $_url_params, 'navigation.php', 'frame_navigation', $GLOBALS['cfg']['MaxDbList']); echo '</div>' . "\n"; $common_url_query = PMA_generate_common_url(); PMA_displayDbList($GLOBALS['PMA_List_Database']->getGroupedDetails($_SESSION['userconf']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']), $_SESSION['userconf']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']); } /** * displays collapsable db list * * @uses $_REQUEST['dbgroup'] * @uses $GLOBALS['cfg']['DefaultTabDatabase'] * @uses $GLOBALS['strSelectADb'] * @uses strpos() * @uses urlencode() * @uses printf() * @uses htmlspecialchars() * @uses PMA_generate_common_url() * @uses PMA_getTableList() * @uses PMA_displayTableList() * @global $element_counter