} else { $savedetails = false; $showindex = false; $userdata['password'] = NULL; show_msg(translate('Your passwords do not match.', sz_config('language'))); userForm($userdata); } } } if ($savedetails == true) { saveUser($userdata); $showindex = true; } } else { show_msg(translate('You must provide the correct information when changing your details.', sz_config('language'))); } } elseif (isset($_GET['user']) && $_GET['user'] == 'hidehelp' && $userid != 0) { $user->disable_help(); $showindex = true; } elseif (isset($_GET['user']) && $_GET['user'] == 'showhelp' && $userid != 0) { $user->enable_help(); $showindex = true; } elseif (isset($_GET['user']) && $_GET['user'] == 'edit' && $userid != 0) { $showindex = false; $userdata['id'] = $userid; userForm($userdata); } if ($showindex == true && $userid != 0) { $user->display_profile(); } include_once 'themes/' . sz_config('theme') . '/footer.php';