Jump to content

CascadeAirwaysVirtual

Members
  • Posts

    8
  • Joined

  • Last visited

CascadeAirwaysVirtual's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi There! I installed Lance on Merlion Virtual Airlines (flymerlion.org), but unfortunately the pilot list is broken. I know it's to do with wrong variables due to this skin -- could someone please edit the variables in this code (pilots_list.tpl) to the correct ones? thanks! <?php if(!$pilot_list) { echo 'There are no pilots!'; return; } ?> <style> .borders{ margin-left: 100px; margin-right:100px; } </style> <div class="borders"> <h3><?php echo $title?></h3> <table class="table"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <tbody> <?php foreach($pilot_list as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <?php } ?> </tbody> </table> </div>
  2. Seems like my friend fixed it; don't know what he did! It was simply that you couldn't input news because the news box gave a page can't be displayed error. Solved now
  3. Sorry, its cascadeairwaysvirtual.tk Sorry about that.
  4. Hi there! For some reason, I always get a page not displayed whenever I try to post news. The link in PND thing is //ieframe.dll/dnserrordiagoff.htm# which doesn't look right to me. Any help? cascadevirtualairways.tk
  5. This looks great. If it is released free, I am interested in it. Thanks
  6. Is it possible to add them in manually by typing in the information? My airline seems to have this bug, and our File Manager says that the file is in UFT-8 format and cannot be edited.
×
×
  • Create New...