Thank you very much!! I needed that to admin pireps page, I wrote the code in pirep_viewreport.tpl, and in pireps_list.tpl to admin staff (accept, reject,...)
In pireps_list.tpl its:
<td><strong>Flight Time: </strong> <?php echo $pirep->flighttime_stamp; ?></td>
<td><strong>Distance: </strong><?php echo $pirep->distance; ?> </td>
<td><strong>Landing Rate: </strong><?php echo $pirep->landingrate; ?> </td>
</tr>
<tr>
<td><strong>Rank Control: </strong>
<?php $acinfo=(OperationsData::getAircraftByReg($pirep->registration));
$acrankname=RanksData::GetRankInfo($acinfo->minrank);
$pilotInfo= PilotData::getPilotData($pirep->pilotid);
$pilotrank=$pilotInfo->rank ;
echo "Min rank for ",$pirep->aircraft," is ",$acrankname->rank," <br /> Pilots Rank is ",$pilotrank ;?></td>
</tr>
<tr>
<td colspan="5"><strong>Route: </strong><?php echo $pirep->route;?>