Thank you very mach, I have made this code
Add this on top of (pilot_public_profile.tpl)
<?php
$last_location = PIREPData::getLastReports($userinfo->pilotid, 1, PIREP_ACCEPTED);
$airport_info = OperationsData::GetAirportInfo($location);
$airportname = $airport_info->name;
$report = PIREPData::GetLastReports($pilot->pilotid, 1);
?>
This code add in public profile
<li><strong>Last Flight: </strong><?php echo $last_location->code . $last_location->flightnum; ?>(<?php echo $last_location->submitdate; ?>)</li>