isadmin() && !$thismember->ismoderator()) dienicely("You have attempted to use the contact reply form when you do not have proper authorization. The form is intended for use by administrators and moderators only."); if ($filled) { if ($fromemail) $adminemail = $fromemail; if (!$adminemail) $adminemail = $settings->email; if ($toemail) sendemail(trim($toemail), $_POST['subject'], $message, 'From: '. $adminemail); header('Location: '. str_replace('&', '&', $_POST['returntopage'])); die('