wwwroot); } if (empty($CFG->messaging)) { error("Messaging is disabled on this site"); } /// Script parameters $userid = required_param('id', PARAM_INT); /// Check the user we are talking to is valid if (! $user = get_record('user', 'id', $userid)) { error("User ID was incorrect"); } /// Select encoding $encoding = current_charset(); /// Print frameset to contain all the various panes ?>