include(SERVER_ROOT.'/sections/staffpm/functions.php'); View::show_header('Staff PMs', 'staffpm'); // Get messages $StaffPMs = $DB->query(" SELECT ID, Subject, UserID, Status, Level, AssignedToUser, Date, Unread FROM staff_pm_conversations WHERE UserID = ".$LoggedUser['ID']." ORDER BY Status, Date DESC" ); // Start page ?>