case "Disconnect": $my_array['UserToolsTitle'] = $UserToolsMsg95; break; } //REBUILD -------------------------- if ($action == "Rebuild") { if (!isset($_POST['char']) || empty($_POST['char'])) { $my_array['UserToolsContent'] = $ut->ShowRebuildForm($db, $acc); } else { if ($_POST['rbdType'] == "stats") { if (isset($UserToolsRebuildStats) && $UserToolsRebuildStats === true) { $my_array['UserToolsContent'] = $ut->DoStatsRebuild($db, $acc, $_POST['char']); } } elseif ($_POST['rbdType'] == "tree") { if (isset($UserToolsRebuildTree) && $UserToolsRebuildTree === true) { $my_array['UserToolsContent'] = $ut->DoTreeRebuild($db, $acc, $_POST['char']); } } else { $my_array['UserToolsContent'] = "Error"; } } } //--------------------------------- //MASTER RESET -------------------- if ($action == "MasterReset") { if (!isset($_POST['char']) || empty($_POST['char'])) { $my_array['UserToolsContent'] = $ut->ShowMRForm($db, $acc); } else { if (isset($_POST['MRtype'])) { $type = $_POST['MRtype']; } else {