You'd want to use the PilotData::getPilotGroups(); function, which returns all the groups they're a member of, and you can change the font colour using an if statement then.
Something like:
<?php
$groups = PilotData::getPilotGroups($pilot->piloted);
if(in_array("group name",$groups){
//They are an admin
?>
<font color="red"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></font>
<?php
}
else {
echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname;
}
?>