Jump to content

stifler13371

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by stifler13371

  1. <?php $count = 8; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table width="1500" border="1" cellspacing="2" cellpadding="2"> <tdead> <tr class="recent"> <td><strong>Flight No</strong></td> <td><strong>Departure</strong></td> <td><strong>Arrival</strong></td> <td><strong>Duration</strong></td> <td><strong>Pilot</strong></td> <th>Landing Rate</strong></th> <td><strong>Status</strong></td> </tr> </tdead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); } ?> <tr> <td><a href="<?php echo url('/pireps/viewreport/'.$pirep->pirepid);?>"> <?php echo $pirep->code.$pirep->flightnum; ?></a> </td> <td><?php echo $pirep->depicao; ?></td> <td><?php echo $pirep->arricao; ?></td> <td><?php echo $pirep->flighttime; ?></td> <td><a href="<?php echo url('/profile/view/'.$pirep->pilotid);?>"> <?php echo $pilotinfo->firstname.' '.$pilotinfo->lastname; ?></a> <td><?php echo $pirep->landingrate; ?></td> <td><?php if($pirep->accepted == PIREP_ACCEPTED) echo '<span style="color:#347C17"><strong>Accepted</strong></span>'; elseif($pirep->accepted == PIREP_REJECTED) echo '<span style="color:#FF0000"><strong>Rejected</strong></span>'; elseif($pirep->accepted == PIREP_PENDING) echo '<span style="color:#E56717"><strong>Approval Pending</strong></span>'; elseif($pirep->accepted == PIREP_INPROGRESS) echo '<span style="color:#whatever">Flight in Progress</span>'; ?> </td> </tr> <?php }} else { echo '<tr><td>There are no recent flights!</td></tr>'; } ?> </tbody> </table> </div> <hr /> This is what im using on the VA im working with
  2. im also quite intressted send me a DM with some info
  3. don't work for me, once installed my website just goes blank and nothing but once deleted again then website works... anyone knows how to fix?
  4. and now when thats sorted out... i can't submit a pirep when i do it on smartcars it wont show up on website and if i do it manually on the site i get this There was an error adding your PIREP : Schedule does not exist. Please update this manually. and it does 100% exist
  5. Hello when i try to import schedules i get this error on most of them... BAW0039 was not added, reason: Data too long for column 'daysofweek' at row 1 anyone know how to fix?
  6. Same here shows On leave, and does phpvms 5 auto deleted pilots after a certain time?
  7. just a question, is it only me or is the /profile/view not working or is it under development?
  8. When i install it and then choose it in general settings i get this https://gyazo.com/23d094c75141378c287e1aa410cafd4c
×
×
  • Create New...