예제 #1
0
                 $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 {
             $type = 1;
         }
         $my_array['UserToolsContent'] = $ut->DoMR($db, $acc, $_POST['char'], $type);
     }
 }
 //---------------------------------
 //RENAME --------------------------
 if ($action == "Rename") {
     if (!isset($_POST['char']) || empty($_POST['char'])) {
         $my_array['UserToolsContent'] = $ut->ShowRenameForm($db, $acc);
     } else {