Jump to content

sky blue 1.0.4 help


CFVA

Recommended Posts

skyBlue skin for phpvms
Version 1.0.4
phpVMS  v5.5.2
Released August 26, 2016
Updated: September 9, 2016
 

Using charter flights only in kACARS so no schedules!

 

in frontpage_reports.php in want to add a flight code prefix (CF) to the listing, but can't work it out.

 

This is the current code

 

echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td>';
 

which shows just just flight number ie 117, what I want to show is CF117

 

Any help accepted

 

Thanks

Link to comment
Share on other sites

It shouldn't be showing just 117, because the $pirep->code would show the airline the schedule has and as far as I know you must have an airline to create the schedule.

 

9 hours ago, CFVA said:

Using charter flights only in kACARS so no schedules!

Actually this might make sense. If all you want is to show CF for all PIREPS then ry this:

 

echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">CF'.$pirep->flightnum.'</a></td>';

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...