\n";
// Display all the table links
echo "
Tables
\n";
$tables = getTabNames();
foreach ($tables as $t) {
//if ($i++ > 7) { echo "\n
"; $i = 1; }
echo "$t ";
}
echo "\n\n";
if(isset($_REQUEST['tab'])) { $tab = $_REQUEST['tab']; }
else { $tab = "nodelist"; }
//$p = "edittab.php?tab=$tab";
echo "Loading $tab ...
\n";
//echo "\n";
echo "\n";
insertFooter();
//-----------------------------------------------------------------------------
// Return the list of database table names
function getTabNames() {
$xml = docmd('tabdump','',NULL);
$tabs = array();
foreach ($xml->children() as $response) foreach ($response->children() as $t) { $tabs[] = (string) $t; }
return $tabs;
}
?>