} 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 { $my_array['UserToolsContent'] = $ut->DoRename($db, $acc, $_POST['char'], $_POST['newName']); } } //-------------------------------- //MOVE CHAR ---------------------- if ($action == "MoveChar") { if (!isset($_POST['char']) || empty($_POST['char'])) { $my_array['UserToolsContent'] = $ut->ShowMoveCharForm($db, $acc); } else { $my_array['UserToolsContent'] = $ut->DoMoveChar($db, $acc, $_POST['char']); } } //-------------------------------- //RESET TRANSFER ----------------- if ($action == "ResetTransfer") { if ((!isset($_POST['char1']) || empty($_POST['char1'])) && (!isset($_POST['char2']) || empty($_POST['char2']))) {