if (!isset($_POST["p_$B".'_count'])) { $Paranoia[] = $B.'_count'; } if (!isset($_POST["p_$B".'_bounty'])) { $Paranoia[] = $B.'_bounty'; } } if (!isset($_POST['p_donor_heart'])) { $Paranoia[] = 'hide_donor_heart'; } if (isset($_POST['p_donor_stats'])) { Donations::show_stats($UserID); } else { Donations::hide_stats($UserID); } // End building $Paranoia // Email change $DB->query(" SELECT Email FROM users_main WHERE ID = $UserID"); list($CurEmail) = $DB->next_record(); if ($CurEmail != $_POST['email']) { if (!check_perms('users_edit_profiles')) { // Non-admins have to authenticate to change email $DB->query(" SELECT PassHash, Secret