Jump to content

unitedva

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by unitedva

  1. Hello,

    I'm having a similar problem where the briefing window will open, it will load to 100%, and it will close but nothing happens. I have allow_url_fopen and allow_url_include enabled in my php.ini. Any help would be appreciated!

  2. Here is the code:

    <?php
    if($allpilots) {
    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 ($allpilots 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>
    

  3. However, now on the pilots page, is is giving an error saying "invalid argument supplied for each() in /home/www/unitedairlinesvirtual.com/lib/skins/lance/pilots_list.tpl on line 27. Also when I added a pilot to a hub, the hub would dissapear from the pilots page and wouldn't show any pilots

  4. Hello,

    I've installed the lance skin on phpvms for my virtual airline. When i go to the registration tab and try and register a new test user, the form submits, but it says that there's no pending registrations in the admin panel. Any help would be appreciated.

  5. Hi,

    I'm having issues with the site main logo and the pilot rank images. I changed the logo file name to "topbanner" like it says in the manual and it is in the lib/skins/crystal/images folder, but it is not appearing in place of the phpVMS logo. There is only a white space. Also, when I put in the link to the rank image file, the image does not appear. There is only a little icon that shows that the picture is not loading correctly. Any help would be appreciated :).

    -Colton

×
×
  • Create New...