if (empty($Return)) { $ToID = $_GET['to']; if ($ToID == $LoggedUser['ID']) { error('You cannot start a conversation with yourself!'); header('Location: ' . Inbox::get_inbox_link()); } } if (!$ToID || !is_number($ToID)) { error(404); } if (!empty($LoggedUser['DisablePM']) && !isset($StaffIDs[$ToID])) { error(403); } $DB->query(" SELECT Username FROM users_main WHERE ID='$ToID'"); list($Username) = $DB->next_record(); if (!$Username) { error(404); } View::show_header('Compose', 'inbox,bbcode,jquery,jquery.validate,form_validate'); ?>