0) { $max = $GLOBALS['cfg']['LeftFrameTableLevel']; $temp_table = $_table; $new_table = array(); $last_index = 0; for ($ti = 0; $ti < $max; $ti++) { if (isset($temp_table[$ti])) { $new_table[$ti] = $temp_table[$ti]; unset($temp_table[$ti]); $last_index = $ti; } } $_table = $new_table; } return $_table; } function PMA_indent($spaces) { $string = ''; for ($i = 0; $i <= $spaces; $i++) { $string .= ' '; } return $string; } function PMA_nestedSetHeaderParent($baseid, $key, $keyhistory, $indent, $indent_level, $val, $childout = true) { $name = $key; $id = preg_replace('@[^a-z0-9]*@i', '', $baseid . $keyhistory . $key) . $indent; $on_mouse = (($GLOBALS['cfg']['LeftPointerColor'] == '') ? '' : ' onmouseover="if (isDOM || isIE4) {hilightBase(\'el' . $id . '\', \'' . $GLOBALS['cfg']['LeftPointerColor'] . '\')}" onmouseout="if (isDOM || isIE4) {hilightBase(\'el' . $id . '\', \'' . $GLOBALS['cfg']['LeftBgColor'] . '\')}"'); $countarray = $val; if (count($countarray) == 2 && isset($countarray['pma_name']) && isset($countarray['pma_list_item'])) { $counter = count($countarray['pma_name']); } else { unset($countarray['pma_name']); if (count($countarray) > 1) { unset($countarray['pma_list_item']); } $counter = count($countarray); } echo "\n"; echo PMA_indent($indent * 5) . '
' . $strNoDatabases . '
'; } // end if ($num_dbs == 0) echo "\n"; ?>